Remove Old Microsoft 365 Credentials from OneNote for Mac
Question details
Remove an outdated Microsoft 365 account prompt from OneNote for Mac after a username changes to a custom domain.

- Product
- Microsoft OneNote for Mac
- Device & OS
- Mac (macOS)
- Scenario
- The user signs in with the current account and selects Add Notebook.
- Observed behavior
- OneNote still requests the old onmicrosoft.com account, potentially because Office credentials or activation data remain cached.
Confirm that all OneNote notebook changes are synchronized and that you can sign in with the current Microsoft 365 account. Back up any local Outlook data first: removing Office group containers can remove Outlook data and sign you out of Office apps.
Clear Cached Office Credentials and Activation Data
Use this method when OneNote continues to request the old account, especially when you add a notebook.
Close OneNote, Outlook, and any other open Microsoft Office apps using each app's Quit command.
Open Keychain Access from Applications > Utilities. Search for the old account address and Microsoft Office credentials, then delete only entries you can identify as belonging to the old Office account.
In Finder, press Command+Shift+G, enter ~/Library/Group Containers, and press Return.
Move UBF8T346G9.ms, UBF8T346G9.Office, and UBF8T346G9.OfficeOsfWebHost to the Trash if present. Do not empty the Trash until you have checked your Office apps and data.
Restart the Mac, open OneNote, and sign in with the current Microsoft 365 account. Select Add Notebook to check whether the old prompt has cleared.

Reinstall Office for Mac if the Old Prompt Persists
Try a clean reinstall if clearing the old credentials and activation data does not resolve the prompt.
Work with Office Files in WPS Office for Mac
WPS Office is a free, lightweight alternative with a familiar interface for working with Office files on a Mac. It can help you move everyday document work to WPS, but it does not clear OneNote credentials or replace OneNote notebook synchronization.

Frequently Asked Questions
Why does OneNote ask for my old onmicrosoft.com address?
OneNote or another Office app may still have credentials or activation data associated with the old address. Check Keychain Access and the Office group containers after confirming your notebooks are synced.
Will removing the Office group containers affect Outlook?
It can remove local Outlook data and require you to sign in again. Back up local Outlook data before moving the containers from ~/Library/Group Containers.
Do I need to change a Microsoft 365 admin setting?
Usually not for clearing cached credentials on a Mac. If the current account cannot access the expected notebooks, ask your administrator to check its access.
What should I do if OneNote still requests the old account?
After confirming notebook synchronization and backing up local Outlook data, follow Microsoft's instructions to uninstall and reinstall Office for Mac. Then sign in to OneNote with the current account and test Add Notebook.




