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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors