Skip to Main Content
Customer Feedback

We love feedback from you on our products and the problems in your daily work that you would like us to solve. Please describe the challenge you're encountering and your desired outcome. Be as detailed as possible.

For technical issues or bugs please head to Support or our Developer Community. You can assign up to 20 votes in total. Thank you for your feedback.

Status explanation: 'Future Consideration' = Continuing to collect further feedback, not planned at this time. 'Investigating' = Prioritized for deeper customer and feasibility investigations ahead of planning development.

Categories APIs
Created by Guest
Created on Oct 18, 2021

Enable setting SubscriptionName in EPiServer.Azure.Events.Internal.DefaultServiceBusEventProvider

Azure Servicebus has a rule that SubscriptionNames cannot be longer than 50 characters. Currently, SubscriptionName is set by the private field _uniqueName in DefaultServiceBusEventProvider.ctor() and there is no way to override it.

The field is set here:

public DefaultServiceBusEventProvider(AzureEventClientFactory clientFactory, EventsServiceKnownTypesLookup knownTypesLookup, IServiceBusSetup setup, AzureEventProviderOptions options)



_uniqueName = Environment.MachineName.Replace('/', '_').Replace(':', '_') + Guid.NewGuid().ToString("N");


Since SubscriptionName can only be 50 characters long and Guid.NewGuid().ToString("n") returns a 36 character long string, there is only 14 characters left for the MachineName.

A suggestion could be to have a SubscriptionName Setter in AzureEventProviderOptions.