Need to apply this PR to the main branch. https://github.com/AzureCosmosDB/cosmosdb-nosql-copilot/pull/87