How to fix the wrong tenant credential error in SharePoint online

[Fixed]: How to fix the wrong tenant credential error in SharePoint online?

4 comments

Loading

In this troubleshooting technique, we will learn about how to fix the wrong tenant credential error in SharePoint online.

Before getting into this article, you may also want to read:

Top 5 SharePoint Online Authentication Methods You Need to Know About

Issue Description: Wrong tenant credential error in SharePoint online

Recently I was working on configuring the hybrid environment for our tenant. In order to do that, I picked up the Hybrid Picker Wizard and following the instruction started the configuration. In the initial steps, this will validate your on-premises SharePoint credential and SharePoint online credential. I was using the same account for both on-premise and online wherein on-premise SharePoint authentication was successful but authentication in SharePoint Online was failing – an error message was saying that “Wrong tenant credential.” like below:

It was strange!!!. I had tried to log in to SharePoint online site using the same credential it was successful, tried to connect SharePoint online site thru the ShareGate migration tool using the same credential, and it was successful. It became strangest.

In order to do the hybrid configuration as an alternative approach, Microsoft has provided two inbuilt PowerShell Script, tried to execute those scripts there also faced the same authentication issue.

Fix the wrong tenant credential error in SharePoint online
Fix the wrong tenant credential error in SharePoint online

Solution: Wrong tenant credential error in SharePoint online

  1. If your account has MFA(multi-factor authentication) enabled in Azure AD, you cannot connect to SharePoint online using PowerShell or Hybrid Picker Wizard as a temporary solution for time being disable the MFA in Azure AD, then after getting your work done enable it back – after MFA disabling you will not face the above issue.
  2. Have a dedicated service kind of admin account without MFA enabled and use this account for all sorts of PowerShell execution with respect to SharePoint online and Hybrid Picker configuration – as per me this is recommended or a good choice over the previous one.

Summary: Wrong tenant credential error in SharePoint online

Thus, in this troubleshooting technique, we have learned about how to fix the wrong tenant credential errors in SharePoint online.

See Also: SharePoint Online Learning

Access SharePoint Online data using Postman tool:

In 4 steps access SharePoint online data using postman tool

You may also like the below SharePoint Online learning tutorials:

Download SharePoint Online PDF Book

Download SharePoint Online & Office 365 Administration eBook

Buy the premium version of SharePoint Online & Office 365 administration eBook from here:



Buy SharePoint Online & Office 365 Administration eBook


 

Get the free demo PDF eBook from here:

FREE DOWNLOAD

Send download link to:

Subscribe to get exclusive content and recommendations every month. You can unsubscribe anytime.

About Post Author

4 comments on “[Fixed]: How to fix the wrong tenant credential error in SharePoint online?”

Do you have a better solution or question on this topic? Please leave a comment