Unable to create Azure Managed Cassandra Cluster with CLI and Azure PIPELINE

Manish Vishnoï 21 Reputation points
2024-11-28T10:22:05.0966667+00:00

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>

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
40,284 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. SadiqhAhmed-MSFT 47,571 Reputation points Microsoft Employee
    2024-11-29T13:58:52.0433333+00:00

    @Manish Vishnoï Greetings!

    Azure DevOps is currently not supported in the Q&A forums, the supported products are listed over here - https://docs.microsoft.com/en-us/answers/products (more to be added later on).

    The product group for Azure DevOps / TFS actively monitors questions over at

    https://developercommunity.visualstudio.com/report?space=21&entry=problem

    https://developercommunity.visualstudio.com/report?space=22&entry=problem


    Please do not forget to "Accept the answer" and "Up-Vote" wherever the information provided helps you to help others in the community.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.