How to Remove a Former Organization Account from Microsoft 365 and Teams
Question details
The user wants to stop persistent sign-in requests for a deactivated email account associated with a former client organization.

- Product
- Microsoft 365 and Teams
- Device & OS
- not provided
- Scenario
- Using Microsoft 365 or Teams after a client organization was acquired and the associated account was deactivated.
- Observed behavior
- Microsoft 365 and Teams continuously prompt the user to sign into the former organization account even though the email address no longer exists.
Ensure you save any personal work currently open in Microsoft 365, as you will need to close applications and clear cache folders during this process.
Remove the Account Locally and Clear Teams Cache
Removing the account from your device settings and clearing the app cache prevents Windows and Teams from automatically attempting to sign in with the old credentials.
Even if an account is deleted on the server, your local device holds onto login tokens. Clearing these settings removes the continuous sign-in prompts on your current computer.
Open the Microsoft Teams application. Click on your profile picture located in the top right corner of the window, and select 'Sign out' from the drop-down menu.
Open your Windows Settings by pressing Windows Key + I. Navigate to 'Accounts', then click on 'Access work or school' in the left pane. Locate the former organization's account, click on it, and select 'Disconnect'.
Close Microsoft Teams entirely from the system tray. Press Windows Key + R to open the Run dialog, type '%appdata%\Microsoft\Teams', and press Enter. Delete all files and folders in this directory to clear the cached account data.

Request Account Removal from the Organization's Administrator
To permanently sever the connection, the organization's IT department must remove you from their directory.
Switch to WPS Office for a Hassle-Free Experience
If you are tired of complex account management and persistent login prompts in Microsoft 365, try WPS Office. It is a free, lightweight, and user-friendly alternative that offers robust local editing without forcing continuous cloud synchronization or organization sign-ins.
- 1. Download the software: Visit the official WPS Office website and click the free download button for your operating system.
- 2. Install WPS Office: Run the downloaded installer and follow the simple on-screen instructions to complete the setup in minutes.
- 3. Open your documents: Launch WPS Office and open your existing Microsoft Office files directly to start editing without complex organizational account logins.

Frequently Asked Questions
Why does Microsoft Teams keep asking me to sign into an old organization?
Teams securely caches your previous login tokens to make future sign-ins faster. Furthermore, Windows may still have the account linked in the 'Access work or school' settings, causing the system to continuously prompt for credentials even if the account is deactivated.
Can I permanently delete my account from the former organization myself?
No. Only an IT administrator from the organization that issued or manages the account can permanently delete or remove it from their Microsoft 365 Exchange directory.
Will reinstalling Microsoft Teams fix the login loop?
Reinstalling Teams may help clear some basic application data, but it often does not clear the deep cache or the Windows OS-level account links. You must manually disconnect the account from Windows Settings and clear the AppData cache to stop the prompts.




