In one of my earlier posts, I discussed briefly about the testing I did for the first version of Common Data Service to integrate Dynamics 365 for Sales and Finance & Operations. That was primarily for syncing customer accounts and all associated information. Microsoft also ships several data integration templates out of the box for this, which covers pretty much all key entities in the Prospect to Cash scenario.
Today, we will take another deeper look at the Dynamics 365 integration story using the overall Power platform which contains the power of Common Data Service(CDS 2.0), Microsoft Power Apps, Flow and Power BI. We will learn about the new version of Common Data Service, which is referred to as CDS for Apps (CDS 2.0) and we will test an integration between Dynamics 365 For Talent and Dynamics 365 for Finance and Operations.
Create the Power platform environment (CDS For Apps environment): The first step here is to make sure we have a correct environment created and setup under Power platform environments. For this testing and demonstration, I have created a new environment specifically for the D365 Talent to Finance and Operations integration. This environment is where the D365 for Talent app will surface the data and this environment will also host all the associated Powerapps, CDS, flow etc.
Create the Talent project in LCS and link the project to the CDS environment and Provision the Talent environment: Now that I have the Power platform environment setup, I will go ahead and create the D365 Talent project in Lifecycle services and then will provision the D365 Talent environment that I need for this testing. To do this, login to Life cycle services (LCS) and create a new project.
We will now need to link this LCS project to the new power platform environment we created above. Navigate to the Talent app management tile and click Add button.
You will notice the environment we created in the Power platform admin center will appear here.
I will mark the “Include demo data” checkbox, so that my Talent environment will have some prepopulated demo data that i can use for my testing.
The new D365 Talent environment should be provisioned now with Demo data and you should see the status of the environment as “Deployed”. Now, let us access the newly deployed Talent environment to make sure if we are able to access the required components of Talent successfully.
Click on the Log on to Talent link in the Talent App Management area. I now have the D365 Talent environment successfully deployed and ready for my testing.
After this deployment, You will also notice that these Talent solutions will appear under the Solutions tab of the Powerapps environment and the data from the Talent environment syncs in real time with the CDS. This means all the components of the D365 Talent solution where deployed into the CDS environment.
You can also see that the demo data i got in my D365 Talent app has already surfaced in the CDS entities.
Note: All the data created in D365 for Talent will surface in Common Data Service automatically and we will use that for integrating with D365 F&O.
On the other side, I have already deployed my D365 for finance and operations environment and that is ready for the integration with D365 for Talent.
Configure the Connection Set in Power platform admin center: The next step for us is to configure the Connection set, which basically defines the 2 environments/applications and their respective organizations/entities for data mapping and integration. In this case, I have created the Connection Set, which contains my D365 Finance and Operations environment and the CDS 2.0 environment.
We will leverage the out of the Data integration project templates which Microsoft ships already to configured our data integrator project. To configure the data integrator project, go to Power Platform Admin center and create the data integration project.
As you can see in the screenshot above, under this data integration project, I have selected the Connection set i configured above and I have also used a data integration template called Core HR, which is provided by Microsoft already.
If we go into the tasks of the integration project, you will notice that for each of the tasks, the source and destination data fields are already predefined in the template. If you want, you can modify the mappings based on your needs, or you can even extend the integration by creating your own tasks to integrate additional entities.
We now have all the environments and the integration configurations we need to have in place. Let us go ahead and create some data in the Core HR App of D365 Talent and we will then run the integration project manually for this demonstration. Ideally, i can have the integration to execute automatically periodically.
Note: I am not using the ATTRACT or ONBOARD apps of Talent in this demonstration/testing, but if you use those, the data from both of those applications surface directly in CDS 2.0 (Common Data Service) and the Core HR app syncs in almost real time with CDS 2.0 to sync those data (Data such as Jobs, Applicants, new hires etc.).
I have created a job named “D365 Tech Architect” in Talent as shown in screenshot below.
Now, let us run the Data integration project manually under the Power platform admin center and verify if the data syncs correctly to D365 Finance and Operations.
You can monitor the status of the execution of this under the Execution history tab.
As soon as the New job record was created in D365 Talent, it surfaced in the CDS Job entity.
The data integration project execution has now finished. We will go check in D365 F&O and see if the new job record got created. As you can see the new job record now exists in D365 F&O automatically.
Note: You can think of the end to end integration story between D365 Talent and D365 F&O, where you will start all the way from attracting the talent (Recruitment) then continuing to Onboarding, hiring in D365 for Talent, and finally have the employee and related data created automatically in D365 F&O.
When you use the Attract and Onboard apps of D365 Talent, they surface/store the data by default to the Common Data Service (CDS 2.0). The Core HR app f Talent the n automatically syncs the Attract/Onboard data from CDS. The sync is almost real time. Then when your Data integration project runs in PowerApps, the data from CDS will sync to D365 Fin and Ops.
As a concluding note for this post, I will say, “The Microsoft Power platform now looks ready for prime time and it is time for us to encourage our customers to start leveraging these and innovate, and think what they can do with these tools to digitize their business processes and improve process efficiencies. There are new features that Microsoft is introducing every month for this platform to make it more and more capable and to enable customers to be able to extend and integrate their Dynamics 365 and other business apps apps in low code, no code fashion.
That’s it for today’s post!! More to come.”