azure-docs icon indicating copy to clipboard operation
azure-docs copied to clipboard

Invalid capability EnableUniqueCompoundNestedDocs

Open CorrenSoft opened this issue 2 years ago • 1 comments

This page has been recently updated adding this capability as available. However, following the provided steps I was unable to make work.

az cosmosdb update --resource-group test-mongo-database --name test-mongo-db0003 --capabilities @("EnableMongo", "EnableUniqueCompoundNestedDocs")
(BadRequest) Invalid capability EnableUniqueCompoundNestedDocs.
ActivityId: 87324f08-61de-11ed-83fe-f875a4ad18aa, Microsoft.Azure.Documents.Common/2.14.0
Code: BadRequest
Message: Invalid capability EnableUniqueCompoundNestedDocs.
ActivityId: 87324f08-61de-11ed-83fe-f875a4ad18aa, Microsoft.Azure.Documents.Common/2.14.0

I got similar output when a tried with create instead of update (az CLI version 2.42.0)

So, I don't know if there are missing steps/details to this specific capability, or if it is a bug in the product or is not yet available. In any case, this needs to be reviewed and addressed.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

CorrenSoft avatar Nov 11 '22 17:11 CorrenSoft

@CorrenSoft Thank you for your feedback. We are reviewing this and will get shortly.

Oury-MSFT avatar Nov 11 '22 19:11 Oury-MSFT

@CorrenSoft Are you trying to add this capability EnableUniqueCompoundNestedDocs? I am trying to test that from my end and will let you know.

Oury-MSFT avatar Nov 16 '22 11:11 Oury-MSFT

@CorrenSoft, I am getting exacctly the same error message as you . image @gahl-levy any inputs on this. Is this a product bug.?

Oury-MSFT avatar Nov 16 '22 12:11 Oury-MSFT

@CorrenSoft This is confirmed as a bug. The capability is available, but the ability to use it externally is blocked by a deployment, which is blocked by the holidays. Could you please file a support ticket to get this enabled for your account right away. The product group will revert the docs change until the capability is available. Apologies for this issue and thank you for bringing this into our attention.

Oury-MSFT avatar Nov 16 '22 17:11 Oury-MSFT

Thanks for the update and the recommendation. I will skip that step thou because wasn't trying to implement this for myself but in Terraform's provider (https://github.com/hashicorp/terraform-provider-azurerm/issues/19192).

A notification when this is ready will be great :)

Thanks again.

CorrenSoft avatar Nov 16 '22 20:11 CorrenSoft

Sure @CorrenSoft Our produc group will update the doc when this capability will be available.

Oury-MSFT avatar Nov 16 '22 21:11 Oury-MSFT