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 20 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,749 questions
{count} votes

1 answer

Sort by: Most helpful
  1. DaveThompsonOut 5 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.

    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.