unauthorized_client: Application cannot use the requested grant type
This application cannot use the requested grant type.
What to check
- Check whether the app is registered in the target tenant and whether its platform supports the requested flow.
Official reference
Microsoft Learn: Handling authentication errors in your application