Microsoft.Azure.ServiceBus is deprecated on NuGet
Deprecated as of 2026-09-30. Replacement: Azure.Messaging.ServiceBus. Source: Microsoft.Azure.ServiceBus on NuGet (deprecation metadata).
Check a version:
evergreen check pkg:nuget/Microsoft.Azure.ServiceBus
NuGet marks all 33 listed versions of Microsoft.Azure.ServiceBus as deprecated (reason: Legacy). The publisher’s message: “Please note, this package is obsolete as of 9/30/2026 and is no longer maintained or monitored. Microsoft encourages you to upgrade to the replacement package, Azure.Messaging.ServiceBus, to continue receiving updates. Refer to the migration guide (https://aka.ms/azsdk/net/migrate/sb) for guidance on upgrading. 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.ServiceBus |
| Affected versions | vers:nuget/* |
| Date from the source | 2026-09-30 |
| Replacement | Azure.Messaging.ServiceBus |
| 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-servicebus.deprecated |
Sources
- Microsoft.Azure.ServiceBus on NuGet (deprecation metadata) (accessed 2026-10-19)
- NuGet package deprecation (accessed 2026-10-19)
Migration
Constraints
- Keep the namespace, queue, topic, and subscription names the same; only the client library changes.
- Read the migration guide first: message settlement, sessions, and retry options moved to ServiceBusClient, ServiceBusSender, ServiceBusReceiver, and ServiceBusProcessor.
Steps
- Move to Azure.Messaging.ServiceBus. Replace Microsoft.Azure.ServiceBus with Azure.Messaging.ServiceBus and update QueueClient, TopicClient, and SubscriptionClient code to ServiceBusClient with senders, receivers, or processors.
Verification
dotnet build && dotnet test: Build and test after the client library change.
Detected by
The dotnet detector. See Detectors and Compatibility.
Related
Same ecosystem
- Microsoft.Azure.DocumentDB is deprecated on NuGet
- Microsoft.Azure.Storage.Blob is deprecated on NuGet
- WindowsAzure.Storage is deprecated on NuGet
- .NET Core 1.0 is no longer supported
- .NET Core 1.1 is no longer supported
- .NET Core 2.0 is no longer supported
- .NET Core 2.1 is no longer supported
- .NET Core 2.2 is no longer supported
Data
This page is generated from registry/dotnet.json, rule dotnet.package.microsoft-azure-servicebus.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