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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Unable to authenticate to Web API in Power BI service using an API key

Hello,

 

I am creating a report on application insights logs and authenticating to application insights resource from Power BI report using API key 
I am able to authenticate from Power BI desktop by adding updating the power query as below:

let AnalyticsQuery =
let Source = Json.Document(Web.Contents("https://api.applicationinsights.io/v1/apps/***********/query",
[ApiKeyName="api_key",Query=[#"query"="customEvents...

I would like to know how can I authenticate in Power BI service using API key or how can I authenticate anonymously

TharunKumar_0-1666885462566.png




Status: Investigating

Hi @Anonymous ,

 

Can the following links help you ?

How to Authenticate a REST API in Power BI? - Microsoft Power BI Community

Power Query Web connector - Power Query | Microsoft Learn

 

Best regards,

Community Support Team Selina zhu

Comments
v-mengzhu-msft
Community Support
Status changed to: Investigating

Hi @Anonymous ,

 

Can the following links help you ?

How to Authenticate a REST API in Power BI? - Microsoft Power BI Community

Power Query Web connector - Power Query | Microsoft Learn

 

Best regards,

Community Support Team Selina zhu