Issues connecting native app to Azure AD using ROPG flow

Problem statement

We are experiencing an issue while trying to use Auth0 to authenticate a user on our company’s Azure Active Directory using the Resource Owner Password Flow. We receive the following error:

{
"error":"invalid_request",
"error_description":"specified strategy does not support requested operation (undefined)"
}

Cause

Azure AD does not support using ROPG when the Microsoft Identity Platform (v2) is selected in the connection settings.

Solution

In your Azure AD connection settings in the Auth0 Dashboard, select Azure Active Directory (v1).

You can read more about how to Connect Your Native App to Microsoft Azure Active Directory Using Resource Owner Flow in the following doc: