SOLVED

Problems setting up Azure AD Connect

%3CLINGO-SUB%20id%3D%22lingo-sub-268734%22%20slang%3D%22en-US%22%3EProblems%20setting%20up%20Azure%20AD%20Connect%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-268734%22%20slang%3D%22en-US%22%3E%3CP%3EHello!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIve%20recently%20installed%20Azure%20AD%20Connect%20on%20one%20of%20our%20DCs.%3C%2FP%3E%3CP%3EIve%20started%20out%20with%20an%20testing%20OU%20with%201%20user.%3C%2FP%3E%3CP%3EThis%20user%20also%20existed%20in%20Office365%2FAzureAD%20as%20%22In-cloud%22%20user.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20made%20the%20user%20a%20member%20of%20a%20group%20called%20Office365%20Sync%3C%2FP%3E%3CP%3EI%20forced%20the%20sync-%20and%20the%20user%20is%20now%20synced%20with%20on-prem%20AD%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%2C%20i%20moved%20my%20own%20account%20into%20this%20testing%20OU%2C%20made%20myself%20a%20member%20of%20%22Office365%20Sync%22%3C%2FP%3E%3CP%3EForced%20the%20sync.%3C%2FP%3E%3CP%3EMy%20In-Cloud%20account%20isnt%20being%20converted%20to%20a%20%22Synced%20with%20local%20AD%22%20account.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIve%20matched%20the%20mailattribute%20and%20proxyaddress.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20my%20first%20time%20setting%20this%20up.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBasically%2C%20the%20problem%20is%20the%20soft-matchning%2C%20i%20want%20my%20Office365%20In-cloud%20to%20become%20a%20%22Synced%20with%20local%20AD%22%20account%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-268734%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20AD%20Connect%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-269175%22%20slang%3D%22en-US%22%3ERe%3A%20Problems%20setting%20up%20Azure%20AD%20Connect%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-269175%22%20slang%3D%22en-US%22%3EYes%20exaxtly!%20It%20seems%20to%20also%20add%20the%20members%20as%20well!%3CBR%20%2F%3ECorrect%2C%20just%20edit%20out%20the%20users%20And%20contacts%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-269174%22%20slang%3D%22en-US%22%3ERe%3A%20Problems%20setting%20up%20Azure%20AD%20Connect%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-269174%22%20slang%3D%22en-US%22%3E%3CP%3EHey%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETook%20a%20look%20at%20that%20script%2C%20i%20understand%20some%20of%20it.%3C%2FP%3E%3CP%3EI%20would%20like%20to%20just%20remove%20some%20parts%20in%20order%20to%20only%20sync%20the%20groups.%3C%2FP%3E%3CP%3EFrom%20what%20i%20understood%2C%20the%20script%20is%20for%20Users%2C%20contacts%20%26amp%3B%20groups%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-269143%22%20slang%3D%22en-US%22%3ERe%3A%20Problems%20setting%20up%20Azure%20AD%20Connect%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-269143%22%20slang%3D%22en-US%22%3E%3CP%3EThere%20is%20a%20feature%20called%20group-writeback%20but%20you'll%20need%20premium%20license%20for%20that!%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHere%20you%20can%20find%20a%20script%20that%20creates%20objects%20from%20your%20365%20tenant%20in%20your%20ad!%20Needs%20a%20little%20sweaking%20though..%3C%2FP%3E%3CP%3E%3CA%20href%3D%22http%3A%2F%2Fwww.slashadmin.co.uk%2Fhow-to-sync-an-existing-office365-tenant-into-a-new-active-directory-domain-using-powershell%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fwww.slashadmin.co.uk%2Fhow-to-sync-an-existing-office365-tenant-into-a-new-active-directory-domain-using-powershell%2F%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-269131%22%20slang%3D%22en-US%22%3ERe%3A%20Problems%20setting%20up%20Azure%20AD%20Connect%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-269131%22%20slang%3D%22en-US%22%3E%3CP%3EAs%20of%20right%20now%20its%20working%20really%20good.%3C%2FP%3E%3CP%3EHowever%2C%20in-cloud%20we%20have%20alot%20of%20distribution%20groups.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20a%20quick%20way%20to%20export-%20then%20import%20these%20groups%2C%20with%20the%20members%20to%20the%20local%20AD%3F%3C%2FP%3E%3CP%3EThen%20use%20Hard%2Fsoftmatch%20to%20pair%20them%20together%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-269129%22%20slang%3D%22en-US%22%3ERe%3A%20Problems%20setting%20up%20Azure%20AD%20Connect%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-269129%22%20slang%3D%22en-US%22%3EI%20haven't%20tried%20doing%20it%20the%20way%20you%20are%20going%20about%20it%2C%20but%20is%20the%20ImmutableID%20now%20present%20on%20both%20on-prem%20and%20cloud%20identity%3F%20If%20that's%20the%20case%2C%20you%20should%20be%20able%20to%20change%20SMTP-address%20locally%20and%20it%20would%20sync%20to%20the%20cloud.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-269111%22%20slang%3D%22en-US%22%3ERe%3A%20Problems%20setting%20up%20Azure%20AD%20Connect%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-269111%22%20slang%3D%22en-US%22%3E%3CP%3EHey!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20went%20great%2C%20now%20it%20syncs%20like%20it%20should.%3C%2FP%3E%3CP%3EI%20have%20some%20questions%20though.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20order%20to%20change%20a%20persons%20SMTP-address%2C%20is%20it%20by%20default%20the%20ProxyAddresses%20attribute-%20or%20do%20i%20have%20to%20configure%20Azure%20AD%20Connect%20to%20sync%20that%20attribute%20aswell%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWith%20the%20express%20settings%2C%20is%20it%20using%20hard-%20or%20softmatch%3F%3C%2FP%3E%3CP%3EAs%20i%20have%20around%2080%20other%20users%20to%20convert%20from%20in-cloud%20to%20%22Synced%20with%20local%20AD%22%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-269105%22%20slang%3D%22en-US%22%3ERe%3A%20Problems%20setting%20up%20Azure%20AD%20Connect%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-269105%22%20slang%3D%22en-US%22%3EGreat!%20Let%20us%20know%20how%20it%20goes!!%3CBR%20%2F%3E%3CBR%20%2F%3EAdam%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-269104%22%20slang%3D%22en-US%22%3ERe%3A%20Problems%20setting%20up%20Azure%20AD%20Connect%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-269104%22%20slang%3D%22en-US%22%3E%3CP%3EHey%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIm%20currently%20installing%20it%20with%20express%20settings%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3CP%3EFor%20starters%20i%20want%20to%20define%20which%20users%20by%20a%20group%20that%20get%20synced.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESince%20this%20is%20just%20a%20testing-phase.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAppreciate%20all%20the%20help%20im%20getting%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-269101%22%20slang%3D%22en-US%22%3ERe%3A%20Problems%20setting%20up%20Azure%20AD%20Connect%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-269101%22%20slang%3D%22en-US%22%3EI%E2%80%99d%20redo%20it%20with%20express%20settings%20which%20works%20fine%20in%20most%20scenarios!%20You%20can%20always%20configure%20additional%20settings%20after!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-269100%22%20slang%3D%22en-US%22%3ERe%3A%20Problems%20setting%20up%20Azure%20AD%20Connect%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-269100%22%20slang%3D%22en-US%22%3E%3CP%3EHello!%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EThanks%20for%20all%20the%20replys.%3C%2FP%3E%3CP%3EDo%20you%20think%20it%20would%20be%20easier%20for%20me%20to%20just%20reinstall%20Azure%20AD%20Connect%2C%20but%20just%20use%20express%20settings%3F%3C%2FP%3E%3CP%3EIf%20i%20understood%20this%20correct%2C%20it%20goes%20for%20ImmutableID%20first%2C%20if%20ImmutableID%20doesnt%20match%20it%20just%20stops%3F%3C%2FP%3E%3CP%3EBut%20if%20immutableID%20is%20empty-%20it%20checks%20for%20a%20soft-match%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20OU%20im%20syncing%20has%203%20accounts.%3C%2FP%3E%3CP%3EAccount%20A%20-%20This%20account%20actually%20got%20synced%20to%20Office365%3C%2FP%3E%3CP%3EAccount%20B%20-%20Does%20not%20get%20synced%20to%20O365%3C%2FP%3E%3CP%3EAccount%20C%20-%20Does%20not%20get%20synced%20to%20O365%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAll%203%20accounts%20has%20In-Cloud%20accounts%20in%20O365%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-268947%22%20slang%3D%22en-US%22%3ERe%3A%20Problems%20setting%20up%20Azure%20AD%20Connect%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-268947%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20need%20to%20look%20at%20the%20Export%20flows.%20In%20general%2C%20the%20question%20you%20need%20to%20answer%20here%20is%20whether%20you%20see%20a%20new%2Fduplicate%20account%20provisioned%20for%20the%20same%20user%20in%20O365%3F%20And%2C%20whether%20there%20are%20%22quarantined%22%20objects%20due%20to%20the%20duplicate%20attribute%20resiliency%20feature%3A%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fhybrid%2Fhow-to-connect-syncservice-duplicate-attribute-resiliency%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fhybrid%2Fhow-to-connect-syncservice-duplicate-attribute-resiliency%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20general%20info%2C%20objects%20are%20being%20matched%20between%20AD%20and%20AAD%20on%20objectGUID%20first%2C%20and%20if%20that%20fails%20on%20the%20PrimarySMTPAddress%20(so-called%20%3CA%20href%3D%22http%3A%2F%2Fblogs.technet.com%2Fb%2Fpraveenkumar%2Farchive%2F2014%2F04%2F12%2Fhow-to-do-hard-match-in-dirsync.aspx%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehard-match%3C%2FA%3E%20and%20%3CA%20href%3D%22http%3A%2F%2Fsupport.microsoft.com%2Fkb%2F2641663%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Esoft-match%3C%2FA%3E%20mechanisms).%20The%20later%20will%20only%20work%20if%20the%20ImmutableID%20is%26nbsp%3Bempty.%26nbsp%3BNeither%20one%20will%20work%20if%20there%20are%20errors%2Fquarantined%20object%20due%20to%20duplicate%20attributes.%26nbsp%3BMatching%20UPNs%20will%20not%20%22link%22%20the%20two%20objects%2C%20but%20you%20can%20force%20the%20matching%20process%20using%20the%20articles%20I%20linked%20to%20above.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOne%20other%20thing%2C%20you%20should%20not%20mess%20with%20the%20objectIdentifier%2FsourceAnchor%2C%20unless%20you%20have%20some%20specific%20configurations%20in%20place.%20It's%20not%20clear%20to%20me%20why%20you%20have%20chosen%20to%20use%20the%20mail%20attribute%20and%20not%20leave%20the%20default.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-268812%22%20slang%3D%22en-US%22%3ERe%3A%20Problems%20setting%20up%20Azure%20AD%20Connect%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-268812%22%20slang%3D%22en-US%22%3E%3CP%3EHey!%3C%2FP%3E%3CP%3EI%20ran%20a%20Start-AdSyncSyncCycle%20-PolicyType%20Initial%3CBR%20%2F%3EChecked%20the%20logs%2C%20however%2C%20i%20dont%20see%20any%20errors.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EOnly%20thing%20i%20see%20is%20%22Connectors%20with%20flow%20updates%22%3C%2FP%3E%3CP%3ECheck%20the%20print.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20went%20through%20all%20the%20logs.%3CBR%20%2F%3ENo%20errors%20from%20what%20i%20could%20see.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-268806%22%20slang%3D%22en-US%22%3ERe%3A%20Problems%20setting%20up%20Azure%20AD%20Connect%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-268806%22%20slang%3D%22en-US%22%3EWhat%20happens%20during%20sync%3F%20Is%20the%20ad%20user%20created%20as%20a%20second%20account%20or%20nothing%20happens%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-268805%22%20slang%3D%22en-US%22%3ERe%3A%20Problems%20setting%20up%20Azure%20AD%20Connect%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-268805%22%20slang%3D%22en-US%22%3E%3CP%3EHey%20Martin%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThat%20sounds%20correct%20and%20fine.%20Can%20you%20take%20a%20look%20at%20the%20logs%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20article%20shows%20exactly%20where%20you%20need%20to%20go%20-%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fhybrid%2Ftshoot-connect-object-not-syncing%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fhybrid%2Ftshoot-connect-object-not-syncing%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFind%20the%20connector%20you%20have%20setup%2C%20and%20the%20update%20that%20is%20syncing%20your%20objects%20(a%20new%20full%20one%20should%20show%20two)%2C%20and%20look%20for%20any%20errors%20there.%20If%20you%20look%20at%20the%20first%20SS%20on%20that%20doc%2C%20they%20have%20selected%20a%20connector%2C%20and%20then%20a%20task%20(in%20this%20case%20updates%2C%20but%20you%20may%20be%20adds%20on%20a%20full%20sync)%2C%20then%20the%20errors%20should%20show%20in%20the%20bottom%20right.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThat%20is%20your%20next%20step%20to%20figure%20out%20what%20is%20going%20wrong.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20want%2C%20you%20can%20come%20back%20with%20screenshots%20or%20the%20error%20and%20we%20would%20be%20happy%20to%20help.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EAdam%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-268802%22%20slang%3D%22en-US%22%3ERe%3A%20Problems%20setting%20up%20Azure%20AD%20Connect%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-268802%22%20slang%3D%22en-US%22%3EHey%20Adam!%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20tried%20both%3CBR%20%2F%3EStart-AdSyncSyncCycle%20-Policytype%20Initial%3CBR%20%2F%3EStart-AdSyncSyncCycle%20-Policytype%20Delta%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20not%20changed%20the%20default%20source%20anchor%2C%20from%20what%20i%20know%20atleast%2C%20is%20there%20any%20way%20to%20check%20this%3F%3CBR%20%2F%3E%3CBR%20%2F%3EDuring%20the%20setup%2C%20i%20choose.%3CBR%20%2F%3E%3CBR%20%2F%3E%22Uniquely%20identifying%20your%20users%3CBR%20%2F%3E%E2%80%A2%20User%20identities%20exist%20across%20multiple%20directories.%20Match%20using%3A%3CBR%20%2F%3E%E2%80%A2Mail%20attribute%3CBR%20%2F%3E%3CBR%20%2F%3ESelect%20how%20users%20should%20be%20identified%20with%20Azure%20AD%3CBR%20%2F%3E%E2%80%A2%20Let%20Azure%20manage%20the%20source%20anchor%22%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-268797%22%20slang%3D%22en-US%22%3ERe%3A%20Problems%20setting%20up%20Azure%20AD%20Connect%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-268797%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20default%20value%20that%20syncs%20an%20account%20in%20the%20cloud%20to%20an%20account%20in%20your%20AD%20is%20your%20email%20address.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20you%20setup%20AADC%20you%20have%20to%20option%20to%20change%20your%20%22source%20anchor%22%20which%20is%20what%20would%20be%20used%20to%20identify%20accounts%2C%20but%20that%20should%20not%20change%20the%20original%20matching.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDid%20you%20do%20a%20full%20sync%20or%20a%20delta%20sync%3F%20Make%20sure%20you%20try%20a%20full%20sync%2C%20then%20look%20at%20the%20logs%20to%20ensure%20it%20is%20syncing%20two%20objects.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EStart-AdSyncSyncCycle%20-Policytype%20Full%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAdam%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-268776%22%20slang%3D%22en-US%22%3ERe%3A%20Problems%20setting%20up%20Azure%20AD%20Connect%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-268776%22%20slang%3D%22en-US%22%3E%3CP%3EHey%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYes%20thats%20correct.%3C%2FP%3E%3CP%3EUPN%20in%20AD%20matches%20the%20UPN%20in%20AzureAD%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-268766%22%20slang%3D%22en-US%22%3ERe%3A%20Problems%20setting%20up%20Azure%20AD%20Connect%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-268766%22%20slang%3D%22en-US%22%3EUPN%20is%20set%20as%20well%20on%20premises%20%2C%20to%20match%20the%20Domain%20in%20365%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1414024%22%20slang%3D%22de-DE%22%3ERe%3A%20Problems%20setting%20up%20Azure%20AD%20Connect%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1414024%22%20slang%3D%22de-DE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F225247%22%20target%3D%22_blank%22%3E%40Martin%20Andersson%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESame%20here%20-%20same%20helped%20%3B)%3C%2Fimg%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EU%20make%20my%20day%20.%20.%20%3AD%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

Hello!

 

Ive recently installed Azure AD Connect on one of our DCs.

Ive started out with an testing OU with 1 user.

This user also existed in Office365/AzureAD as "In-cloud" user.

 

I made the user a member of a group called Office365 Sync

I forced the sync- and the user is now synced with on-prem AD

 

However, i moved my own account into this testing OU, made myself a member of "Office365 Sync"

Forced the sync.

My In-Cloud account isnt being converted to a "Synced with local AD" account.

 

Ive matched the mailattribute and proxyaddress.

 

This is my first time setting this up.

 

Basically, the problem is the soft-matchning, i want my Office365 In-cloud to become a "Synced with local AD" account

19 Replies
Highlighted
UPN is set as well on premises , to match the Domain in 365?
Highlighted

Hey,

 

Yes thats correct.

UPN in AD matches the UPN in AzureAD

 

 

Highlighted

The default value that syncs an account in the cloud to an account in your AD is your email address.

 

When you setup AADC you have to option to change your "source anchor" which is what would be used to identify accounts, but that should not change the original matching.

 

Did you do a full sync or a delta sync? Make sure you try a full sync, then look at the logs to ensure it is syncing two objects.


Start-AdSyncSyncCycle -Policytype Full

 

Adam

Highlighted
Hey Adam!

I have tried both
Start-AdSyncSyncCycle -Policytype Initial
Start-AdSyncSyncCycle -Policytype Delta

I have not changed the default source anchor, from what i know atleast, is there any way to check this?

During the setup, i choose.

"Uniquely identifying your users
• User identities exist across multiple directories. Match using:
•Mail attribute

Select how users should be identified with Azure AD
• Let Azure manage the source anchor"

Highlighted

Hey Martin,

 

That sounds correct and fine. Can you take a look at the logs?

 

This article shows exactly where you need to go - https://docs.microsoft.com/en-us/azure/active-directory/hybrid/tshoot-connect-object-not-syncing

 

Find the connector you have setup, and the update that is syncing your objects (a new full one should show two), and look for any errors there. If you look at the first SS on that doc, they have selected a connector, and then a task (in this case updates, but you may be adds on a full sync), then the errors should show in the bottom right.

 

That is your next step to figure out what is going wrong.

 

If you want, you can come back with screenshots or the error and we would be happy to help.


Adam

Highlighted
What happens during sync? Is the ad user created as a second account or nothing happens?
Highlighted

Hey!

I ran a Start-AdSyncSyncCycle -PolicyType Initial
Checked the logs, however, i dont see any errors.


Only thing i see is "Connectors with flow updates"

Check the print.

 

I went through all the logs.
No errors from what i could see.

Highlighted
Best Response confirmed by Martin Andersson (Occasional Contributor)
Solution

You need to look at the Export flows. In general, the question you need to answer here is whether you see a new/duplicate account provisioned for the same user in O365? And, whether there are "quarantined" objects due to the duplicate attribute resiliency feature: https://docs.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-syncservice-duplicate-...

 

For general info, objects are being matched between AD and AAD on objectGUID first, and if that fails on the PrimarySMTPAddress (so-called hard-match and soft-match mechanisms). The later will only work if the ImmutableID is empty. Neither one will work if there are errors/quarantined object due to duplicate attributes. Matching UPNs will not "link" the two objects, but you can force the matching process using the articles I linked to above.

 

One other thing, you should not mess with the objectIdentifier/sourceAnchor, unless you have some specific configurations in place. It's not clear to me why you have chosen to use the mail attribute and not leave the default.

Highlighted

Hello!


Thanks for all the replys.

Do you think it would be easier for me to just reinstall Azure AD Connect, but just use express settings?

If i understood this correct, it goes for ImmutableID first, if ImmutableID doesnt match it just stops?

But if immutableID is empty- it checks for a soft-match?

 

The OU im syncing has 3 accounts.

Account A - This account actually got synced to Office365

Account B - Does not get synced to O365

Account C - Does not get synced to O365

 

All 3 accounts has In-Cloud accounts in O365

 

 

Highlighted
I’d redo it with express settings which works fine in most scenarios! You can always configure additional settings after!
Highlighted

Hey,

 

Im currently installing it with express settings :)

For starters i want to define which users by a group that get synced.

 

Since this is just a testing-phase.

 

Appreciate all the help im getting :)

Highlighted
Great! Let us know how it goes!!

Adam
Highlighted

Hey!

 

It went great, now it syncs like it should.

I have some questions though.

 

In order to change a persons SMTP-address, is it by default the ProxyAddresses attribute- or do i have to configure Azure AD Connect to sync that attribute aswell?

 

With the express settings, is it using hard- or softmatch?

As i have around 80 other users to convert from in-cloud to "Synced with local AD"

Highlighted
I haven't tried doing it the way you are going about it, but is the ImmutableID now present on both on-prem and cloud identity? If that's the case, you should be able to change SMTP-address locally and it would sync to the cloud.
Highlighted

As of right now its working really good.

However, in-cloud we have alot of distribution groups.

 

Is there a quick way to export- then import these groups, with the members to the local AD?

Then use Hard/softmatch to pair them together?

 

Highlighted

There is a feature called group-writeback but you'll need premium license for that! 

 

Here you can find a script that creates objects from your 365 tenant in your ad! Needs a little sweaking though..

http://www.slashadmin.co.uk/how-to-sync-an-existing-office365-tenant-into-a-new-active-directory-dom...

Highlighted

Hey,

 

Thanks!

 

Took a look at that script, i understand some of it.

I would like to just remove some parts in order to only sync the groups.

From what i understood, the script is for Users, contacts & groups

Highlighted
Yes exaxtly! It seems to also add the members as well!
Correct, just edit out the users And contacts
Highlighted

@Martin Andersson 

 

Same here - same helped ;)

 

U make my day . . :D