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


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 Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
13,482 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
974 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
6,650 questions
No comments
{count} votes

Accepted answer
  1. ShaikMaheer-MSFT 29,881 Reputation points Microsoft Employee

    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.

    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