background
← Back to all provider errors

Microsoft

unauthorized_client — Unauthorized client

Client not authorized to use this authorization grant type.

Riposte solution

The Azure AD app is not authorized to use the requested grant type. For example, maybe a client trying to use resource owner password or another disallowed flow. Make sure you're using the standard authorization code flow with Riposte. If this error appears, verify your Azure AD app's settings allow the type of flow or permission you're attempting. Adjust the app registration or use a supported flow, then reinitiate auth.

Quick facts

Provider
Microsoft
Endpoint / surface
Azure AD OAuth 2.0
Status code
400

Why it happens

[App not registered/consented; Disallowed grant]

How to fix it

[Register app; grant consent; enable flow]