4
votes

I have an Azure Cosmos Database with few databases and want to create a copy of the cosmos service account (with the same API / database) as its but without data, how do I achieve this?

clone the cosmos service account." Are you trying to create another Cosmos DB instance

1
Not sure what you mean by "clone the cosmos service account." Are you trying to create another Cosmos DB instance with the same API / database names / collection names / assigned throughput values? Maybe something else? Please edit to clarify.David Makogon
Have updated the question as suggestedKarthikeyan Vijayakumar

1 Answers

3
votes

Update:

enter image description here

enter image description here

enter image description here

enter image description here

Copy template to here:

enter image description here

enter image description here

Deploy the template, and then It will be created:

enter image description here

enter image description here

Original Answer:

I have an Azure Cosmos Database with few databases and want to create a copy of the cosmos service account (with the same API / database) as its but without data, how do I achieve this?

I don’t think there is a ready-made way to do this. Since your COSMOS DB doesn't have a lot of databases, so you can create a new COSMOS DB instance and related databases manually or using code.

Go to this place to get the main information of your COSMOS DB:

enter image description here