In the previous recipe, we mainly used configuration to connect Dynamics 365 to an Azure Service Bus. If you want to implement a custom plugin code before communicating with the Service Bus, or if you want to send something other than the plugin context, you can create your own Azure aware plugin.
In this recipe, we will augment an existing custom plugin's capabilities to also connect to an Azure Service Bus. We will reuse the plugin built in Creating your first plugin recipe of Chapter 4, Server-Side Extensions, as the basis of our work.