{
  "schemaVersion": "ebb.rule.v1",
  "id": "dotnet.package.microsoft-azure-storage-blob.deprecated",
  "ecosystem": "dotnet",
  "purl": "pkg:nuget/Microsoft.Azure.Storage.Blob",
  "affectedVersions": "vers:nuget/*",
  "event": "deprecated",
  "severity": "medium",
  "title": "Microsoft.Azure.Storage.Blob is deprecated on NuGet",
  "summary": "NuGet marks all 24 listed versions of Microsoft.Azure.Storage.Blob 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, Azure.Storage.Blobs, to continue receiving updates. Refer to the migration guide (https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/storage/Azure.Storage.Blobs/AzureStorageNetMigrationV12.md) for guidance on upgrading. Refer to our deprecation policy (https://aka.ms/azsdk/support-policies) for more details.\"",
  "replacement": "Azure.Storage.Blobs",
  "deadline": "2023-03-31",
  "sources": [
    {
      "title": "Microsoft.Azure.Storage.Blob on NuGet (deprecation metadata)",
      "url": "https://www.nuget.org/packages/Microsoft.Azure.Storage.Blob",
      "accessedAt": "2026-10-19"
    },
    {
      "title": "NuGet package deprecation",
      "url": "https://learn.microsoft.com/nuget/nuget-org/deprecate-packages",
      "accessedAt": "2026-10-19"
    }
  ],
  "provenance": {
    "observedAt": "2026-10-19",
    "reviewedAt": "2026-10-19",
    "reviewer": "arminazimi"
  },
  "migration": {
    "constraints": [
      "Keep the container and blob names and the stored data the same; only the client library changes.",
      "Read the v12 migration guide: CloudStorageAccount and CloudBlobClient become BlobServiceClient, and blob handles become BlobClient types."
    ],
    "steps": [
      {
        "id": "replace-azure-storage-blob",
        "title": "Move to Azure.Storage.Blobs",
        "instructions": "Replace Microsoft.Azure.Storage.Blob with Azure.Storage.Blobs and update CloudStorageAccount, CloudBlobClient, CloudBlobContainer, and CloudBlockBlob code to BlobServiceClient, BlobContainerClient, and BlobClient.",
        "targets": "all"
      }
    ],
    "verification": [
      {
        "command": "dotnet build && dotnet test",
        "purpose": "Build and test after the client library change."
      }
    ]
  }
}
