ADF - Managed Identity to access CosmosDB - Role not getting assigned

2022-01-28T13:13:47.483+00:00

We are trying to create a linked service to CosmosDB in the Azure Data Factory using Managed Identity. We generated a system assigned managed identity for DF and assigning the role "DocumentDB-Contributor" using Azure PowerShell. The execution is successful, but we are not seeing the Role assigned to the managed identity.

There is no error message while executing it. How can we troubleshoot this issue ?

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,439 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,523 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,444 questions
0 comments No comments
{count} votes

Accepted answer
  1. ShaikMaheer-MSFT 37,896 Reputation points Microsoft Employee
    2022-01-31T10:26:04.433+00:00

    Hi @Sundaramurthy, Hariprasad (Contractor) ,

    Thank you for posting query in Microsoft Q&A Platform.

    You mean "DocumentDB Account Contributor" role assignment to ADF Managed Identity?

    I tried same. It works with out any issue. I am able to see my ADF managed identity under "DocumentDB Account Contributor". Please check below screenshot.
    169765-image.png

    If above is not the case, then please share details of the steps to follow to repro your scenario. So that I can try same to help better. Thank you.


0 additional answers

Sort by: Most helpful