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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount 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.

Anonymous
Not applicable

@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

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors