Using Classic Outlook on Windows for personal email, calendar, and contact management
So far, in our situation, the root-cause seems related to the fact the user had Workplace-Joined their sessions when configuring Office because we aren't fully hybrid-join. And that action also created a computer object in Entra with the user as the owner for the SSO. That doesn't seem to be an issue when the session is persistent, but long-story-short, Workplace Join is unsupported in a non-persistent session (as per Microsoft updated documentation).
The BlockWorkplaceJoin registry key did help by not creating more 1001 issues. But did nothing for those who previously had done it. Manually deleting those folders alone, we see with "dsregcmd.exe /status" that the user state still is WorkplaceJoined. So, it's not enough to correct a profile and the error will come back.
- C:\Users%username%\AppData\Local\Microsoft\OneAuth\
- C:\Users%username%\AppData\Local\Microsoft\IdentityCache\
By recreating the Fslogix profile and Blocking Workplace join, we do eliminate this and the issue is yet to occurs again for us. But we had some implication about recreating that for all of our user.
Microsoft has a tool to clear the Workplace-Join accounts when it's unavailable in the Settings, Accounts section (like in our case). So far it's working very well for us as we don't need to recreate the profile, and it's get rid of the user state.
I easily see it used as an automated script at user logon, running once. The only thing it doesn't do it deleting computer object in Entra, so there will be it will need to be done by scripting or manually to get rid of those stale entries.
Sources:
Reset activation state for Microsoft 365 Apps for enterprise - Microsoft 365 Apps | Microsoft Learn
https://download.microsoft.com/download/8/e/f/8ef13ae0-6aa8-48a2-8697-5b1711134730/WPJCleanUp.zip
Error “Something Went Wrong [1001]” signing in to Microsoft 365 Desktop Applications - Microsoft Support
Identité d’appareil et virtualisation de bureau - Microsoft Entra ID | Microsoft Learn