how to clear stored outlook/microsoft 365 credentials

Susan Christie 0 Reputation points
2026-11-29T05:16:26.58+00:00

how do i clear stored Outlook/Microsoft 365 credentials

Microsoft 365 and Office | Subscription, account, billing | For home | Windows

2 answers

Sort by: Most helpful
  1. Paulo GM 74,480 Reputation points Independent Advisor
    2026-11-29T06:34:52.7933333+00:00

    Hi,

    Do you mean removing old cached identities or accounts that are still lingering in Windows and Microsoft apps? Windows stores these cached account details in IdentityCache, TokenBroker, and OneAuth under %LocalAppData%\Microsoft.

    • Right-click on the taskbar and open Task Manager
    • Close all apps where these accounts are showing in Task Manager by right-clicking on them and selecting end task
    • Press Windows + R then enter the following path %LocalAppData%\Microsoft\OneAuth %LocalAppData%\Microsoft\TokenBroker %LocalAppData%\Microsoft\IdentityCache  
    • Delete the contents of each folder

    Performing these steps shouldn’t affect your current account in the various apps, as you’re only removing cached account information. If you’re still hesitant about deleting the folders, you can simply rename each of the three folders by adding .old to the end of their names.

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-11-29T05:16:59.2066667+00:00

    Sign out of Outlook first, close every Microsoft 365 app, and then delete the relevant Office credentials from Windows Credential Manager.

    Clear the stored credentials

    1. In Outlook, select File > Office Account > Sign out.
      • In another Office app, the path is File > Account > Sign out.
    2. Close Outlook and all other Microsoft 365 apps. Signing out may require you to sign in again to keep Microsoft 365 activated.[^1^](https://support.microsoft.com/accounts-billing/subscriptions/[Subscription ID] "Sign out of Office")
    3. Select Start, type Credential Manager, and open Credential Manager Control Panel.
    4. Select Windows Credentials.^2^
    5. Expand and remove entries associated with the account you want to clear. Look for entries containing names such as:
      • MicrosoftOffice16
      • Outlook
      • Microsoft 365 or Office
      • The affected email address
    6. Check Web Credentials as well and remove only Microsoft or Office entries associated with that account.
    7. Restart Windows.
    8. Open Outlook and sign in with the intended Microsoft account.

    Removing an entry deletes its saved sign-in credential, so avoid deleting unrelated network, website, or application credentials.

    If Outlook still remembers the wrong work or school account

    For a work or school account, open Windows Settings and search for Access work or school. If the unwanted account is listed, select it and choose Disconnect, then restart Windows. This disconnects that organizational account from the device, so use it only when the account should no longer be connected—not merely to refresh Outlook credentials.^3^

    These steps do not delete email or the Microsoft account itself. Signing out of Office also does not sign out the separate OneDrive sync application.[^1^](https://support.microsoft.com/accounts-billing/subscriptions/[Subscription ID] "Sign out of Office")


    References

    1. [Sign out of Office](https://support.microsoft.com/accounts-billing/subscriptions/[Subscription ID])
    2. Credential Manager in Windows
    3. How to fix error 2604? "No network connection" When I try to sign in to Microsoft 365 Business apps from Windows 11 Home - Microsoft Q&A
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

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