azureblog.co.uk
← cd ~/errors
// entra id sign-in error · consent and permissions

AADSTS650057

What Microsoft says

Invalid resource. The client has requested access to a resource which isn't listed in the requested permissions in the client's application registration. Client app ID: {appId}({appName}). Resource value from request: {resource}. Resource app ID: {resourceAppId}. List of valid resources from app registration: {regList}.

How to fix it

Microsoft doesn't publish a specific fix for this code beyond the description above. This site groups it under consent and permissions, based on that description, so start with the steps below.

How to investigate

  1. Open the Enterprise App and check Users and groups (assignment) and Permissions (consent).
  2. Check whether user consent is allowed for this kind of permission, or whether an admin needs to grant it.
  3. Look at the app's requested permissions in the sign-in request or app registration.
  4. Search the sign-in logs for the request ID or correlation ID from the troubleshooting details on the error page.

Tools that help

The description is quoted from Microsoft's error code reference. The grouping and investigation steps are this site's guidance.