Notifications
Announcements
Hi All,
When I try to access the Power App end point, https://api.powerapps.com/providers/Microsoft.PowerApps/apps/{appName},
its throwing the below error.
{
"error": {
"code": "InvalidAuthenticationAudience",
"message": "The received access token has been obtained from wrong audience or resource 'https://api.powerapps.com/'. It should exactly match (including forward slash) with one of the allowed audiences 'https://service.powerapps.com/','https://management.core.windows.net/','https://management.azure.com/','https://service.flow.microsoft.com/','https://web.powerapps.com','https://apps.powerapps.com','https://api.bap.microsoft.com/'."
}
I have attached the App permissions registered in Azure. Please help me in fixing this issue.
Actually, I am trying to use this end point to get the Power App details by passing the App Name. Please help me in identifying the correct API here. Thank you.
Not sure where you got that URL for retrieving App metadata, but I don't think there is a supported message for this yet. In fact, i happen to know that it is still considered a "planned" feature. Upvote the idea to encourage them to prioritize this, but as far as I know there is still no supported app metadata API call.
Hi, thank you for your reply.
I have taken this URL (https://api.powerapps.com/providers/Microsoft.PowerApps/apps/{appName}) from the PowerApps administration PowerShell @ https://www.powershellgallery.com/packages/Microsoft.PowerApps.Administration.PowerShell/2.0.1/Content/Microsoft.PowerApps.Administration.PowerShell.psm1
I thought, the end point will work in the same way as used in the script. But seems to be not 😞
Thank you.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Kalathiya 445
WarrenBelz 386 Most Valuable Professional
MS.Ragavendar 321 Super User 2025 Season 2