Azure-docs: Connect to an Azure Cosmos DB account code outdated

Created on 24 Jul 2019  Â·  7Comments  Â·  Source: MicrosoftDocs/azure-docs

It should be
client = new CosmosClient({endpoint, key});
instead of
client = new CosmosClient({ endpoint: endpoint, auth: { masterKey: masterKey } });


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri2 assigned-to-author awaiting-product-team-response cosmos-dsvc cosmosdb-sqsubsvc doc-bug triaged

Most helpful comment

@Mike-Ubezzi-MSFT - @southpolesteve is updating the docs. See https://github.com/MicrosoftDocs/azure-docs/issues/35948

All 7 comments

Thank you for the detailed feedback. We are actively investigating and will get back to you soon.

Thank you. please update the correct documentation.

@deborahc I am seeing multiple customers having issues with this tutorial. Is there a new version of the tutorial being made available?

@Mike-Ubezzi-MSFT - @southpolesteve is updating the docs. See https://github.com/MicrosoftDocs/azure-docs/issues/35948

Thank you @southpolesteve and @deborahc We will wait for the changes done by PR to reflect before closing this issue.

@jeffrey008 the PR above should fix the issues, the changes will go live tomorrow. We will close this issue if there aren't further questions.

please-close

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JamesDLD picture JamesDLD  Â·  3Comments

mrdfuse picture mrdfuse  Â·  3Comments

Agazoth picture Agazoth  Â·  3Comments

ianpowell2017 picture ianpowell2017  Â·  3Comments

jharbieh picture jharbieh  Â·  3Comments