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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I made some reports using Application Insights Rest API on Power BI Desktop and uploaded them to Power BI Service. When I refresh data on Power BI Desktop, it works without problem. However, when I try refreshing data on Power BI Service, I get this error.
"Your data source can't be refreshed because the credentials are invalid. Please update your credentials and try again."
The API should work with Anonymous authentication method because the X-API-Key is provided in the header of the API. Can anyone help me solve this issue? Thanks a lot!
Solved! Go to Solution.
Hi @nka,
Based on my research, I found two similar threads, please have a look at suggestions mentioned in below links:
Power BI Online return Credential Invalid Error on Anonymous Access of API URL
Regards,
Yuliana Gu
Hi @nka,
Based on my research, I found two similar threads, please have a look at suggestions mentioned in below links:
Power BI Online return Credential Invalid Error on Anonymous Access of API URL
Regards,
Yuliana Gu
Thanks a lot @v-yulgu-msft,
I found the API URL does not accept an anonymous access at the root or subsequent levels. Therefore, I will use analytics queries instead.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 56 | |
| 55 | |
| 32 | |
| 18 | |
| 14 |