Forum Discussion
spanougakis
Apr 20, 2017MCT
How to stop disabled user accounts from syncing with Azure AD Connect
Hello again, I was experimenting these days using Azure AD Connect, the tool that let's you synchronize your on-premises AD accounts to Azure AD. So I thought: what happens when you have som...
Brian Kronberg
Jul 14, 2022Copper Contributor
spanougakis just know that when you do this you will stop syncing all your shared, room, and equipment user accounts/mailboxes. You need to sync some disabled user accounts so your query should account for those in some way. This is why people usually just exclude an OU where you move your users to exclude them from sync. A better solution, if your admin team can handle it, is to use attribute filtering so you don't need to move people between OUs to exclude them from syncing to Azure AD.
Aseem_S1450
Jul 14, 2022Copper Contributor
Brian Kronberg that’s correct! I am looking for some custom AAD rule which hide the non-exchange users from GAL instead of putting them in ‘Deleted Users’. Any suggestions?