Forum Discussion
Anonymous
Jan 10, 2020Azure AD Connect: Filtering out local AD users not working
Hello, we have users in local AD that could be absent for a while and we have to disable their local AD accouns for compliance reasons. Now, due to an active Azure AD sync this will also dele...
- Jan 10, 2020
Deleted
The regular AD Connect flow is as follows:
- Disable account in AD
- Account gets disabled in AAD, like below:
If it's disabled, the Onedrive will still exist
Only if you delete the account, will the account be deleted in AzureAD.
If the account is deleted in AAD, when you disable the account in local AD. There must be some misconfiguration because that is done by design.
Anonymous
Jan 13, 2020Guys thanks for your help. I spoke to a colleague and unbeknownst to me with the disabling the OU was also changed. Can this be configured so that an OU change does not trigger a DELETION or ADD?
Thanks.
Thijs Lecomte
Jan 13, 2020Bronze Contributor
It probably means that that OU isn't sync'ed to Azure AD so you should add that in the custom filtering: https://docs.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-sync-configure-filtering#organizational-unitbased-filtering
- AnonymousJan 14, 2020
Thijs Lecomte Got it, thank you!