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

AADSTS28003

What Microsoft says

Provided value for the input parameter scope can't be empty when requesting an access token using the provided authorization code. 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

  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.