Moved AD role syncing to task