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

**URL:** <https://forum.ansible.com/t/your-credentials-arent-allowed-issue-with-azure-ad-authentication/27196>\
**Category:** AWX Project\
**Tags:** azure, awx\
**Created:** [April 5, 2018, 5:04pm UTC](https://forum.ansible.com/t/your-credentials-arent-allowed-issue-with-azure-ad-authentication/27196 "2018-04-05T17:04:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex\_Pilon](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@Alex\_Pilon](https://forum.ansible.com/u/Alex_Pilon)\
**Post date:** [April 5, 2018, 5:04pm UTC](https://forum.ansible.com/t/your-credentials-arent-allowed-issue-with-azure-ad-authentication/27196/1 "2018-04-05T17:04:15Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![Alex\_Pilon](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@Alex\_Pilon](https://forum.ansible.com/u/Alex_Pilon)\
**Post date:** [April 23, 2018, 3:37pm UTC](https://forum.ansible.com/t/your-credentials-arent-allowed-issue-with-azure-ad-authentication/27196/2 "2018-04-23T15:37:38Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Christian\_Adams](https://avatars.discourse-cdn.com/v4/letter/c/ba8739/32.png) [@Christian\_Adams](https://forum.ansible.com/u/Christian_Adams)\
**Post date:** [April 23, 2018, 3:54pm UTC](https://forum.ansible.com/t/your-credentials-arent-allowed-issue-with-azure-ad-authentication/27196/3 "2018-04-23T15:54:02Z")

</div>

Hi Alex,

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

Thanks,  
Christian

---

<div class="post-metadata">

**Author:** ![Krishna\_Chaitanya\_Ch](https://avatars.discourse-cdn.com/v4/letter/k/e99b99/32.png) [@Krishna\_Chaitanya\_Ch](https://forum.ansible.com/u/Krishna_Chaitanya_Ch)\
**Post date:** [November 8, 2018, 12:11pm UTC](https://forum.ansible.com/t/your-credentials-arent-allowed-issue-with-azure-ad-authentication/27196/4 "2018-11-08T12:11:43Z")

</div>

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