TL;DR: Office 365 sign-in: “Oops, something went wrong”
The fix only. No explanation, no diagnosis. Read the full article if any of this does not match what you are seeing.
- Check the obvious first: the PC clock (within five minutes of real time), the date, and that the account is not locked or its password expired.
- Sign out of Office, reboot, sign in again. This alone fixes a surprising share of these.
- Clear the broken sign-in: Settings > Accounts > Access work or school, select the work account, Disconnect. Reboot.
- Sign in again from inside an Office app (File > Account > Sign in), not from the Settings page.
- If it still fails, check the device registration from an elevated PowerShell prompt:
dsregcmd /status- Look at AzureAdJoined / WorkplaceJoined and the SSO state. If the device is in a broken half-joined state, leave and rejoin:
dsregcmd /leavedsregcmd /leave disconnects the device from Entra ID. On a managed PC, check with whoever runs your tenant first, and make sure you have a local administrator account you can still log in with.
- Reboot, sign in as the affected user, then confirm the device shows as registered in Entra ID under Devices > All devices.
- Last resort: create a new Windows profile and test there. If that works, the fault is in the old profile, not the tenant.
Updated on September 17, 2026