Using the Powershell Azure module, is there a way to get the active subscription ID?
I can set the subscription using Set-AzContext
, but Get-AzContext
returns the subscription name without a specific ID
column
Get-AzSubscription
returns a list of subscriptions, but not the active subscription.