cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ratna_Satish
Regular Visitor

PowerApp End Point to Get App Details

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

  }

}

 

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.

 

2 REPLIES 2
cchannon
Solution Supplier
Solution Supplier

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.

Ratna_Satish
Regular Visitor

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

 

I thought, the end point will work in the same way as used in the script. But seems to be not 😞

 

Thank you.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Users online (77,533)