When trying to create a collection in a serverless CosmosDb I get this error :
2021-03-10T04:32:56.3140412Z ##[error]Setting offer throughput or autopilot on container is not supported for serverless accounts.
I believe the "Throughput" setting in the task should be optional if one uses serverless version of CosmosDb to be used.