error in portal query: Authorization header doesn't confirm to the required format. Please verify and try again. ActivityId: 89881f95-402e-4aa3-b2f8-42bdd85c55fc, Windows/10.0.20348 cosmos-netstandard-sdk/3.18.0

Jose Garcia Anticona 45 Reputation points
2025-01-06T15:40:30.4833333+00:00

Hello everyone, I am trying to perform queries in Cosmos DB as I have always been doing, however it gives me the following error that I do not understand:

Authorization header doesn't confirm to the required format. Please verify and try again.

ActivityId: 89881f95-402e-4aa3-b2f8-42bdd85c55fc, Windows/10.0.20348 cosmos-netstandard-sdk/3.18.0

Could you support me, where I am trying to connect is a productive environment, we have applications that connect through API and apparently everything is fine, but the issue is when I do it from the portal to that environment, in Development if I can standard.

Thanks in advance

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,901 questions
{count} votes

Accepted answer
  1. DaveThompsonOut 105 Reputation points
    2025-02-06T06:31:03.3433333+00:00

    I have the answer!

    The problem goes away if you append feature.enableAadDataPlane to the url query string, ie navigate to https://cosmos.azure.com/?feature.enableAadDataPlane=true and it will work.

    5 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Jonathan Stefanov 0 Reputation points
    2025-04-08T09:17:55.81+00:00

    This might also be because you do not have the permissions to view the data in the DB.

    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.