# Trying to Setup Azure AD Authentication

**URL:** <https://forum.ansible.com/t/trying-to-setup-azure-ad-authentication/37375>\
**Category:** Ansible Project\
**Tags:** azure, windows, awx\
**Created:** [November 21, 2022, 5:57pm UTC](https://forum.ansible.com/t/trying-to-setup-azure-ad-authentication/37375 "2022-11-21T17:57:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bhanu\_m](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@bhanu\_m](https://forum.ansible.com/u/bhanu_m)\
**Post date:** [November 21, 2022, 5:57pm UTC](https://forum.ansible.com/t/trying-to-setup-azure-ad-authentication/37375/1 "2022-11-21T17:57:01Z")

</div>

Hello Team, I am trying to setup Azure AD authentication for AWX operator. Followed this [https://docs.ansible.com/automation-controller/latest/html/administration/ent\_auth.html#azure-ad-settings](https://docs.ansible.com/automation-controller/latest/html/administration/ent_auth.html#azure-ad-settings). Provided Azure AD client id, secrets and Added redirect uri’s in Azure AD.

Getting azure AD login to the AWX not able to in the awx. I am able to sign-in successfully with ADMIN account.

**Azure AD OAuth2 Organization Map**

{  
“Default”: {  
“users”: true  
}  
}

Azure AD OAuth2 Team Ma

null.

Seeing below logs on AWX POD

2022-11-21 17:27:11,490 WARNING [687901f56ca14d2892656776eee7dd12] awx.api.generics status 404 received by user AnonymousUser attempting to access /api/v2/workflow\_job\_nodes/ from 10.244.5.17

2022-11-21 17:27:11,492 WARNING [687901f56ca14d2892656776eee7dd12] django.request Not Found: /api/v2/workflow\_job\_nodes/

2022-11-21 17:27:11,492 WARNING [687901f56ca14d2892656776eee7dd12] django.request Not Found: /api/v2/workflow\_job\_nodes/

10.244.5.17 - - [21/Nov/2022:17:27:11 +0000] “GET /api/v2/workflow\_job\_nodes/?format=1ScmZkIzO HTTP/1.1” 404 23 “-” “Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; 360SE)” “10.244.5.1”

[pid: 1887|app: 0|req: 657/574556] 10.244.5.17 () {62 vars in 1146 bytes} [Mon Nov 21 17:27:11 2022] GET /api/v2/workflow\_job\_nodes/?format=1ScmZkIzO =\> generated 23 bytes in 37 msecs (HTTP/1.1 404) 12 headers in 409 bytes (1 switches on core 0)

2022-11-21 17:27:11,514 WARNING [bde725b4e35d4973973066f158d5318c] django.request Not Acceptable: /api/v2/applications/2012/.listing

2022-11-21 17:27:11,514 WARNING [bde725b4e35d4973973066f158d5318c] django.request Not Acceptable: /api/v2/applications/2012/.listing

10.244.5.17 - - [21/Nov/2022:17:27:11 +0000] “GET /api/v2/applications/2012/.listing HTTP/1.1” 406 57 “-” “Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; 360SE)” “10.244.5.1”

[pid: 1884|app: 0|req: 677/574557] 10.244.5.17 () {62 vars in 1067 bytes} [Mon Nov 21 17:27:11 2022] GET /api/v2/applications/2012/.listing =\> generated 57 bytes in 39 msecs (HTTP/1.1 406) 7 headers in 279 bytes (1 switches on core 0)

2022-11-21 17:27:11,912 WARNING [d681082ff7ac4672b36fe1969625fb02] django.request Not Acceptable: /api/v2/applications/2012/installer

2022-11-21 17:27:11,912 WARNING [d681082ff7ac4672b36fe1969625fb02] django.request Not Acceptable: /api/v2/applications/2012/installer

10.244.4.15 - - [21/Nov/2022:17:27:11 +0000] “GET /api/v2/applications/2012/installer HTTP/1.1” 406 57 “-” “Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; 360SE)” “10.244.4.1”

[pid: 1887|app: 0|req: 658/574558] 10.244.4.15 () {64 vars in 1097 bytes} [Mon Nov 21 17:27:11 2022] GET /api/v2/applications/2012/installer =\> generated 57 bytes in 37 msecs (HTTP/1.1 406) 7 headers in 279 bytes (1 switches on core 0)

2022-11-21 17:27:12,181 WARNING [ef8e83a906454e7db5ada9dd55cda453] awx.api.generics status 404 received by user AnonymousUser attempting to access /api/v2/workflow\_job\_nodes/ from 10.244.5.17

2022-11-21 17:27:12,183 WARNING [ef8e83a906454e7db5ada9dd55cda453] django.request Not Found: /api/v2/workflow\_job\_nodes/

2022-11-21 17:27:12,183 WARNING [ef8e83a906454e7db5ada9dd55cda453] django.request Not Found: /api/v2/workflow\_job\_nodes/

10.244.5.17 - - [21/Nov/2022:17:27:12 +0000] “GET /api/v2/workflow\_job\_nodes/?format=cK3f2KDn’;%20waitfor%20delay%20’0:0:15’%20–%20 HTTP/1.1” 404 23 “[https://awx-dev01.attwifi.com/](https://awx-dev01.attwifi.com/)” “Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; 360SE)” “10.244.5.1”

[pid: 1887|app: 0|req: 659/574559] 10.244.5.17 () {66 vars in 1345 bytes} [Mon Nov 21 17:27:12 2022] GET /api/v2/workflow\_job\_nodes/?format=cK3f2KDn’;%20waitfor%20delay%20’0:0:15’%20–%20 =\> generated 23 bytes in 44 msecs (HTTP/1.1 404) 12 headers in 409 bytes (1 switches on core 0)

2022-11-21 17:27:12,359 WARNING [58ef654908fc4bbbbbf617fa8609245a] django.request Not Acceptable: /api/v2/ad\_hoc\_commands/2012/include

2022-11-21 17:27:12,359 WARNING [58ef654908fc4bbbbbf617fa8609245a] django.request Not Acceptable: /api/v2/ad\_hoc\_commands/2012/include

10.244.5.17 - - [21/Nov/2022:17:27:12 +0000] “GET /api/v2/ad\_hoc\_commands/2012/include HTTP/1.1” 406 57 “-” “Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; 360SE)” “10.244.5.1”

[pid: 1884|app: 0|req: 678/574560] 10.244.5.17 () {64 vars in 1100 bytes} [Mon Nov 21 17:27:12 2022] GET /api/v2/ad\_hoc\_commands/2012/include =\> generated 57 bytes in 37 msecs (HTTP/1.1 406) 7 headers in 279 bytes (1 switches on core 0)

2022-11-21 17:27:12,363 WARNING [a464b0c0cf66436a9cce156346e39560] django.request Not Acceptable: /api/v2/applications/2012/oldfiles

2022-11-21 17:27:12,363 WARNING [a464b0c0cf66436a9cce156346e39560] django.request Not Acceptable: /api/v2/applications/2012/oldfiles

[pid: 1881|app: 0|req: 754/574561] 10.244.5.17 () {64 vars in 1094 bytes} [Mon Nov 21 17:27:12 2022] GET /api/v2/applications/2012/oldfiles =\> generated 57 bytes in 35 msecs (HTTP/1.1 406) 7 headers in 279 bytes (1 switches on core 0)

10.244.5.17 - - [21/Nov/2022:17:27:12 +0000] “GET /api/v2/applications/2012/oldfiles HTTP/1.1” 406 57 “-” “Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; 360SE)” “10.244.5.1”

2022-11-21 17:27:12,372 WARNING [33a4d89ed4cc4df3b9758022da20d161] django.request Not Acceptable: /api/v2/applications/2012/environment.rb

2022-11-21 17:27:12,372 WARNING [33a4d89ed4cc4df3b9758022da20d161] django.request Not Acceptable: /api/v2/applications/2012/environment.rb

10.244.4.15 - - [21/Nov/2022:17:27:12 +0000] “GET /api/v2/applications/2012/environment.rb HTTP/1.1” 406 57 “-” “Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; 360SE)” “10.224.0.5”

[pid: 1887|app: 0|req: 660/574562] 10.244.4.15 () {62 vars in 1085 bytes} [Mon Nov 21 17:27:12 2022] GET /api/v2/applications/2012/environment.rb =\> generated 57 bytes in 34 msecs (HTTP/1.1 406) 7 headers in 279 bytes (1 switches on core 0)

Please let me know if i missing anything .

Thanks,

Bhanu

---

<div class="post-metadata">

**Author:** ![bhanu\_m](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@bhanu\_m](https://forum.ansible.com/u/bhanu_m)\
**Post date:** [November 23, 2022, 5:30am UTC](https://forum.ansible.com/t/trying-to-setup-azure-ad-authentication/37375/2 "2022-11-23T05:30:45Z")

</div>

Can someone help me on this.

Thanks,  
Bhanu

---

<div class="post-metadata">

**Author:** ![dnmvisser](https://avatars.discourse-cdn.com/v4/letter/d/8e8cbc/32.png) [@dnmvisser](https://forum.ansible.com/u/dnmvisser)\
**Post date:** [November 23, 2022, 11:18am UTC](https://forum.ansible.com/t/trying-to-setup-azure-ad-authentication/37375/3 "2022-11-23T11:18:34Z")

</div>

Hi  
This is the ansible list.  
Your problem seems more of an AWX issue rather than an ansible issue.  
Maybe better response on the dedicated AWX support list

---

<div class="post-metadata">

**Author:** ![bhanu\_m](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@bhanu\_m](https://forum.ansible.com/u/bhanu_m)\
**Post date:** [December 12, 2022, 4:53pm UTC](https://forum.ansible.com/t/trying-to-setup-azure-ad-authentication/37375/4 "2022-12-12T16:53:44Z")

</div>

Thank you
