Stop Office 365 From Automatically Signing In to a Work Account
Question details
The user wants to sign out of an Office 365 work account without Office automatically signing back in.

- Product
- Microsoft Office 365 desktop apps
- Device & OS
- Windows
- Scenario
- The user wants to switch or sign out of a work account in Office desktop applications.
- Observed behavior
- Office may restore the work account after sign-out, even when only one Windows account is configured.
Check whether the work account is connected under Settings > Accounts > Access work or school, and note whether the device is managed by your organization. Disconnecting the account can affect access to work resources and device management, so consult your administrator if you are unsure.
Check the Windows work account connection
Use this approach when Windows is supplying the work account to Office through single sign-on.
Signing out in Office does not necessarily remove an account connected to Windows or clear its cached credentials. Office may therefore offer or restore that account again. Having only one Windows user account does not rule out a separate work or school connection.
In an Office app, select File > Account, then select Sign out under the work account. Close all Office apps.
Open Settings > Accounts > Access work or school and look for the work account.
Select the work account and choose Disconnect if you no longer need the connection and your organization permits it. Follow the prompts.
Reopen an Office app and check File > Account to see whether the work account returns.

Remove cached Office credentials
Use this if the account still returns after you have checked the Windows work account connection.
Remove the affected Office identity from the registry
Consider this advanced step only if the account continues to return and you can identify its Office identity entry.
Use WPS Office as an Alternative for Everyday Documents
WPS Office is a free, lightweight alternative with a familiar interface for working on documents, spreadsheets, and presentations. Its Microsoft Office format compatibility makes it easier to move existing files, though it does not change Microsoft Office or Windows work-account sign-in behavior.

Frequently Asked Questions
Why does Office sign back in after I select Sign out?
Office may use a work account connected to Windows or cached Office credentials to restore the identity. Check Settings > Accounts > Access work or school and Credential Manager for the affected account.
Can I stop automatic sign-in without changing Windows settings?
Signing out through File > Account may not prevent Windows single sign-on from restoring the account. If you must keep the Windows connection, ask your administrator about options allowed by your organization's policies.
What happens if I disconnect a work account from Windows?
Disconnecting it under Settings > Accounts > Access work or school can affect access to work resources and device management. Check with your administrator before disconnecting a managed account.
Which credentials should I remove from Credential Manager?
In Credential Manager > Windows Credentials, look under Generic Credentials for MicrosoftOffice16_Data entries associated with the affected account. Remove only entries you can identify; you may need to sign in again afterward.
Do I have to edit the registry?
No. First check the Windows work account connection and cached Office credentials. Registry editing is an advanced option; export the Identities key first and delete only an entry you can confidently identify.




