Forum Discussion

PragmaticMan's avatar
PragmaticMan
Regular Visitor
3 years ago

PowerBI DataSet Refresh error when using service principal as datasource credential

I am getting an error when I set the Datasource credential to a service principal.  

Error: 

  • Data source errorCOM error: Microsoft.ServicePlatform, Internal error Can't convert ServicePrincipal to proper M credential Type.. Table: AI_SLA_MONTHLY.
  • Cluster URIWABI-WEST-US-redirect.analysis.windows.net

 

I created a query in Azure AppInsights and I exported that query to PowerBI as a dataset.  I then changed the credential for the datasource "url":"https://api.applicationinsights.io/v1/apps/<log-analytics-id>/query" to my service principal.  I used the Manage Connections and gateways settings menu.  

Can someone help me figure out how to refresh this data as a service principal. 

4 Replies