DocumentDB for VS Code

Release NotesBack to Home


DocumentDB for VS Code Extension v0.3

We are excited to announce the release of DocumentDB for VS Code Extension v0.3. This release introduces a major new feature: support for Microsoft Entra ID authentication with Azure Cosmos DB for MongoDB (vCore) clusters. This enhances security for enterprise scenarios and aligns with modern identity management practices.

What’s New in v0.3

Support for Entra ID for Azure Cosmos DB for MongoDB (vCore) (#123)

You can now connect to Azure Cosmos DB for MongoDB (vCore) clusters using Microsoft Entra ID (formerly Azure AD), providing a secure, passwordless authentication method. This feature is integrated throughout the extension’s connection workflows.

For an efficient authentication process, the extension leverages your existing Azure session within VS Code. If you are already signed in to Azure, your identity will be used automatically for Entra ID authentication. If no active session is found, you will be prompted to sign in to your Azure account first.

The available authentication methods are:

Authentication Method Selection

Service Discovery

When connecting to a cluster directly from the Service Discovery view, the extension automatically detects the authentication methods supported by your cluster.

Saving Connections

When you save a connection from the Service Discovery view, it is added to your Connections list without an immediate prompt. The first time you attempt to connect to this saved entry, you will be asked to choose your preferred authentication method. At that point, you will have the option to persist your choice for all future connections to that cluster.

Adding a New Connection

When adding a new connection using a connection string, you can now select your preferred authentication method from a list of all supported methods.

To help guide you, if the provided hostname is not recognized as an Azure Cosmos DB for MongoDB (vCore) cluster, a note (“Cluster support unknown”) will appear next to the Entra ID option. We display all available methods to ensure you are not blocked from using this feature, even with custom or unrecognized hostnames.

Changelog

See the full changelog entry for this release: ➡️ CHANGELOG.md#030


Patch Release v0.3.1

This patch release includes a fix to improve the stability of the extension.

What’s Fixed in v0.3.1

🐛 Tree View Stability (#233)

We’ve improved the stability of the Connections View when adding or removing databases and collections. This change prevents internal warnings that could occur when displaying temporary items in the tree, ensuring a smoother experience when managing your connections.

Changelog

See the full changelog entry for this release: ➡️ CHANGELOG.md#031