The error message also appears when logging into Outlook directly instead of adding the account via the settings.
Office apps Sign-in error 0xC0070057
If the error code 0xC0070057 occurs when you try to sign in to Office apps on your Windows 11/10 device, you can try our recommended solutions below in no particular order and see if that helps to resolve the issue. Let’s take a look at the description of the process involved concerning each of the listed solutions.
1] Check if your device is offline
Since the error code 0xC0070057 when you try to sign in to Office 365 apps on your Windows 11/10 device indicates a server issue, this solution requires you to check if your PC is having connectivity issues or is offline. In this case, you can try to fix internet and network connection problems or try Complete Internet Repair Tool if you cannot connect to the Internet at all, and then see if you can sign into the app. If your device is online and the error persists, then it’s likely the issue is on the server-side and not with the client computer – try the next solution.
2] Log out and log into the Office app with Work or School account
This solution requires you to log out and log back into the Office app with Work or School account. Do the following:
In any Office app, go to File > Account (or Office Account in Outlook) > Sign out.Close all Office apps.Restart your device.On boot, navigate to Settings > Accounts > Email & accounts.Select Add a workplace or school account.Now, log in using your credentials.
You should now be able to sign into the Office app without the error. If not, try the next solution.
3] Delete account information file in AppData folder
This solution requires you to delete the file that stores the account information from the Appdata folder on your Windows 11/10 computer. Do the following:
Press Windows key + E to open File Explorer.Press Alt + D keyboard shortcut to change the address bar breadcrumb navigation.Now, copy and paste the path below into the highlighted address bar and hit Enter. Replace the UserName placeholder with your logged-in username.
At the location, look for the folder Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy, right-click and select Delete from the context menu. This will delete the account available under Email & accounts in the Settings app.Restart PC.
On boot, you should be able to sign into the Office app without the error. If not, try the next solution.
4] Uninstall Windows update
Some affected users reported the error started to occur in Office app and Microsoft Teams after installing a Windows security update. In this case, to fix the error, you can uninstall the problematic update.
5] Run the /leave command
This solution requires you to run the dsregcmd /leave command. When this command is executed, it separates the Windows 11/10 device from the Azure Active Directory – no device restart required. Do the following:
Press Windows key + R to invoke the Run dialog.In the Run dialog box, type cmd and then press CTRL + SHIFT + ENTER to open Command Prompt in admin/elevated mode.In the command prompt window, type the command below and hit Enter.
Exit CMD prompt once the command executes.
Now try signing in to the Office apps and see if the issue in hand is resolved. If not, try the next solution.
6] Disable 2-step verification
We recommend Windows 11/10 PC users to enable two-factor authentication in Microsoft account to add a layer of security. However, if you are getting this error, you can disable the 2-step verification and try to log in and see if you’ll be successful. If this action solves the error in view, you can re-enable the two-factor authentication in Microsoft account.
7] Reset and Repair Office apps
Another viable solution you can try if nothing works is to reset and repair Office apps; specifically the Office app you’re getting the error on when signing in. Hope this helps! Related post: Fix Microsoft Teams Sign-in Error Codes and Problems
How do I fix Office 365 errors?
To fix Microsoft Office 365 subscription problems on your Windows PC, follow these instructions: Right-click on the Start button. Select apps and features. Find the Office application you’re having issues with from the list. Click Modify > Online repair. Click Repair.
How do I fix Microsoft Office sign-in problem?
Microsoft Office users can fix the Microsoft Office sign-in problem on Windows 11/10 computers by trying any of the following suggestions: Clear the cache in the web browser, delete Internet cookies, and then try to sign in again. Try changing your password, as it may be temporary or your password has expired. Contact Microsoft Support.