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.
2 parents 6f9be68 + e1af2bc commit 9efaa87Copy full SHA for 9efaa87
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