Sign out and close all Office programs. Delete the OneDrive-related password entries by navigating to Finder > Applications > Utilities > Keychain Access. You can deactivate your license using a tool for license removal. Reboot your Mac, launch Office, and log in again.