cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CorMicah
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>.msappproxy.net/. 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. 

 

4 REPLIES 4
driesdewulf
New Member

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

Christoph
Microsoft
Microsoft

Anybody an idea how to configure this connector?

I want to use it in combination with a API Management

SimonRekers
Regular Visitor

Same issue here. Any resolution available?

samiali15
New Member

quick soloution that worked for me 

 

go to AAD

enterprise apps 

select your app

connections

 

and add in a redirect url to 

https://global.consent.azure-apim.net/redirect

 

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: https://global.consent.azure-apim.net/redirect "

thats the problem 

Helpful resources

Announcements
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 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

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (33,935)