cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Issue with OAuth 2.0 authentication

Hello Everybody!

I am facing an issue to connect PowerBI Service to an Excel file on OneDrive. I created the visuals on PowerBI Desktop and when I update the file on OneDrive, the Desktop version updates accordingly without any issues. However, when I published the file to PowerBI service and tried to update the Dataset, the changes would not reflect on the Dashboards. I got the following error: “Your data source can't be refreshed because the credentials are invalid. Please update your credentials and try again.” I clicked on “Edit Credentials” and adjusted the authentication method for OAuth2 and I got the following message: “You need to use SSL (HTTPS) when you use OAuth 2.0 authentication.” Also, a new window popped up asking for me to choose an account to log in. I clicked on my account (the same one I use for logging in PowerBI Desktob and PowerBI Service) and then I am redirected to PowerBI’s homepage but I am still not able to update the Dataset.

Anyone had a similar problem and knows how to solve it?

Thanks in advance!

1 ACCEPTED SOLUTION

I tried swithching the Web navigator from Edge to Chrome and it worked just fine

View solution in original post

3 REPLIES 3
Community Support
Community Support

Hi @thomas_v 

 

Based on my test, it works fine on my side, please kindly check my setting below:

01.PNG02.PNG

 

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

Hi @v-diye-msft, thanks for your reply! 

 

I've adjusted my settings accordingly but I still face the same issue (You need to use SSL (HTTPS) when you use OAuth 2.0 authentication.)

 

Error_1jpg.jpgError2.PNG

I tried swithching the Web navigator from Edge to Chrome and it worked just fine

View solution in original post

Helpful resources

Announcements
secondImage

Happy New Year from Power BI

This is a must watch for a message from Power BI!

December Update

Check it Out!

Click here to read more about the December 2020 Updates!

Community Blog

Check it Out!

Click here to read the latest blog and learn more about contributing to the Power BI blog!

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Top Solution Authors