basic sync with AD functionality