Error Code 657rx when signing in to Microsoft 365 Office apps on Windows

Megan Lenape 20 Reputation points
2026-11-26T19:40:49.7+00:00

I am encountering error code 657rx when attempting to sign in to Microsoft 365 desktop apps (Word/Excel/Outlook) on my Windows 11 computer using a Microsoft 365 Business Standard account. The sign-in prompt fails before completing authentication.

How to fix ?

Microsoft 365 and Office | Word | For business | Windows
0 comments No comments

Answer accepted by question author
Ryan-N 17,260 Reputation points Microsoft External Staff Moderator
2026-11-26T19:56:23.3666667+00:00

Hi Megan,

Welcome to the Microsoft Q&A forum.

The issue you are experiencing may be related to your organization's settings or policies, such as a Conditional Access policy.

You can try the following steps and then check whether the issue persists:

1/ Sign out of the affected account from all Microsoft applications, including Outlook, Word, Excel, Teams, and OneDrive. Then, completely close all Microsoft applications.

2/ Open File Explorer, paste the following path into the address bar, and then delete all files and folders inside:

%localappdata%\Packages\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy

This step will remove old authentication tokens that may be causing the issue.

User's image

3/ Delete the saved credentials:

  • Open Credential Manager (you can press Windows + S, type Credential Manager, and then open it).
  • Select Windows Credentials.
  • Look for any entries related to Microsoft 365 or Office and delete them to remove any old saved credentials.

User's image

4/ Disconnect your work or school account from the device. To do this, go to:

Settings > Accounts > Access to work or school

Select the affected account, and then select Disconnect.

User's image

5/ Download OLicenseCleanup.vbs and run it. In this way, you can use this package to remove license, remove cached identities in HKCU registry and remove credentials. For more details, you can refer to this article: Reset Microsoft 365 Apps for enterprise activation state. Reboot your device. 

Reopen Office apps and sign in with the correct account. 

6/ Restart your computer. Before signing back in to Outlook or any other Office applications, open a browser and go to:

https://office.com

Sign in with the affected account to confirm that your credentials are valid and working properly. If you can sign in successfully through the browser, try signing in to Outlook and the other Office applications again.

 I hope this information is helpful.

If you have any questions or need further assistance, please feel free to share them in the comments on this post so I can continue to support you.

I look forward to continuing the conversation.


If the answer is helpful, please click "Yes" and kindly upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread. 

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.