"Your credentials aren't allowed" issue with Azure AD authentication

Hello,

I’m having issues with the Azure AD authentication / usage in AWX.

Just installed and configured AWX, I can login fine with the built-in admin account.

I went into Azure AD, created my App Registration, gave the proper permissions (“Read directory data” in both Application and Delegated permissions, “Access the directory as the signed-in user” and “Sign in and read user profile” in Delegated permissions), granted permissions in AAD, copied the Application ID in “Azure AD Oauth2 Key”, and the Object ID in “Azure AD Oauth2 Secret”.
I then configured the Organization Map as follows:

{ "Default": { "users": true } }

Saved, logged out, tried to connect: “Your credentials aren’t allowed”.

I can’t figure out why this is happening. Does anyone have any clue ?

Thanks in advance!

Bump! Still need help with this, haven’t been able to figure it out just yet! :frowning:
Any help would be greatly appreciated.
Thanks!

Hi Alex,

I wonder if this might be related to this issue with multiples so backends: (https://github.com/ansible/awx/issues/1418). The time line matches. Are you seeing any “multiple authentication backend” errors in your logs?

Thanks,
Christian

I too am stuck with this. did you had any luck resolving this.