AADSTS50164: Access token was issued for another purpose
The access token was issued for another purpose.
What to check
- Check the purpose named in the response and acquire a token for the operation that needs it.
Official reference
Microsoft Learn: AADSTS error codes
Microsoft error lookup
Message summary: The access token was issued for another purpose.
Fields in the message template: {name}.
Microsoft does not provide a separate remediation in the lookup.