Not able to change cosmosdb container throughput from Manual to Autoscale using CosmosDB V3 SDK

I am trying to replace the throughput of a manual container to autoscale using this code


This throws an exception. Errors":["x-ms-cosmos-migrate-offer-to-autopilot must be supplied and offercontent must not contain autopilotSettings for migration from manual throughput to autoscale."

Not able to find anything related to this on CosmosDB Documentation. I am currently using CosmosDB 3.12 V3 .Net SDK.

Add Comment
1 Answer(s)

Change throughput from manual to autoscale by sdk is not supported now.Method ReplaceThroughputAsync only can change the throughput.You should change this on Azure portal.

Answered on August 31, 2020.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.