ARI
ARI copied to clipboard
No subscription found on Azure Government tenant
Hi. This script is saying I don't have any subscriptions on my Microsoft Azure Government Tenant.
I am a member of the Owner role for the subscription.
It does work correctly on one of my other non-government tenants.
Love the output so I really want to get it working on the government tenant.
The attached image shows the unsuccessful attempt to inventory my government tenant.
Thank you.

I figured out the issue. I needed to switch to the Government cloud first via az cli BEFORE running this script.
az cloud set --name AzureUSGovernment
THANK YOU!