AADDS How to prevent unexpected SID changes?

Mike Gilbert 51 Reputation points
2022-11-08T16:05:26.013+00:00

I have a fairly vanilla hybrid setup:
On Premise AD->(ADSync)->Azure AD->Azure AD DS.
I have used the cloud domain implemented by Azure AD DS to implement domain-joined file shares in a storage account (populated from on-premise with File Sync), which are in turn referenced by a domain-joined Azure Desktop. The SIDHistory is coming from the on-premise domain, all is well.

Then yesterday users started complaining that their FSLogix profiles had been re-initialized when logging into the Azure Desktop, so all their customizations and personal files had been lost.

I investigated and I found many users had a second profile, BECAUSE AADDS HAD CHANGED THEIR SID! For example, if a user had an AADDS SID ending in 1129, suddenly they had a SID ending in 1171 instead! (The rest of the SID, which is tied to the organization, remained unchanged.) Login still worked, the SIDHistory was still there, but FSLogix, which is based on the SID, thought they were a completely new user and created a second profile.

I can't login to the AADDS DC's so I can't look at their event logs. What could possibly have happened to AADDS to make it decide it needed to assign new SIDs to users? This AADDS has been stable for months with pretty much the same list of users; I was tinkering with the area that controls which groups are synced from Azure, but that shouldn't affect user accounts.

I don't think I can reverse this change as much as I would love to, so users can get their profiles back. But how can I tell what happened, so it never happens again??

Thanks

Windows for business | Windows Client for IT Pros | User experience | FSLogix
Microsoft Security | Microsoft Entra | Other
{count} votes

Accepted answer
  1. Givary-MSFT 35,626 Reputation points Microsoft Employee Moderator
    2022-11-12T15:10:41.22+00:00

    @Mike Gilbert Discussed your issue with our engineering team.

    As per the discussion I had about your issue changing the groups that are sync’d, this is likely the root cause of the problem (the users being sync’d are dependent on the groups that are in/out of scope). We’ll need to look at the metadata to figure that out.

    If you have a Azure Support plans with your subscription, open a support ticket, they can further engage the engineering team to investigate your issue further or if you dont have a valid support plan, let me know we can assist creating a one-time support ticket for this issue.

    Let me know if you have any further questions.

    Please remember to "Accept Answer" if answer helped, so that others in the community facing similar issues can easily find the solution.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.