Sync disabled users (shared mailboxes) to Office 365 with Azure Active Directory Sync

I often hear customers who run an onpremises Exchange 2010 or 2013 environment in Hybrid mode with Office 365 complain about their Shared Mailboxes not appearing in Office 365 when using AADSync (or AADConnect).

This is important for mail routing if they don’t exist as contacts, or if you are using Exchange Online Protection for these mailboxes.

So, two quick steps to configure AADSync to also sync disabled users to Office 365.

1.  Open the Synchronization Rules Editor on the aadsync server and edit the inbound rule called User AccountEnabled

Conns - AADSYNC01 - Royal TS_2015-05-07_14-31-53

2.  Change the scoping filter of this rule to ISNOTNULL instead of a bit operatorConns - AADSYNC01 - Royal TS_2015-05-07_14-43-47

Voila, your disabled useraccounts will now properly sync to Microsoft Office 365.

3
Leave a Reply

avatar
2 Comment threads
1 Thread replies
2 Followers
 
Most reacted comment
Hottest comment thread
3 Comment authors
JosRahulAmmar Recent comment authors

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  Subscribe  
newest oldest most voted
Notify of
Ammar
Guest
Ammar

But by default disabled accounts are synched to Azure AD using the default provision synch rule

Rahul
Guest
Rahul

How to install synchronization rule editor?