The current service-binding-cosmosdb-sql sample will fail when we attach service binding in Azure Spring Cloud service. The error message is the same as: microsoft/azure-spring-boot#730
Simply upgrade the dependency version does not work, because there are some incompatible code changes in the CosmosDB library.
We need to upgrade the dependencies and fix the sample.