Azure Service Bus Queue Integration with D365 – Part 1

In this series, we’ll see how we can integrate Azure Service Bus Queue with D365. This series has been divided into 2 parts:

Part 1: How we can create a service bus queue in Azure portal and registration of service endpoint using plugin registration tool

Part 2: Do some operation in D365 and the message appears in Service Bus Queue. Also, read the message from queue.

Part 1: Create service bus queue in Azure portal

  1. Login to azure portal using your account
  2. Click on Create a Resource and in the text box type service bus5
  3. Click on Create6
  4. Give a unique name to service bus namespace and fill the mandatory fields. Then click Create.
  5. 7
  6. Then browse to the service bus namespace and click on Queues.
  7. 8
  8. Click +Queue.9
  9. Give a unique name for queue and let’s leave the rest of the fields as it is and click Create.
  10. 10
  11. Browse to the created queue.
  12. 12
  13. Click on Shared Access Policies and click Add to create a new policy that will be used to register service end point.13
  14. Give a unique name and Tick Send and Listen
  15. 14
  16. Browse to the policy that was created and copy the primary connection string.15

Now that we are done with creating service bus queue and shared access policy, let’s go to the plugin registration tool and connect to the instance where we need to integrate this queue.

  1. After connecting to the required instance, click on Register –> Register New Service Endpoint.16
  2. Paste the connection string copied from Step 17 above and click Next.17
  3. Verify the details on this screen and click Save.18
  4. After service end point is created, let’s register a new step. Here, we’ll configure to create a message in service bus queue when a new account gets created. So, let’s register the step on create of account.20

Now, we have registered the step on create of account.

In the next blog of this series, we’ll see how message is received in service bus queue when we create an account.

Hope it helps !!

Advertisements

5 thoughts on “Azure Service Bus Queue Integration with D365 – Part 1

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s