Azure / Azure/azure-cli

az account set has no option to define IsDefault

Open
#13,817 2 comments 0 reactions 0 assignees View on GitHub
Account act-identity-squad feature-request
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**Is your feature request related to a problem? Please describe.**
Missing functionality. `az account set` does not have an option to specify the default subscription (set IsDefault), unlike PowerShell's Select-AzureSubscription command with the -Default parameter.

**Describe the solution you'd like**
support a `--default` flag for `az account set` to make it feature complete compared with PowerShell.

**Describe alternatives you've considered**
n/a

**Additional context**
This is the corresponding PowerShell command
https://docs.microsoft.com/en-us/powershell/module/servicemanagement/azure/select-azuresubscription?view=azuresmps-4.0.0

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.