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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
jarkelen
New Member

Refresh not possible in Power BI online

Hi,

 

I have a report with a web API as data source. The authentication is Anonymous and the privacy level is Public:

jarkelen_0-1684748495902.png

The actual authentication is within where it uses a Bearer token to authenticate:

jarkelen_1-1684748547316.png

This works fine in Power BI Desktop, when I click the Refresh button the data gets refreshed.

However, in Power BI online this fails, the settings are the same however:

jarkelen_3-1684748738833.png

So I have no idea why it is working in Desktop but failing Online?

Any ideas would be appreciated!

 

 

1 ACCEPTED SOLUTION
ibarrau
Super User
Super User

Hi. Have you tried skipping the test connection? APIs can be difficult to validate authentication at service. Desktop will just run code without validations. I have a similar issue with power bi rest api that was fixed just skipping the text for the request.

I hope that helps,


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

Happy to help!

LaDataWeb Blog

View solution in original post

2 REPLIES 2
ibarrau
Super User
Super User

Hi. Have you tried skipping the test connection? APIs can be difficult to validate authentication at service. Desktop will just run code without validations. I have a similar issue with power bi rest api that was fixed just skipping the text for the request.

I hope that helps,


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

Happy to help!

LaDataWeb Blog

Yes! That made the difference indeed!

Thanks, wasn't expecting that this would make a difference.

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

Top Solution Authors
Top Kudoed Authors