Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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.
I successfully resolved this matter by following these steps:
You can find this checklist here.
@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