Skip to content

Azure Service Bus Managed Identity is not supported #2755

Description

@DavidBoike

Issue description has been edited

Symptoms

Exception is thrown when ServiceControl starts up or during installation.

Who's affected

Users on Version 4.21 who are configuring ServiceControl instances to use Azure Service Bus with Azure Active Directory Managed Identity authentication.

Root cause

The new SDK used since 4.21.0 no longer support the Authentication=Managed Identity option.

Original issue content

ServiceControl 4.21.0 updated NServiceBus.Transport.AzureServiceBus version 2.x, which also updated the Azure SDK from Microsoft.Azure.ServiceBus to Azure.Messaging.ServiceBus.

The old Azure SDK permitted a connection string that allowed connection to Azure Service Bus using Managed Identity, but in the new Azure SDK, this fails with the following message:

The connection string used for an Service Bus client must specify the Service Bus namespace host and either a Shared Access Key (both the name and value) OR a Shared Access Signature to be valid.

While the ServiceControl binaries can be updated, there is currently no way for these versions of ServiceControl to connect to Azure ServiceBus using managed identity, and the app fails at startup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions