This probably should have been posted to the AWX project group. I believe I have found the issue -- I assumed ( I know bad practice ) that the person that provisioned the azure enterprise app for awx also granted permissions. I discovered today there is no permissions granted. So, therefore we get the 403 error. BTW - This page helped a lot:
Let’s Do DevOps: Dynamic Host Inventories in Azure on Ansible AWX/Tower | by Kyler Middleton | FAUN Publication <https://faun.pub/lets-do-devops-dynamic-host-inventories-in-azure-on-ansible-awx-tower-87437f2838c1> On Tuesday, May 31, 2022 at 6:07:40 AM UTC-7 Jason B wrote: > I am attempting to configure an inventory in AWX for Azure. > > I have created an Azure ARM Credential with my Subscription ID, Tenant ID, > Client ID, and my Client Secret. I am using this ARM Credential in source > configuration for the Inventory. > > I am using AWX v21.0.0 / which uses ansible core 2.12.5.post0 > I am also using the latest version of the azcollection. > > The results of attempting to sync the inventory results in the following: > > *[WARNING]: * Failed to parse /runner/inventory/azure_rm.yml with auto > plugin:* > *a batched request failed with status code 403, url > /subscriptions/dev-null**/providers/Microsoft.Compute/virtualMachines* > > Any suggestion on how to troubleshoot, or other tips would be very helpful. > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/a8b84401-4b0a-4100-be10-11b1919d5be8n%40googlegroups.com.
