Personalized Community is here!
Quickly customize your community to find the content you seek.
‘Better Together’ Integration forum available
We're launching a how-to forum where you can learn and engage about how Dynamics 365 integrates with other Power Platform products.
Read about Better Together forum
2020 Release Wave 2Discover the latest updates and new features to Dynamics 365 planned through March 2021.
Release overview guides and videos Release Plan | Preview 2020 Release Wave 2 TimelineWatch the 2020 Release Wave 1 virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
In this series of post, we’ll see how we can use Azure Durable function(an extension of Azure Function which works on durable task framework) with D365 CE. We can find more details about Durable functions, it’s application patterns, pricing and the way it works here: https://docs.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-overview.
This series of post is divided into 6 parts:Part 1: Starting with Azure Durable Function in VS 2019Part 2: Using Azure Durable Function to perform CRUD operation in D365 CEPart 3: Parameterize Azure Durable Function to perform CRUD operation in D365 CEPart 4: Register WebHook using Plug-in Registration Tool for parameterized Azure Durable FunctionPart 5: Invoke webhook using custom global action Part 6: Invoke custom global action using JS based on business requirement
In this post, we’ll discuss Part 1 mentioned above. Let’s get started.
We can verify if it’s installed or not following below mentioned steps:Search for Visual Studio Installer in Windows and open it.
Select VS 2019 and click Modify.
If Azure Development is already selected then it’s installed. If it’s not selected then you can select and go ahead with installing it before starting with Durable Function.
Once Azure Development workload is installed, Open VS 2019 and click Create a New Project as shown below:
Select Azure Function and click Next.
Give a name and click Create.
Make sure Azure Functions v2 is selected in the dropdown and select Empty trigger. Click Create.
Once the project is loaded, Right click on project –> Click Add –> New Azure Function as shown below:
Give a Name –> Click Add.
Select Durable Functions Orchestration and click OK.
Once done, we can see that there are 3 azure functions created automatically. Brief information about these functions(the function names can be changed though which we’ll do in the next post of this series):AccommodationPayments_HttpStart: It is the entry point of durable function which gets triggered through an HttpRequest(get/post) and the prime job of this function is to start the orchestration instance(AccommodationPayments azure function).AccommodationPayments: The orchestration function which calls the activity function(AccommodationPayments_Hello) which actually does the work.AccommodationPayments_Hello: The activity function which actually does the work.
In the next post, we’ll see how we can use Durable function to perform CRUD operation in D365 CE.
Hope it helps !!
Business Applications communities