# How to integrate AWX to Windows Active directory.

**URL:** <https://forum.ansible.com/t/how-to-integrate-awx-to-windows-active-directory/32263>\
**Category:** AWX Project\
**Tags:** windows, awx\
**Created:** [February 18, 2020, 4:56pm UTC](https://forum.ansible.com/t/how-to-integrate-awx-to-windows-active-directory/32263 "2020-02-18T16:56:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anburaj\_Palraj](https://avatars.discourse-cdn.com/v4/letter/a/e8c25b/32.png) [@Anburaj\_Palraj](https://forum.ansible.com/u/Anburaj_Palraj)\
**Post date:** [February 18, 2020, 4:56pm UTC](https://forum.ansible.com/t/how-to-integrate-awx-to-windows-active-directory/32263/1 "2020-02-18T16:56:35Z")

</div>

Hi team,

I would like to integrate AWX to Windows Active directory. So kindly share if there is any good documentation to refer to.

---

<div class="post-metadata">

**Author:** ![Mike\_Charchuk](https://avatars.discourse-cdn.com/v4/letter/m/e47774/32.png) [@Mike\_Charchuk](https://forum.ansible.com/u/Mike_Charchuk)\
**Post date:** [February 18, 2020, 5:03pm UTC](https://forum.ansible.com/t/how-to-integrate-awx-to-windows-active-directory/32263/2 "2020-02-18T17:03:01Z")

</div>

[https://www.ansible.com/resources/webinars-training/ldap-authentication-in-red-hat-ansible-tower](https://www.ansible.com/resources/webinars-training/ldap-authentication-in-red-hat-ansible-tower)

---

<div class="post-metadata">

**Author:** ![Angel\_Rengifo\_Cancin](https://avatars.discourse-cdn.com/v4/letter/a/9e8a1a/32.png) [@Angel\_Rengifo\_Cancin](https://forum.ansible.com/u/Angel_Rengifo_Cancin)\
**Post date:** [February 19, 2020, 12:11am UTC](https://forum.ansible.com/t/how-to-integrate-awx-to-windows-active-directory/32263/3 "2020-02-19T00:11:06Z")

</div>

Go to Settings → Authentication → LDAP and complete the appropriate values. These fields might be needed depending on your environment:

LDAP SERVER URI: ldap://IP  
LDAP BIND DN: CN=User,OU=Users,DC=example,DC=COM  
LDAP GROUP TYPE: ActiveDirectoryGroupType  
LDAP USER SEARCH:  
[  
“OU=GMD Users,DC=example,DC=com”,  
“SCOPE\_SUBTREE”,  
“(userPrincipalName=%(user)s)”  
]  
LDAP GROUP SEARCH:  
[  
“DC=example,DC=com”,  
“SCOPE\_SUBTREE”,  
“(objectClass=group)”  
]  
LDAP USER ATTRIBUTE MAP:  
{  
“first\_name”: “givenName”,  
“last\_name”: “sn”,  
“email”: “mail”  
}

Your AD might require TLS for authentication, maybe. Hope it helps

---

<div class="post-metadata">

**Author:** ![Anburaj\_Palraj](https://avatars.discourse-cdn.com/v4/letter/a/e8c25b/32.png) [@Anburaj\_Palraj](https://forum.ansible.com/u/Anburaj_Palraj)\
**Post date:** [February 24, 2020, 1:05pm UTC](https://forum.ansible.com/t/how-to-integrate-awx-to-windows-active-directory/32263/4 "2020-02-24T13:05:52Z")

</div>

Hi Mike,

Thank you very much. Now I have learned how to integrate AWX to Windows active directory and how to allow/restrict to AWX organization/projects.

---

<div class="post-metadata">

**Author:** ![Anburaj\_Palraj](https://avatars.discourse-cdn.com/v4/letter/a/e8c25b/32.png) [@Anburaj\_Palraj](https://forum.ansible.com/u/Anburaj_Palraj)\
**Post date:** [February 24, 2020, 1:07pm UTC](https://forum.ansible.com/t/how-to-integrate-awx-to-windows-active-directory/32263/5 "2020-02-24T13:07:56Z")

</div>

Thank you Angel for your help/support.

Now am able to integrate AWX with windows active directory.
