Azure: Subscription might not be created directly causing MessagingEntityNotFoundException

Fixed in

EPiServer.Azure 9.3.0

Created

Dec 08, 2016

Updated

Dec 21, 2016

Area

CMS Core

State

Closed, Fixed and tested


Description

There is a currently undocumented behaviour in Azure ServiceBus where a call to CreateSubscription might not actually create the subscription immediately.

We should per Microsofts recommendationds wait for the entity status to become Active before using the newly created subscription to avoid MessagingEntityNotFoundException exceptions.