Getting Started
Architecture
NServiceBus
Transports
Persistence
ServiceInsight
ServicePulse
ServiceControl
Monitoring
Modernization
Samples

Managed Entity Queue-Scoped Permissions for Endpoints

Target Version: NServiceBus 10.x
This page targets a pre-release version. Pre-releases are subject to change and samples are not guaranteed to be fully functional.

It is common practice to limit Azure Service Bus connection permissions at the queue scope when using Managed Entities.

The following shows the minimum permissions needed for various endpoint features using queue-scoped permissions:

Access rights

By default, the transport requires elevated privileges to manage namespace entities at runtime. If using a shared access policy, make sure to include Manage rights or the Azure Service Bus Data Owner role if authenticating using Managed Identities.

To avoid running with elevated privileges: