Home

Azure AD Connect - Refresh Directory Schema with Custom Sync Rules

%3CLINGO-SUB%20id%3D%22lingo-sub-438558%22%20slang%3D%22en-US%22%3EAzure%20AD%20Connect%20-%20Refresh%20Directory%20Schema%20with%20Custom%20Sync%20Rules%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-438558%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBackground%3A%20I%20followed%20the%20steps%20in%20this%20blog%20post%20to%20create%20custom%20sync%20rules%20that%20use%20mS-DS-ConsistencyGuid%20as%20the%20sourceAnchor%20attribute%20for%20group%20objects%20instead%20of%20objectGuid.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fblogs.technet.microsoft.com%2Fmarkrenoden%2F2017%2F10%2F13%2Fchoosing-a-sourceanchor-for-groups-in-multi-forest-sync-with-aad-connect%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fblogs.technet.microsoft.com%2Fmarkrenoden%2F2017%2F10%2F13%2Fchoosing-a-sourceanchor-for-groups-in-multi-forest-sync-with-aad-connect%2F%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EProblem%3A%20Now%20I've%20extended%20the%20Active%20Directory%20schema%20in%20one%20of%20my%20forests%2C%20and%20I%20need%20to%20run%20through%20Refresh%20Directory%20Schema%20in%20the%20Azure%20AD%20Connect%20wizard%20which%20to%20my%20understanding%20creates%2Fedits%20some%20sync%20rules.%20I%20am%20concerned%20that%20my%20custom%20sync%20rules%20will%20either%20be%20blown%20away%20or%20not%20updated%20appropriately%20for%20the%20schema%20extension.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20exactly%20happens%20when%20I%20do%20this%3F%20Does%20anyone%20know%20what%20happens%20to%20custom%20sync%20rules%20when%20refreshing%20the%20directory%20schema%20in%20Azure%20AD%20Connect%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-438558%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20AD%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EAzure%20AD%20Connect%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDirSync%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-439001%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20AD%20Connect%20-%20Refresh%20Directory%20Schema%20with%20Custom%20Sync%20Rules%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-439001%22%20slang%3D%22en-US%22%3E%3CP%3EIt%20recreates%20the%20default%20rules%20and%20it%20might%20add%20few%20more%20depending%20on%20what's%20now%20available%20in%20the%20schema.%20It%20shouldn't%20overwrite%2Fremove%20custom%20rules.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Adin Greenwald
Regular Visitor

Hello,

 

Background: I followed the steps in this blog post to create custom sync rules that use mS-DS-ConsistencyGuid as the sourceAnchor attribute for group objects instead of objectGuid.

 

https://blogs.technet.microsoft.com/markrenoden/2017/10/13/choosing-a-sourceanchor-for-groups-in-mul...

 

Problem: Now I've extended the Active Directory schema in one of my forests, and I need to run through Refresh Directory Schema in the Azure AD Connect wizard which to my understanding creates/edits some sync rules. I am concerned that my custom sync rules will either be blown away or not updated appropriately for the schema extension.

 

What exactly happens when I do this? Does anyone know what happens to custom sync rules when refreshing the directory schema in Azure AD Connect?

 

Thanks

1 Reply

It recreates the default rules and it might add few more depending on what's now available in the schema. It shouldn't overwrite/remove custom rules.

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
35 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
9 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies