Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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.
I see Fabric Change the Game: Revolutionizing Fabric with REST API, Part 1 | Microsoft Fabric Blog | Micro... but it doesn;t mention the audience name.
Thanks
David
Hi @Db111,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the community members for the issue worked. If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.
Thanks and regards
Hi @Db111,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If our responses has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.
Hi @Db111,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Thanks but can you confirm what audience name I should use if it is a generic one for Power BI, or alternatively if it is unique per environment how I should ascertain it?
Hi @Db111,
Please try using https://management.azure.com/
your Logic App will request an access token appropriate for Azure Management API operations, resolving the authentication error you're encountering.
If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a KUDOS. Feel free to reach out if you need further assistance.
Thanks and Regards
Hi @Db111,
Thanks for reaching out to the Microsoft fabric community forum.
I’ve reviewed the referenced article, and it primarily discusses automating artifact creation using the REST API. However, I’d like to better understand your specific requirement. Could you clarify which aspect you believe is missing or where you think additional data is needed? This will help ensure we address your request accurately.
The referenced article explores different methods of utilizing REST APIs within Fabric. It covers managing workspaces, assigning permissions, creating and executing data pipelines, and handling workspace operations such as creation and deletion. Additionally, it discusses how to pause and resume Fabric activities using the management API, which is particularly useful for users with active Fabric capacities beyond the trial period.
If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a KUDOS. Feel free to reach out if you need further assistance.
Thanks and Regards
Sorry - here is more detail. The Logic App is attempting to connect to the capacity via the App Registration method as described in the article but get:
Http request failed as there is an error getting AD OAuth token: 'AADSTS500011: The resource principal named https://login.microsoftonline.com was not found in the tenant
Here it the Logic App code where I have guessed the required 'audience' parameter (which appears to be wrong based on the error message)
{
"type": "Http",
"inputs": {
"uri": "https://management.azure.com/subscriptions/[oursubscription]/resourceGroups/[ourFabricRG]/providers/... fabric name]/resume?api-version=2023-11-01",
"method": "POST",
"authentication": {
"type": "ActiveDirectoryOAuth",
"tenant": "our tenant id",
"audience": "https://login.microsoftonline.com",
"clientId": "app registration id",
"secret": "secret"
}
}
Thanks
Hi @Db111,
Thanks for reaching out to the Microsoft fabric community forum.
To resolve this issue, start by verifying that the application (resource principal) is properly registered in your Microsoft Entra ID tenant. Navigate to the Azure portal, go to Microsoft Entra ID > Enterprise Applications, and ensure the application is listed and correctly configured. Next, confirm that the resource application has been consented to by an administrator or a user in the tenant by checking its permissions and consent status under Microsoft Entra ID > Enterprise Applications. Additionally, verify that the resource URL in the error message matches the provisioned resource application in your tenant ID and ensure that the authentication request is sent using the correct resource URL. Lastly, check that the tenant ID in the error message matches your own and confirm that the authentication request is directed to the correct Microsoft Entra ID tenant.
This document contains more details to the error you are receiving: Error AADSTS500011 - Resource Principal Not Found | Microsoft Learn
If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a KUDOS. Feel free to reach out if you need further assistance.
Thanks and Regards
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
9 | |
8 | |
4 | |
2 | |
2 |
User | Count |
---|---|
4 | |
3 | |
3 | |
3 | |
2 |