# Any plan to support Azure AD w/ Tenancy?

**URL:** <https://forum.ansible.com/t/any-plan-to-support-azure-ad-w-tenancy/34011>\
**Category:** AWX Project\
**Tags:** azure, awx\
**Created:** [October 12, 2020, 2:57pm UTC](https://forum.ansible.com/t/any-plan-to-support-azure-ad-w-tenancy/34011 "2020-10-12T14:57:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dsaf](https://avatars.discourse-cdn.com/v4/letter/d/e36b37/32.png) [@dsaf](https://forum.ansible.com/u/dsaf)\
**Post date:** [October 12, 2020, 2:57pm UTC](https://forum.ansible.com/t/any-plan-to-support-azure-ad-w-tenancy/34011/1 "2020-10-12T14:57:25Z")

</div>

Hi! I’m trying to get Azure AD working on AWX, and I can’t seem to find a way to change the `loginmicrosoft.com/common/oauth2` URL to:

`loginmicrosoft.com/{tenant-id}/oauth2/v2.0/authorize`

Looks like the `social-auth` backend is not here(for azure tenancy):

[https://github.com/ansible/awx/blob/ce65ed0ac62f95f96220f073c21cf103ea142285/awx/settings/defaults.py#L349](https://github.com/ansible/awx/blob/ce65ed0ac62f95f96220f073c21cf103ea142285/awx/settings/defaults.py#L349)

[https://python-social-auth.readthedocs.io/en/latest/backends/azuread.html#tenant-support](https://python-social-auth.readthedocs.io/en/latest/backends/azuread.html#tenant-support)

```auto
AUTHENTICATION_BACKENDS = ( ... 'social_core.backends.azuread_tenant.AzureADTenantOAuth2',
...
)

```

---

<div class="post-metadata">

**Author:** ![klaasdemter](https://avatars.discourse-cdn.com/v4/letter/k/3bc359/32.png) [@klaasdemter](https://forum.ansible.com/u/klaasdemter)\
**Post date:** [October 12, 2020, 4:07pm UTC](https://forum.ansible.com/t/any-plan-to-support-azure-ad-w-tenancy/34011/2 "2020-10-12T16:07:58Z")

</div>

I don’t think you need to actually change the url, you can just create an app that is only valid for your org ("_sign-in audience"_ [https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app](https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app))

Greetings

Klaas
