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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
nka
Frequent Visitor

Application Insights Rest API Refresh Failure on Power BI Service

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!

1 ACCEPTED SOLUTION
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @nka,

 

Based on my research, I found two similar threads, please have a look at suggestions mentioned in below links:

Anonymous access

Power BI Online return Credential Invalid Error on Anonymous Access of API URL

 

Regards,
Yuliana Gu

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

View solution in original post

2 REPLIES 2
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @nka,

 

Based on my research, I found two similar threads, please have a look at suggestions mentioned in below links:

Anonymous access

Power BI Online return Credential Invalid Error on Anonymous Access of API URL

 

Regards,
Yuliana Gu

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

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.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.