My Mongo cluster on Azure CosmosDB fails to create and deploy everytime

Abhishek Jaiswal 20 Reputation points
2025-02-18T17:55:06.8833333+00:00

I am attaching my JSON output from the failed activity log here:

{
    "authorization": {
        "action": "Microsoft.DocumentDB/mongoclusters/write",
        "scope": "/subscriptions/9611ca08-3a18-4c87-a250-12dbeb2eaaeb/resourcegroups/Pharmansh-Resource-Group-1/providers/Microsoft.DocumentDB/mongoclusters/pharmansh-admin-cluster"
    },
    "caller": "******@pharmansh.com",
    "channels": "Operation",
    "claims": {
        "aud": "https://management.core.windows.net/",
        "iss": "https://sts.windows.net/4288fb8e-0344-411b-b935-a42384cb528a/",
        "iat": "1739713260",
        "nbf": "1739713260",
        "exp": "1739728291",
        "http://schemas.microsoft.com/claims/authnclassreference": "1",
        "aio": "AbQAS/8ZAAAAzj3/11ug2It2JbofoxXujHgwOXMasT0lZYQCogvD0YXSB0W2GqPbIhQe/+kOlmt8iawIVOJ0P7qnAJc7ySjc+JylVXRg/oV1sy3lT0qcU8XJudaFbvMxVzzgtIkSVnXhpevYBZ8HQFRBwE0wDP25TLy1OL1DuCJ4KOTNxuX19NJOyUSeOa6HA7wcx7+PqeVf9bOX+NLahzKrpgpw+7JqMVZD/bxfaMbNSRx0nQttK2w=",
        "altsecid": "1:live.com:000340028581F449",
        "http://schemas.microsoft.com/claims/authnmethodsreferences": "pwd,mfa",
        "appid": "c44b4083-3bb0-49c1-b47d-974e53cbdf3c",
        "appidacr": "0",
        "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress": "******@pharmansh.com",
        "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname": "Jaiswal",
        "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname": "Abhishek",
        "groups": "aa8eb0c6-6af5-4e49-9f9f-e78046e99839",
        "http://schemas.microsoft.com/identity/claims/identityprovider": "live.com",
        "idtyp": "user",
        "ipaddr": "2405:201:22:b16d:6524:cf24:b06:8b2e",
        "name": "Abhishek Jaiswal",
        "http://schemas.microsoft.com/identity/claims/objectidentifier": "3902472d-aa70-41c3-bb12-20b436d81d7e",
        "puid": "100320043252DA36",
        "rh": "1.AcYAjvuIQkQDG0G5NaQjhMtSikZIf3kAutdPukPawfj2MBPGAIfGAA.",
        "http://schemas.microsoft.com/identity/claims/scope": "user_impersonation",
        "sid": "0020fd69-a75a-5554-2763-08087d7b6f6b",
        "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier": "NKTw-H1ysHw7uo21q2Gs22ATlKW5Jgf1EVZEWT3pZ24",
        "http://schemas.microsoft.com/identity/claims/tenantid": "4288fb8e-0344-411b-b935-a42384cb528a",
        "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name": "live.com#******@pharmansh.com",
        "uti": "RN-a3F220UCUkfNgymC3AA",
        "ver": "1.0",
        "wids": "62e90394-69f5-4237-9190-012177145e10",
        "xms_edov": "true",
        "xms_idrel": "24 1",
        "xms_tcdt": "1736774231",
        "correlationid": "0676518e-7ccb-4172-9509-b0aa385c67d8"
    },
    "correlationId": "0676518e-7ccb-4172-9509-b0aa385c67d8",
    "description": "",
    "eventDataId": "ddc324b9-34cb-4dac-99b0-34b1b7c92c31",
    "eventName": {
        "value": "EndRequest",
        "localizedValue": "End request"
    },
    "category": {
        "value": "Administrative",
        "localizedValue": "Administrative"
    },
    "eventTimestamp": "2025-02-16T14:10:00.7196588Z",
    "id": "/subscriptions/9611ca08-3a18-4c87-a250-12dbeb2eaaeb/resourcegroups/Pharmansh-Resource-Group-1/providers/Microsoft.DocumentDB/mongoClusters/pharmansh-admin-cluster/events/ddc324b9-34cb-4dac-99b0-34b1b7c92c31/ticks/638753118007196588",
    "level": "Error",
    "operationId": "af20af12-3ef0-41ab-b864-1e6c6e0b7f0c",
    "operationName": {
        "value": "Microsoft.DocumentDB/mongoClusters/write",
        "localizedValue": "Create or Update Mongo Cluster"
    },
    "resourceGroupName": "Pharmansh-Resource-Group-1",
    "resourceProviderName": {
        "value": "Microsoft.DocumentDB",
        "localizedValue": "Microsoft.DocumentDB"
    },
    "resourceType": {
        "value": "Microsoft.DocumentDB/mongoclusters",
        "localizedValue": "Microsoft.DocumentDB/mongoclusters"
    },
    "resourceId": "/subscriptions/9611ca08-3a18-4c87-a250-12dbeb2eaaeb/resourcegroups/Pharmansh-Resource-Group-1/providers/Microsoft.DocumentDB/mongoClusters/pharmansh-admin-cluster",
    "status": {
        "value": "Failed",
        "localizedValue": "Failed"
    },
    "subStatus": {
        "value": "",
        "localizedValue": ""
    },
    "submissionTimestamp": "2025-02-16T14:11:43Z",
    "subscriptionId": "9611ca08-3a18-4c87-a250-12dbeb2eaaeb",
    "tenantId": "4288fb8e-0344-411b-b935-a42384cb528a",
    "properties": {
        "statusMessage": "{\"status\":\"Failed\",\"error\":{\"code\":\"ResourceOperationFailure\",\"message\":\"The resource operation completed with terminal provisioning state 'Failed'.\",\"details\":[{\"code\":\"UnprocessableEntity\",\"message\":\"An unknown error occurred for the operation. Tracking id: 3c85e238-396c-484d-9f9f-132f54fa07d8.\"}]}}",
        "eventCategory": "Administrative",
        "entity": "/subscriptions/9611ca08-3a18-4c87-a250-12dbeb2eaaeb/resourcegroups/Pharmansh-Resource-Group-1/providers/Microsoft.DocumentDB/mongoClusters/pharmansh-admin-cluster",
        "message": "Microsoft.DocumentDB/mongoClusters/write",
        "hierarchy": "4288fb8e-0344-411b-b935-a42384cb528a/9611ca08-3a18-4c87-a250-12dbeb2eaaeb"
    },
    "relatedEvents": []
}
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,767 questions
{count} votes

Accepted answer
  1. Sai Raghunadh M 2,640 Reputation points Microsoft Vendor
    2025-02-19T14:14:26.49+00:00

    Hi @abhishek jaiswal

    Thanks for getting back

    Are you creating through portal?

    I reproduced the scenario from my end and successfully deployed in eastUS.User's image

    Please refer to this Documentation that might help you:

    https://learn.microsoft.com/en-us/azure/cosmos-db/mongodb/vcore/quickstart-portal?source=recommendations

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

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.