We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce2a885 commit e1af2bcCopy full SHA for e1af2bc
articles/key-vault/key-vault-subscription-move-fix.md
@@ -42,7 +42,7 @@ Set-AzResource -ResourceId $vaultResourceId -Properties $vault.Properties # Mod
42
Or you can use the Azure CLI.
43
44
```azurecli
45
-az account set <your-subscriptionId> # Select your Azure Subscription
+az account set -s <your-subscriptionId> # Select your Azure Subscription
46
tenantId=$(az account show --query tenantId) # Get your tenantId
47
az keyvault update -n myvault --remove Properties.accessPolicies # Remove the access policies
48
az keyvault update -n myvault --set Properties.tenantId=$tenantId # Update the key vault tenantId
0 commit comments