D365: Azure Durable Function with D365 CE – Part 4

In the previous post, we saw how we can parameterize Azure durable function and deploy it to Azure. In this post we’ll see how we can register a webhook for the azure durable function using plug-in registration tool.

From the last post, we have Azure durable function URL copied as shown below:

Now, let’s open plug-in registration tool and connect to the D365 instance where we want to create a webhook for this Azure durable function.
Click Register –> Register New Web Hook

For the Azure Durable Function URL: https://testazuredurablefunction.azurewebsites.net/api/AccommodationPayments?code=4TXOjgyaja3GjJSxoBIK/HYvMmj3IoLHXlPRa/Cn6e0S16aBQjyHZg== , below are the details we need to put to register the webhook.
Name –> any unique name
Endpoint URL –> https://testazuredurablefunction.azurewebsites.net/api/AccommodationPayments
Authentication
–> WebhookKey
Value
–> 4TXOjgyaja3GjJSxoBIK/HYvMmj3IoLHXlPRa/Cn6e0S16aBQjyHZg==

Then click Save.

We can see that the webhook has been registered successfully as shown below:

In the next post, we’ll see how we can invoke webhook using custom global action and pass plugin execution context to the webhook which in turn will be passed to Azure Durable Function as an input.

Hope it helps !!

Advertisement

5 thoughts on “D365: Azure Durable Function with D365 CE – Part 4

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 )

Facebook photo

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

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.