Skip to main content
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

New Member

Data Source Credential error upon using Oath 2.0 to refresh SharePoint data

I am trying to refresh Power BI dashboard from excel in Sharepoint location. We are using OAuth2 authentication. While setting up the credential I am getting below error.


You need to use SSL (HTTPS) when you use OAuth 2.0 authentication.


Please let us know how to resolve the issue.

New Member

I successfully resolved this matter by following these steps:

  1. Confirm that your browser has pop-ups enabled.
  2. If the issue persists despite enabling pop-ups and you're not using Microsoft Edge, consider making the switch to Microsoft Edge.

You can find this checklist here.

Microsoft Employee
Microsoft Employee


Have you enabled Multi-factor authentication(MFA) in your environment? If so, the above error will throw in this case and this behavior is by design. The workaround is to disable the MFA for the account.


Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors