AADSTS700023: Token request has a scope without a valid resource
The token request has a scope without a valid resource.
What to check
- Check that the scope identifies an API and permission the token endpoint accepts.
Official reference
Microsoft Learn: AADSTS error codes
Microsoft error lookup
Message summary: The lookup reports a mismatch between the client assertion audience and the realm issuer. If your response mentions an assertion, compare aud with the value the realm expects.
Microsoft does not provide a separate remediation in the lookup.
Open AADSTS700023 in Microsoft’s lookup
Microsoft Learn: Microsoft identity platform certificate credentials - Microsoft identity platform