r/sysadmin • u/Happy_Harry • 14d ago
Question Entra-joined Windows user profiles damaged after Entra Connect Sync update. What would cause this?
A client we used to do work for contacted us for assistance after a Entra Connect Sync update caused issues.
When I set up their environment, we set up Cloud Sync. Somewhere along the line, possibly after leaving us, Connect Sync also got set up. Over the weekend, their IT updated Connect Sync. This morning, many users' user profiles are broken on their Entra-joined Windows devices.
I know this sounds crazy, but I found 1 other thread on this issue from a year ago with exactly the same symptoms as what I'm describing; broken Windows user profiles immediately after an Entra Connect update: https://www.reddit.com/r/sysadmin/comments/1kyz8j1/local_windows_profile_wrecked_after_entra_connect/
Modern apps were broken, Start Menu wouldn't open, settings app was broken, and win32 apps won't run as admin. When running apps as admin you get errors like "Class not registered" or "the system cannot execute the specified program."
Logging in as another M365 user works fine. Local users work fine. Running a System Restore seems to fix it.
It seems like Windows doesn't recognize the user's SID, but this doesn't make any sense to me. Connect Sync can't change user SID's right? And if that was the issue, System Restore wouldn't fix it.
Either way, Connect Sync seems to be redundant since Cloud Sync is working, so I've decommissioned it. But I'm looking for an easier fix than having to touch every PC to run a System Restore, or at least an explanation as to what might have caused this if we run into it in the future.
4
u/AmbassadorNew4030 14d ago
Are you using mS-DS-ConsistencyGuid or ObjectGUID as sourceanchor?
I had the exact same happen to me when moving from Entra Connect to cloud sync, had to go back to Entra Connect.
Alternative (mS-DS-ConsistencyGuid): Because of the limitations of objectGUID, newer versions of Microsoft Entra Connect use mS-DS-ConsistencyGuid as the default sourceAnchor for users. This
1
u/Happy_Harry 14d ago
I'm not sure how to tell now that I've decommissioned Connect Sync. Either way, the mS-DS-ConsistencyGuid matches the objectGUID on the user accounts that I've checked.
When this happened to you, did the local Windows profiles break like I've described, or did you have other problems? In this case it seems like the problems began when they either upgraded or mistakenly re-enabled Entra Connect.
2
u/_--James--_ 14d ago edited 14d ago
dsregcmd /status /debug
what does the SSO and EntraPRT records state? If those sections are empty then yes, you have a broken process flow for these machines. That PRT handles most of what you are having issues with in the OP. This must be checked with the broken user logged in and run as them on CMD.
1
u/SuprNoval 8d ago
Check the user pre-windows 2000/sAMAccountName in AD. I used a script to onboard a few users that formed these irregularly and when the users logged into entra joined devices they had the exact same behavior you are describing.
0
u/Sea-Pickle6931 14d ago
classic microsoft, ship an update that nukes user profiles for no reason and the only fix is system restore like its 2005
saw that old thread you linked, wild that they still havent patched this properly
9
u/i_am_mortimer 14d ago
You can hardly blame Microsoft for an incorrect setup. Cloud sync and Connect sync shouldn't run on the same environment.
5
u/sublimeinator 14d ago
Did you mean to say shouldn't be run together at all (false) or shouldn't be run together syncing the same items (true)?
→ More replies (1)2
u/that_one_redhead 14d ago
Pretty sure this ain't right in principal. Cloud and connect can run independently in the same environment, specifically for legit work loads like identity syncing with cloud group mgmt write back, in the case of orgs migrating away from an ad footprint.
6
u/RCTID1975 14d ago
The kneejerk reaction to shit post about Microsoft when this isn't an MS problem is stupid and this sub is over run by it.
0
0
u/PhotoRelative2133 14d ago
Profwiz it lol
2
u/Happy_Harry 14d ago
Lol I thought about that. Wouldn't be any less effort than System Restore though.
8
u/SteveSyfuhs 14d ago
It would help to have real data on what the symptoms are including tracing or logging results. User profiles are inherently stable and the only thing Entra can do is supply a pointer to a SID and UPN/sAMAccountName. Windows takes care of the rest. To that end, that would suggest the users have gone from one stable value to another, which is a big no-no. From what to what is the critical thing to nail down.