Integration using Azure service topics with D365F&O, using Azure functions: a strategy, Part-2
For creating a service bus namespace, topic, subscription and automatic data filtration, please follow my previous blog: https://subsd365.blogspot.com/2023/07/integration-using-azure-service-topics.html
Ok, all set? Let us now explore how to consume the message received from Service bus to D365FO, using Azure Functions.
Step 1: Creating the Azure function
In your Visual Studio (alternately you can also use Visual Studio Code) -- create new project --> in the template search for Azure function, the following screen appears:
Select Function = Service Bus Topic Trigger.
Here Topic name is = is the name of my topic which I created in my service bus, subscription name is the name of my subscription which I created.
Click create to continue.
Step 2: Getting the connection string
To get the connection string, go to Azure Functions --> Shared Access Policies:
You can refer to videos for parsing incoming JSON payloads to feed into D365FO from the following video links:
Consequently when I am sending the following message in my Service bus explorer,
Comments
Post a Comment