Get subscription id

az cli:

az account list | jq '.[].id'

Powershell:

Get-AzSubscription

Resources:
Powershell docs
ClI docs


Revision #2
Created 2023-11-10 05:49:36 UTC by Ryan
Updated 2025-02-12 01:10:52 UTC by Ryan