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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
PMFlorenzano
Helper I
Helper I

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 2
NandanHegde
Super User
Super User

It seems you are using a worng Resource URI to generate OAUTh token.

Can you confirm what resource URI you are using?

plz use the below one : https://analysis.windows.net/powerbi/api




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com

Hello @NandanHegde,

 

I'm using the https://api.powerbi.com/v1.0 as explained within this article below but I'm new at this setup and know that something is not setup right.

 

I have a logic app that I'm using to update several tables within a semantic model

https://learn.microsoft.com/en-us/power-bi/connect-data/asynchronous-refresh#base-url

 

Thank you

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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