Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

"AADSTS650057 : Invalid Resource" error HTTP with Azure AD to a custom app (Azure App Proxy)

I am getting the following error when trying to connect the "HTTP with Azure AD" step:


Failed with error: 'AADSTS650057: Invalid resource. The client has requested access to a resource which is not listed in the requested permissions in the client's application registration. Client app ID: 7ab7862c-4c57-491e-8a45-d52a7e023983(App Service). Resource value from request: https://<internal-address> Resource app ID: <my app id>. List of valid resources from app registration: . '. Please sign in again or choose another connection.


This app is an Azure App Proxy to an internal API, protected with Azure AD login. I have gone into Azure Active Directory's App Registrations and made sure under 'API Permissions' it has:
Azure Active Directory Graph: User.Read

ServerAppName: user_impersonation, User.Read


I have looked for 7ab7862c-4c57-491e-8a45-d52a7e023983 in the API permissions but can't find it. 


New Member

I have the exact same issue. It's difficult to know which permission is not yet assigned to the custom APP.


Anybody an idea how to configure this connector?

I want to use it in combination with a API Management

Regular Visitor

Same issue here. Any resolution available?

New Member

quick soloution that worked for me 


go to AAD

enterprise apps 

select your app



and add in a redirect url to


from another forum " Lastly, update the rediect url created in your custom connector, into your client Application registration, remove the existing value and add this newly created one, this is same for all connectors and it is: "

thats the problem 

Helpful resources

MPA 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

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!


Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (49,976)