Share via

Getting error when trying to access Cosmos DB analytical storage

Julius Dietmar 20 Reputation points
2026-06-01T15:07:08.5+00:00

When running query against Cosmos DB analytical storage, I am getting the following error:

Msg 15893, Level 16, State 51, Line 30

Resolving CosmosDB path has failed with error 'Cosmos DB analytical storage contains no data.'.

Completion time: 2026-05-31T21:17:15.0337245-07:00

This has been working fine previously - no changes - analytical store is still enabled on this collection.

This is the query I am running:

    SELECT COUNT(*)
    FROM OPENROWSET(​PROVIDER = 'CosmosDB',

                    CONNECTION = 'Account=xxx-prod;Database=xxxhtapdb',

                    OBJECT = 'items',

                    SERVER_CREDENTIAL = 'xxx-prod'


                    

    ) as items
;
Azure Cosmos DB
Azure Cosmos DB

An Azure NoSQL database service for app development.


1 answer

Sort by: Most helpful
  1. Manoj Kumar Boyini 16,725 Reputation points Microsoft External Staff Moderator
    2026-06-02T14:44:17.5066667+00:00

    Hi @Julius Dietmar

    We have reviewed the issue and observed that it was transient in nature. Since the issue has now been resolved and access to the Cosmos DB analytical storage is working again, no further action is required at this time.

    As part of our ongoing service improvements, the engineering team is continuously enhancing automated detection and recovery mechanisms to identify similar situations earlier and minimize potential impact on incoming requests.

    We sincerely apologize for any inconvenience this may have caused.

    If you encounter a similar issue in the future, please feel free to reach out to us.

    Was this answer helpful?

    0 comments No comments

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.