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. 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/” “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