Azure CLI Get Current Subscription details
You could use az account show
to do it, if you do not specify the property, it gets the the details of the current subscription.
For more details, refer to this link.
You can run : az account list -o table
.
The output will be a list of resources in table form.
The details of your current subscription will be on line with IsDefault = True
.
Highlighted in green in the figure below.