Getting 403 Error when using azure.azcollection.azure_rm

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.

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