How to Stop Repeated Azure Sign-In Prompts for an Old Work Account on Mac
Question details
The user needs to stop their Mac from constantly prompting for sign-in credentials associated with a previous Microsoft 365 work account.

- Product
- Microsoft 365 / Outlook for Mac
- Device & OS
- Mac
- Scenario
- Attempting to use a Mac or Microsoft applications without being interrupted by login windows for an inactive or removed work account.
- Observed behavior
- The Mac repeatedly requests credentials for a former Microsoft 365 work account, often displaying an AADSTS50020 error indicating a tenant mismatch, even after reinstalling the apps.
Ensure you have your Mac's administrator username and password handy, as you will need them to modify system credentials in the Keychain Access app.
Delete the Old Account via Outlook Profile Manager
Removing the old account directly from Outlook's settings and its core profile manager will prevent the application from attempting to authenticate the defunct account.
Even if you uninstall Microsoft applications, hidden profile files may remain on your Mac. Using the Outlook Profile Manager ensures the data is completely wiped.
Launch Microsoft Outlook for Mac. From the top menu bar, select Tools and then click on Accounts.
On the left side of the Accounts dialog box, select the old work account you want to remove. Click the Delete (minus) button in the lower-left corner and confirm by selecting Delete.
Open Finder and navigate to the Applications folder. Control-click (or right-click) Microsoft Outlook and select Show Package Contents.
Navigate to Contents > SharedSupport and double-click to launch Outlook Profile Manager. Select the profile tied to your old account and delete it.

Clear Microsoft Credentials from macOS Keychain Access
macOS securely stores login tokens. Deleting cached Microsoft credentials from the Keychain forces the system to forget the old work account.
Run the Microsoft License Removal Tool
If manual removal fails, use the official tool to strip all hidden Microsoft Office licenses and tokens from your system before reinstalling.
Switch to WPS Office to Avoid Account Sign-in Hassles
Tired of dealing with repeated Azure sign-in prompts, tenant errors, and complex licensing issues on your Mac? WPS Office offers a seamless, lightweight, and free alternative to Microsoft Office.
- 1. Download and Install: Download WPS Office for Mac from the official website and follow the simple installation prompts.
- 2. Open Your Existing Files: Launch WPS Office and directly open your existing Word, Excel, and PowerPoint files with zero formatting loss.
- 3. Enjoy Hassle-Free Editing: Edit, save, and share your documents without worrying about enterprise account conflicts or persistent credential prompts.

Frequently Asked Questions
What does the AADSTS50020 error mean on Mac?
The AADSTS50020 error indicates an account or tenant mismatch. It happens when the Microsoft application tries to authenticate using cached credentials from a work or school account that no longer exists in that specific organizational directory.
Why do sign-in prompts continue after I uninstall Microsoft 365?
Simply dragging Microsoft 365 apps to the Trash does not remove hidden system files. Cached login tokens remain stored in the macOS Keychain Access utility, causing the system to continuously attempt background authentication.
Will deleting Keychain credentials affect my other Mac passwords?
No, as long as you only search for and delete entries specifically labeled 'Microsoft', 'Office', or 'Exchange', your other saved passwords for websites and non-Microsoft applications will remain perfectly safe.




