Error Code 50058: What is it & How to Fix it

Update your login info in your Windows Credentials Manager to fix the problem

by Sagar Naresh
Sagar Naresh
Sagar Naresh
Content Analyst
Sagar is a web developer and technology journalist. Currently associated with WindowsReport and SamMobile. When not writing, he is either at the gym sweating it out or playing... read more
Reviewed by Alex Serban
Alex Serban
Alex Serban
Windows Server & Networking Expert
After moving away from the corporate work-style, Alex has found rewards in a lifestyle of constant analysis, team coordination and pestering his colleagues. Holding an MCSA Windows Server... read more
Affiliate Disclosure
  • When there is something wrong with your login info on Office 365, you will face the error code 50058.
  • You can fix it by creating a new local user profile and try logging into Office 365.
  • Otherwise, log out of all your SSO tools and re-login to check whether this resolves the problem.

To fix various PC problems, we recommend Restoro PC Repair Tool:
This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues and remove viruses now in 3 easy steps:

  1. Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues affecting your computer's security and performance
  • Restoro has been downloaded by 0 readers this month.

When the Office credentials are wrong or corrupted, you will encounter an error code 50058 with Microsoft Office 365 and MS Outlook. Several users have reported facing the error code 50058 and are looking for solutions to fix the issue.

In this guide, we will give you a bunch of solutions that will help you resolve the error code 50058. We will also explain to you what are the leading causes of the issue so that you can ideally troubleshoot it faster if it occurs again. Let us get right into it.

Why am I getting the error code 50058?

Here are some of the most common reasons as well as the official reasons, given by Microsoft because of which you will face the error code 50058.

  • You are not using the correct ID: Chances are you are not signed into Outlook with the same ID as Microsoft Office 365 or vice versa.
  • The SSO is not valid or corrupted: If you have set SSO (Single Sign In) and if it is not valid or corrupted, you will get error code 50058.
  • Your Windows profile is corrupt: If an employee used the Office application before, then if they leave the organization, their profile could get corrupt and thus cause the issue.
  • The password has expired: When your account has limited time access then your account might get terminated after a certain amount of time when entering an expired password.

How can fix the error code 50058?

In this article

1. Fix using the Credentials Manager

  1. Open the Start menu by pressing the Win key.
  2. Type Credentials Manager and open it.
  3. Click on Windows Credentials.
  4. Locate Office items.
  5. Click on the drop-down icon next to the Office item.
  6. You will see the username and password in encrypted form.
  7. Click Edit.
  8. Re-enter the Office 365 credentials.
  9. Restart your PC.
  10. Launch Office 365 or Outlook and check if this resolves the issue or not.

The Credentials Manager stores the password to allow users to access their accounts without the need to log in every time they access the application.

In case you have recently changed the password or your account has been audited, then some information that is changed will cause issues and ultimately throw errors such as error code 50058.

2. Create a new user account

  1. Open the Settings menu by pressing the Win + I keys.
  2. Click on Accounts.
  3. Click on Other users.
  4. Select Add account.
  5. Enter the email or phone.
  6. Click Next.
  7. Hit Finish as your Microsoft Account is good to go.
  8. Log out of the current account.
  9. Login to your PC using a new account.
  10. Try login into your Outlook or Microsoft 365 apps using the Office account and check if this fixes the issue or not.

Often the issues associated with your local account can cause issues with your Office account. Try creating a new account and logging in to your Office account and check if this fixes the error code 50058 or not.

3. Log out of all your SSO tools

Expert tip:


Some PC issues are hard to tackle, especially when it comes to corrupted repositories or missing Windows files. If you are having troubles fixing an error, your system may be partially broken.
We recommend installing Restoro, a tool that will scan your machine and identify what the fault is.
Click here to download and start repairing.

If you are using an SSO or Single Sign On tools such as Azure or ManageEngine Identity Manager Plus, then we would recommend you log out of all the SSO tools and sign back in.

This solution works because an issue with the associated program could trigger the error code 50058. Frequent sign-in prompts or error codes are also the results of such problems.

That is it from us in this guide. To fix error code 135011 Your organization has disabled this device, you can check out our guide.

Besides, there are a bunch of other issues related to Microsoft Office 365. We have compiled a bunch of solutions for commonly known issues.

Is Office 365 slowing down your PC? If so, then you can check out our guide which lists some of the best solutions to fix the issue.

Several users have reported facing an error message We’ve run into a problem with your Microsoft 365 subscription. You can check out the solutions in our guide to resolve the problem.

Feel free to let us know in the comments below, which one of the above solutions resolved the error code 50058 or not.

Still having issues? Fix them with this tool:


If the advices above haven't solved your issue, your PC may experience deeper Windows problems. We recommend downloading this PC Repair tool (rated Great on to easily address them. After installation, simply click the Start Scan button and then press on Repair All.

This article covers:Topics: