An ex-Scottsdale police detective was sentenced to two years of supervised probation after pleading guilty to DUI and felony endangerment.