Skip to content

Commit 9a24775

Browse files
Merge pull request #231688 from seesharprun/patch-2
Cosmos DB | Update how-to-configure-capabilities.md
2 parents 4d661a1 + c0b470c commit 9a24775

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

articles/cosmos-db/mongodb/how-to-configure-capabilities.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,11 @@ Capabilities are features that can be added or removed to your API for MongoDB a
6262
az cosmosdb update \
6363
--resource-group <azure_resource_group> \
6464
--name <azure_cosmos_db_account_name> \
65-
--capabilities EnableMongo, DisableRateLimitingResponses
65+
--capabilities EnableMongo DisableRateLimitingResponses
6666
```
67+
68+
> [!IMPORTANT]
69+
> The list of capabilities must always specify all capabilities you wish to enable, inclusively. This includes capabilities already enabled for the account. In this example, the `EnableMongo` capability was already enabled, so both the `EnableMongo` and `DisableRateLimitingResponses` capabilities must be specified.
6770
6871
> [!TIP]
6972
> If you're using PowerShell and receive an error using the command above, try using a PowerShell array instead to list the capabilities:

0 commit comments

Comments
 (0)