Migrate users from mongoDB to cosmos DB

2023-02-03T16:25:43.0066667+00:00

I just completed a migration of MongoDB database collections to cosmos dB (mongo api) through an indirect process of exporting data , then loading into azure blob and then followed by ADF process. Now i need to migrate the users. I did notice that cosmos has no menu item to add users. What's are the best methods to achieve this ?

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

1 answer

Sort by: Most helpful
  1. Oury Ba-MSFT 18,021 Reputation points Microsoft Employee
    2023-02-07T17:31:37.0066667+00:00

    Hi Shittu Adesoji (NHQ-AC-CONSULTANT) Thank you for reaching out.

    You can follow the steps in the following blog to set up RBAC on your Azure Cosmos DB Mongo API. Role-based access control in Azure Cosmos DB API for MongoDB:

    https://learn.microsoft.com/en-us/azure/cosmos-db/mongodb/how-to-setup-rbac

    Please let us know if you need further assistance on this or additional clarification.

    Regards,

    Oury