How to do it...

  1. Log in to the new Azure portal (https://portal.azure.com) with an account that has the correct privileges.
  2. From the left-hand side navigation, go to +| Enterprise Integration | Service Bus, as shown here:
  1. Enter the following details:
    • The namespace name of your choice (for example, PacktDynamics365ServiceBus)
    • Select a price tier
    • The appropriate subscription
    • The appropriate resource group
    • A location that is closest to your Dynamics 365 data center and your service bus consumers
    • Click on Create
  2. Once the service bus is created, go to All resources and click on the newly created Service Bus.
  3. Click on + Queue at the top of the overview form and enter Dynamics365Queue in the Name field. Click on Create.
  4. Once the queue is created, click on the queue name in the Service Bus overview followed by Shared access policies, then click on + Add on top of Shared access policies.
  5. Enter Dynamics365SharingPolicy and select Send and Listen. Then, click on the Create button.
  6. Once the policy is created, click on it and copy CONNECTION STRING-PRIMARY KEY, shown as follows:

Now that we have created our queue and configured it, we are ready to register it on our Dynamics 365 instance.

  1. Launch the plugin registration tool located in the Dynamics 365 SDK under SDKToolsPluginRegistration and connect to your instance.
  2. Navigate to Register | Register New Service Endpoint:
  1. Paste the connection string we copied in step 8 and click on Next, followed by Save.
  2. Right-click on the newly registered endpoint in your list and select Register New Step.
  3. Enter the following details in the Register New Step dialog:
    • Message: Update
    • Primary Entity: account
    • Filtering Attributes: Account Name
    • Execution Mode: Asynchronous
  4. Click on Register New Step
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset