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

No comments

 1,675 total views,  10 views today

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

Issue Description:

Recently I was working on to configure the hybrid environment for our tenant. In order to do that I have picked up the Hybrid Picker Wizard and following the instruction started the configuration. At 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 – 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, it was successful. It became more 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:

  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 good choice over the previous one.

Summary:

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

See Also:

Free download SharePoint Online & Office 365 Administration eBook(238 Pages)

Get the PDF eBook from here:


[purchase_link id="0" style="button" color="blue" text="Free Download SharePoint Online & Office 365 Administration"]

 

 
FREE DOWNLOAD

Send download link to:

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