Forum Discussion

PMFlorenzano's avatar
PMFlorenzano
Helper I
1 year ago

The resource principal named https://api.powerbi.com was not found in tenant named [Tenant Name]

Hello,

 

I built a logic app that will process a number of tables when triggered.  We were using Azure Analysis Services but switched over to Power BI Premium Semantic Models.

 

I'm using the correct endpoint for the connection but for some reason, I'm seeing the following error message:

BadRequest. Http request failed as there is an error getting AD OAuth token: 'AADSTS500011: The resource principal named https://api.powerbi.com was not found in the tenant named nnnnnnnn. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You might have sent your authentication request to the wrong tenant. Trace ID: xxxxx xxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxxxx Correlation ID: nnnnnnnn-nnnn-nnnn-nnnn-nnnnnnnnnnnnnTimestamp: 2024-09-30 19:31:52Z'.


Below is the URI format that I'm using
https://api.powerbi.com/v1.0/myorg/groups/xxxxx xxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxxxx/datasets/xxxxx xxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxxxx/refreshes

 

Any help would be greatly appreciated

2 Replies