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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Kudoed Authors