ARI icon indicating copy to clipboard operation
ARI copied to clipboard

No subscription found on Azure Government tenant

Open rdameron opened this issue 4 years ago • 1 comments

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.

image

rdameron avatar Feb 28 '22 21:02 rdameron

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!

rdameron avatar Mar 01 '22 22:03 rdameron