← cd ~/errors
// entra id sign-in error · consent and permissions
AADSTS28002
What Microsoft says
Provided value for the input parameter scope '{scope}' isn't valid when requesting an access token. Specify a valid scope.
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
- Open the Enterprise App and check Users and groups (assignment) and Permissions (consent).
- Check whether user consent is allowed for this kind of permission, or whether an admin needs to grant it.
- Look at the app's requested permissions in the sign-in request or app registration.
- 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.