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
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
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.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.