Configure Dynamics 365 and Azure Service Bus Integration (using TwoWay relay, Azure Aware Plugin and

Posted TencentLee

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Configure Dynamics 365 and Azure Service Bus Integration (using TwoWay relay, Azure Aware Plugin and相关的知识,希望对你有一定的参考价值。

Let us pick up from where we left in the previous post and implement two way relaying through which we can get the response back from the listener.

https://nishantrana.me/2017/03/22/configure-dynamics-365-and-azure-service-bus-integration-using-oneway-relay-and-listener/

First let us update the Service Endpoint Registration, change the designation type to TwoWay, it would also ask to enter the SAS Key. Copy it from Azure and paste it.

Update the listener windows application created in the previous post to implement ITwoWayServiceEndpointPlugin

Use the below code to create the custom azure aware plugin.

Get the service endpoint id from the Properties window of the Service End Point registered.

Register the assembly and add the Post Create Synchronous Lead Step to it.

As we are using trace service to log the response, set All for Enable logging to plugin-trace log option from Administration – System Setting – Customization.

Start the listener windows application and to trigger the plugin, create the lead record

We can see the execute method being called from Azure Service bus on create of Lead record.

The message being returned from listener application to the plugin.

The newly created lead record.

The trace message within the plugin –

Plugin Trace log with the response received from the listener –

Hope it helps..

以上是关于Configure Dynamics 365 and Azure Service Bus Integration (using TwoWay relay, Azure Aware Plugin and的主要内容,如果未能解决你的问题,请参考以下文章

Dynamics 365 App for Outlook 与 Dynamics 365 for Outlook(已被弃用)

将数据从 Azure DWH 复制到 Azure 中的 Dynamics 365

将 AD 属性与 Dynamics 365 系统用户同步

Dynamics 365插件开发

Dynamics CRM 2016 VS Dynamics 365 – 启用数据加密功能报错

自定义适用于手机和平板电脑的 Dynamics 365:显示的实体