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

Regular Visitor

OAuth2 option gone missing or won't connect to O365 Sharepoint



i have a report / dataset with xlsx files on Sharepoint. The autorefresh was working just fine, till i needed to refresh the token.




Now when i try to enter the credentials, i have 2 problems


1, The OAuth2 option is not available at all -- however xlsx sources should be picked up via OAuth2 accoring to the docs, as well as from the past experience it was the only option that worked.




2, Trying repeatedly, sometimes the OAuth2 option is there, and i try the connection, however it fails:




i am puzzled and wonder if this is a temporary issue with SP / O365 / PowerBI or something .. i spent an hour trying but mostly i won't even get the OAuth2 option to show .. and when i do, there is only this request failed error (tried all kinds of privacy settings.


Please advise and best regards


Community Support
Community Support

Hi @simonbcky ,


Try to upgrade the gateway to latest version.


If you still have this issue for Power BI, you'd better create a support ticket in Power BI Support to get further help.


Best Regards,



If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.


Hi @v-xicai ,


thanks for the prompt reply .. sorry i was not clear enough.. this is about an all-online scenario -- the xlsx files are on O365 Sharepoint and Power BI service connects to them via the recommended OAuth2 authentication.


thanks and best regards


Not applicable

I'm running into the same situation.  I have several datasets that I'm unable to refresh now, but was able to refresh a few weeks ago.  The only change I can see from my side is that I'm no longer able to use OAUTH2 credentials anymore.

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.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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


Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors