Edge sync - AD vs Microsoft Account

%3CLINGO-SUB%20id%3D%22lingo-sub-2291988%22%20slang%3D%22en-US%22%3EEdge%20sync%20-%20AD%20vs%20Microsoft%20Account%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2291988%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20some%20questions%20regarding%20Microsoft%20Edge%20sync%2C%20and%20specifically%20the%20precedence%20of%20AD%20Sync%20vs%20Azure%20AD%20Sync%2C%20given%20some%20issues%20that%20we%20are%20currently%20experiencing.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOur%20environment%3A%3C%2FP%3E%3CP%3EWindows%207%20workstations%20(I%20know!)%20with%20ESU%20Year%202%3C%2FP%3E%3CP%3EWindows%2010%20laptops%20-%20version%201909%20enterprise%20X64%3C%2FP%3E%3CP%3ECitrix%20RDS%20multi-user%20servers%2C%20running%20on%20Windows%20Server%202016%20(LTSB)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMost%20of%20our%20users%20have%20a%20Microsoft%20Office%20365%20licence%2C%20but%20not%20all%20(for%20various%20reasons...).%20I%20have%20configured%20group%20policies%20to%20enable%20on-premises%20sync%2C%20but%20even%20for%20my%20own%20user%20account%2C%20I%20am%20seeing%20the%20'sign-in'%20account%20for%20MS%20Edge%20being%20either%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22mailto%3Aemail.address%40ourdomain.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Eemail.address%40ourdomain.com%20(UPN)%3C%2FA%3E%3C%2FP%3E%3CP%3Eor%3C%2FP%3E%3CP%3E%3CNT%20domain%3D%22%22%20name%3D%22%22%3E%5CsamAccountName%26nbsp%3B%3C%2FNT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20means%20that%20the%20profile%20sync%20is%20different%3B%20%22cloud%22%20or%26nbsp%3B%25AppData%25%5CMicrosoft%5CEdge%5CUser%20Data%5Cprofile.pb%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20is%20strange%20that%20on%20different%20devices%2C%20my%20own%20account%20is%20configured%20differently%20on%20login.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20is%20the%20sync%20priority%20for%20the%20profile%20for%20a%20user%20determined%3F%3C%2FP%3E%3CP%3EWhat%20settings%20control%20this%3F%3C%2FP%3E%3CP%3EIs%20there%20any%20way%20-%20via%20script%20or%20policy%20-%20to%20switch%20profiles%20for%20users%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EJonathan%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2295549%22%20slang%3D%22en-US%22%3ERe%3A%20Edge%20sync%20-%20AD%20vs%20Microsoft%20Account%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2295549%22%20slang%3D%22en-US%22%3E%3CP%20data-unlink%3D%22true%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F841042%22%20target%3D%22_blank%22%3E%40jdseymour1978%3C%2FA%3E%26nbsp%3BHi%20Jonathan!%26nbsp%3B%20Have%20you%20tried%20the%26nbsp%3BRestrictSigninToPattern%26nbsp%3Bpolicy%20(%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fdeployedge%2Fmicrosoft-edge-policies%23restrictsignintopattern%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fdeployedge%2Fmicrosoft-edge-policies%23restrictsignintopattern)%3C%2FA%3E%3F%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20data-unlink%3D%22true%22%3EWe've%20had%20some%20other%20conversations%20with%20customers%20and%20in%20addition%20to%20the%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fdeployedge%2Fmicrosoft-edge-policies%23configureonpremisesaccountautosignin%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EConfigureOnPremisesAccountAutoSignIn%3C%2FA%3E%26nbsp%3Band%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fdeployedge%2Fmicrosoft-edge-policies%23roamingprofilesupportenabled%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3ERoamingProfileSupportEnabled%26nbsp%3B%3C%2FA%3Epolicies%2C%20they%20configured%20the%26nbsp%3BRestrictSigninToPattern%26nbsp%3Bpolicy%20so%20it%20can%20be%20used%20to%20force%20on-premise%20sign%20in.%3C%2FP%3E%0A%3CP%20data-unlink%3D%22true%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20data-unlink%3D%22true%22%3EThanks!%26nbsp%3B%3C%2FP%3E%0A%3CP%20data-unlink%3D%22true%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20data-unlink%3D%22true%22%3E%3CEM%3E-Kelly%3C%2FEM%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2299455%22%20slang%3D%22en-US%22%3ERe%3A%20Edge%20sync%20-%20AD%20vs%20Microsoft%20Account%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2299455%22%20slang%3D%22en-US%22%3EThank%20you%20for%20your%20reply%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F757644%22%20target%3D%22_blank%22%3E%40Kelly_Y%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EI%20tried%20your%20suggestion%20of%20the%20RestrictSigninToPattern%20policy%20setting%2C%20setting%20it%20to%3CBR%20%2F%3E%3CBR%20%2F%3EAB%5C*%3CBR%20%2F%3Eor%3CBR%20%2F%3EAB%5C%7Buser_name%7D%3CBR%20%2F%3E%3CBR%20%2F%3E(where%20AB%20is%20our%20NT%20domain%20name)%3CBR%20%2F%3E%3CBR%20%2F%3EAnd%20Edge%20just%20got%20stuck%20at%20the%20Profile1%20selection%20screen%20at%20first%20run%20with%20a%20new%20profile%20on%20a%20Windows%2010%20endpoint.%3CBR%20%2F%3E%3CBR%20%2F%3EI'm%20running%20out%20of%20ideas%20to%20be%20honest.%20Windows%2010%20just%20seems%20to%20only%20want%20ot%20pick%20up%20the%20firstname.lastname%40ourdomain.com%20UPN%20type%20login%20name%2C%20and%20perform%20a%20AAD%20type%20login%20(according%20to%20edge%3A%2F%2Fsync-internals)%3C%2FLINGO-BODY%3E
Occasional Contributor

Hello,

 

I have some questions regarding Microsoft Edge sync, and specifically the precedence of AD Sync vs Azure AD Sync, given some issues that we are currently experiencing.

 

Our environment:

Windows 7 workstations (I know!) with ESU Year 2

Windows 10 laptops - version 1909 enterprise X64

Citrix RDS multi-user servers, running on Windows Server 2016 (LTSB)

 

Most of our users have a Microsoft Office 365 licence, but not all (for various reasons...). I have configured group policies to enable on-premises sync, but even for my own user account, I am seeing the 'sign-in' account for MS Edge being either:

 

email.address@ourdomain.com (UPN)

or

<NT Domain name>\samAccountName 

 

This means that the profile sync is different; "cloud" or %AppData%\Microsoft\Edge\User Data\profile.pb

 

It is strange that on different devices, my own account is configured differently on login. 

 

How is the sync priority for the profile for a user determined?

What settings control this?

Is there any way - via script or policy - to switch profiles for users?

 

Thanks,

 

Jonathan

3 Replies

@jdseymour1978 Hi Jonathan!  Have you tried the RestrictSigninToPattern policy (https://docs.microsoft.com/en-us/deployedge/microsoft-edge-policies#restrictsignintopattern)?  

 

We've had some other conversations with customers and in addition to the ConfigureOnPremisesAccountAutoSignIn and RoamingProfileSupportEnabled policies, they configured the RestrictSigninToPattern policy so it can be used to force on-premise sign in.

 

Thanks! 

 

-Kelly

Thank you for your reply @Kelly_Y

I tried your suggestion of the RestrictSigninToPattern policy setting, setting it to

AB\*
or
AB\{user_name}

(where AB is our NT domain name)

And Edge just got stuck at the Profile1 selection screen at first run with a new profile on a Windows 10 endpoint.

I'm running out of ideas to be honest. Windows 10 just seems to only want ot pick up the firstname.lastname@ourdomain.com UPN type login name, and perform a AAD type login (according to edge://sync-internals)

@jdseymour1978 Sorry to hear about the issues!  

 

Couple of tips for the RestrictSigninToPattern policy that I've seen others mention: 

The required pattern is here "DOMAIN\\.*" (without quotation marks and here DOMAIN is to be replaced with your specific AD domain). Also, reminder that the regex pattern is case sensitive.

 

Also, if you are still having issues you can reach out to Support and they can work with you directly to troubleshoot your specific case.  https://microsoftedgesupport.microsoft.com/hc/en-us

 

Thanks! 

 

-Kelly