Data API enablement in Azure Cosmos DocumentDB vCore

Pete Cordova 0 Reputation points
2026-08-06T01:02:48.4+00:00

I have attempted to enable the Data API feature for my Cosmos DB. It is accepted, I see the Data API change to ON but is greyed out, and the Status on Overview changes to Updating. This goes for about an hour then status changes to Ready. I check the Data API feature, and it is back but in the Off setting. The Activity log still shows my action in Accepted. Does not change to Failed. Any idea on this or where to look for more details on the task?

Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Ravi Kiran Pagidi 170 Reputation points
    2026-08-06T02:32:57.1533333+00:00

    Hi Pete,

    The first thing I would check is whether this is an older/existing Azure DocumentDB vCore cluster.

    The Data API is currently in preview and Microsoft documentation lists this limitation:

    Data API works on newly created cluster.
    

    So if the cluster was created before the Data API capability was available, the portal may accept the request, move the cluster to Updating, and then return to Ready with Data API still Off.

    A few things to try/check:

    1. Confirm whether this is a newly created cluster or an older cluster.

    Check the setting from ARM/CLI instead of only the portal:

    az resource show \
      --ids "/subscriptions/<subId>/resourceGroups/<rg>/providers/Microsoft.DocumentDB/mongoClusters/<clusterName>" \
      --api-version 2024-10-01-preview \
      --query "properties.dataApi"
    

    Try enabling it through ARM/REST once, because it may return a clearer error than the portal.

    Check Activity Log > Administrative events for the cluster update operation and capture the correlation ID, timestamp, and operation ID.

    If the cluster is newly created and still reverts to Off, open a Microsoft support case, because that looks like a backend/service issue rather than a configuration issue.

    Docs:

    Data API for Azure DocumentDB: https://learn.microsoft.com/en-us/azure/documentdb/data-api

    The key point is that the portal showing Accepted only means the update request was accepted by the control plane. It does not always mean the feature was successfully enabled. If it ends in Ready but Data API returns to Off, either the cluster is not eligible for the preview feature or Microsoft Support needs to check the backend operation.

    Was this answer helpful?


Your answer

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