Cosmos DB only connection and read access

Hector Huerta Tricolor 106 Reputation points
2022-09-14T22:56:24.833+00:00

We are finding which permissions should be granted to some users, so they could connect to cosmos DB and view the data in database without giving them Contributor permissions. Just Read DB access , we granted read and Cosmos DB Account Reader Role but they cannot connect to the DB.

241089-image.png

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,611 questions
0 comments No comments
{count} votes

Accepted answer
  1. GeethaThatipatri-MSFT 29,377 Reputation points Microsoft Employee
    2022-09-16T12:39:48.527+00:00

    Hi, @Hector Huerta Tricolor Welcome to the Microsoft Q&A Platform, and thanks for your query.
    You cannot grant any existing roles. Here is the documentation page on data-plane access (read or write from a database account):
    That doc walks you through the process that you can follow using Azure CLI or PowerShell to grant a principal (identity) access to read or write to resources in Azure Cosmos DB.

    Please let me know if you need any additional information.

    Regards
    Geetha


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.