Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| azure:qnd:azure_cli [2022/06/29 12:04] – [Powershell] mgupton | azure:qnd:azure_cli [2022/10/31 18:12] (current) – [Azure CLI] mgupton | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Azure CLI ====== | ====== Azure CLI ====== | ||
| + | Azure CLI and Powershell | ||
| + | |||
| + | * [[https:// | ||
| + | |||
| + | <code powershell> | ||
| + | az login --tenant <tenant id> | ||
| + | </ | ||
| + | |||
| + | <code powershell> | ||
| + | az account set --subscription < | ||
| + | </ | ||
| + | |||
| ====== Powershell ====== | ====== Powershell ====== | ||
| + | ===== Login Sequence ===== | ||
| + | < | ||
| + | Connect-AzAccount | ||
| + | Get-AzSubscriptions | ||
| + | Set-AzContext | ||
| + | </ | ||
| + | |||
| === Login (via GUI prompt) === | === Login (via GUI prompt) === | ||
| <code powershell> | <code powershell> | ||