AADSTS901002: Endpoint does not support the resource parameter
This endpoint does not support the resource parameter.
What to check
- Check the endpoint version and use the documented
scopeparameter for a v2 OAuth request.
Official reference
Microsoft Learn: AADSTS error codes
Microsoft error lookup
Message summary: The lookup uses the name of the unsupported request parameter. It does not give a fixed name in the published template.
Fields in the message template: {name}.
Microsoft does not provide a separate remediation in the lookup.