AADSTS65005: App's resource or permission configuration is invalid
The app's resource or permission configuration is invalid.
What to check
- Check the app's requested permissions against the APIs and permissions the resource exposes.
Official reference
Microsoft Learn: AADSTS error codes
Microsoft error lookup
Message summary: The lookup names the scope that does not exist and the application that asked for it.
Fields in the message template: {name}, {scope}.
Microsoft does not provide a separate remediation in the lookup.