Can’t access an online word document in another tenant.
- Message: An unexpected error occurred.
- Tag: 7anyj
The issue seems to be with the cached credentials for that tenant not being updated on login. Microsoft’s support instructed to recreate user profile or reinstall PC.
According to https://www.sharepointpro.com.au/blog/outlook-error-1001-microsoft-365-fix/ and https://learn.microsoft.com/en-us/answers/questions/5652240/error-message-(7anyj) Perform the following steps.
- Log out of office apps
- Delete cached credentials from the Credential Manager
- Delete all files and folders inside
%localappdata%\Packages\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy - Delete
C:\Users\yourusername\AppData\Local\Microsoft\OneAuthandC:\Users\yourusername\AppData\Local\Microsoft\IdentityCache - Repair Office because I deleted too many things and I couldn’t log back in.
After that it worked.