Skip to content
Evergreen Evergreen
Documentation

Microsoft.Azure.DocumentDB is deprecated on NuGet

Deprecated as of 2023-03-31. Replacement: Microsoft.Azure.Cosmos. Source: Microsoft.Azure.DocumentDB on NuGet (deprecation metadata).

Check a version:

evergreen check pkg:nuget/Microsoft.Azure.DocumentDB

NuGet marks all 36 listed versions of Microsoft.Azure.DocumentDB as deprecated (reason: Legacy). The publisher’s message: “Please note, this package is obsolete as of 3/31/2023 and is no longer maintained or monitored. Microsoft encourages you to upgrade to the replacement package, Microsoft.Azure.Cosmos, to continue receiving updates. Refer to our deprecation policy (https://aka.ms/azsdk/support-policies) for more details.”

Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>

   
Status Deprecated
Severity medium
Ecosystem dotnet
Component pkg:nuget/Microsoft.Azure.DocumentDB
Affected versions vers:nuget/*
Date from the source 2023-03-31
Replacement Microsoft.Azure.Cosmos
Evidence last seen 2026-10-19
Reviewed 2026-10-19 by arminazimi, drafted by the dotnet-2 importer
Review due 2027-01-17 (90 days after the last review)
Rule ID dotnet.package.microsoft-azure-documentdb.deprecated

Sources

Migration

Constraints

  • Keep the account, database, and container names and the stored documents the same; only the client library changes.
  • The Cosmos DB v3 SDK names collections “containers” and replaces DocumentClient with CosmosClient; check queries and partition key handling after the move.

Steps

  1. Move to Microsoft.Azure.Cosmos. Replace Microsoft.Azure.DocumentDB with Microsoft.Azure.Cosmos and update DocumentClient code to CosmosClient, Database, and Container.

Verification

  • dotnet build && dotnet test: Build and test after the client library change.

Detected by

The dotnet detector. See Detectors and Compatibility.

Same ecosystem

Data

This page is generated from registry/dotnet.json, rule dotnet.package.microsoft-azure-documentdb.deprecated, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.

Last updated