Skip to content

Commit 793b9ed

Browse files
author
Thomas Weiss
committed
Added warning about location param
1 parent 5aed268 commit 793b9ed

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

articles/cosmos-db/how-to-setup-cmk.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ When creating a new Azure Cosmos DB account with PowerShell,
9191
- pass the URI of the Azure Key Vault key copied from step 4 under the **keyVaultKeyUri** property in the **PropertyObject**,
9292
- make sure to use "2019-12-12" as the API version.
9393

94+
> [!IMPORTANT]
95+
> The `Location` parameter has to be set explicitly for the account to be successfully created with CMK.
96+
9497
```powershell
9598
$resourceGroupName = "myResourceGroup"
9699
$accountLocation = "West US 2"
@@ -117,6 +120,9 @@ When creating a new Azure Cosmos DB account through an Azure Resource Manager te
117120
- pass the URI of the Azure Key Vault key copied from step 4 under the **keyVaultKeyUri** property in the **properties** object
118121
- make sure to use "2019-12-12" as the API version
119122

123+
> [!IMPORTANT]
124+
> The `location` parameter has to be set explicitly for the account to be successfully created with CMK.
125+
120126
```json
121127
{
122128
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",

0 commit comments

Comments
 (0)