I am getting a strange error when trying to create Azure Managed Cassandra Cluster from Azure CLI or Auzre Devops pipeline. Here is the error message :-
CLI :-
cli.azure.cli.core.azclierror: (InternalServerError) Unable to cast object of type 'Microsoft.Azure.Cosmos.ServiceFramework.Workflow.Core.EmptyOperation' to type 'Microsoft.Azure.Cosmos.ServiceFramework.Workflow.Core.Operation`1[System.String]'.
ActivityId: 5856118a-ad6b-11ef-90be-a02919dd7a54, Microsoft.Azure.Documents.Common/2.14.0
Code: InternalServerError
Message: Unable to cast object of type 'Microsoft.Azure.Cosmos.ServiceFramework.Workflow.Core.EmptyOperation' to type 'Microsoft.Azure.Cosmos.ServiceFramework.Workflow.Core.Operation`1[System.String]'.
ActivityId: 5856118a-ad6b-11ef-90be-a02919dd7a54, Microsoft.Azure.Documents.Common/2.14.0
az_command_data_logger: (InternalServerError) Unable to cast object of type 'Microsoft.Azure.Cosmos.ServiceFramework.Workflow.Core.EmptyOperation' to type 'Microsoft.Azure.Cosmos.ServiceFramework.Workflow.Core.Operation`1[System.String]'.
ActivityId: 5856118a-ad6b-11ef-90be-a02919dd7a54, Microsoft.Azure.Documents.Common/2.14.0
Code: InternalServerError
Message: Unable to cast object of type 'Microsoft.Azure.Cosmos.ServiceFramework.Workflow.Core.EmptyOperation' to type 'Microsoft.Azure.Cosmos.ServiceFramework.Workflow.Core.Operation`1[System.String]'.
ActivityId: 5856118a-ad6b-11ef-90be-a02919dd7a54, Microsoft.Azure.Documents.Common/2.14.0
Pipeline:-
Unable to cast object of type 'Microsoft.Azure.Cosmos.ServiceFramework.Workflow.Core.EmptyOperation' to type 'Microsoft.Azure.Cosmos.ServiceFramework.Workflow.Core.Operation`1[System.String]'.\r\nActivityId: 84ef274a-ad6a-11ef-b705-a02919dd7a54, Microsoft.Azure.Documents.Common/2.14.0
The command i am trying to execute from both CLI and pipeline is as follows:-
az managed-cassandra cluster create --cluster-name TEST1234 --resource-group <> --location westeurope --delegated-management-subnet-id '/subscriptions/<sub>/resourceGroups/<>/providers/Microsoft.Network/virtualNetworks/TEST1234' --initial-cassandra-admin-password cassandra --cassandra-version '4.0' --debug
Could you please assist ?
</sub>