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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
debanjan
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.

2 REPLIES 2
YohanEisenbah
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.

v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@debanjan

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.

Regards,
Lydia

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

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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