Unit Testing is crutial in software development which helps you proofing your development efforts and delivery in regards to desired functionality. I’m not going to explain step by step how to create a Unit Test project in Visual Studio but focus on some remarkable topics. In Dynamics 365 plugin development I have been using Moq…
Bulk load into Dynamics 365
This is fairly common to massive data load into Dynamics 365. Here you can find useful link to bulk load. As you know there are some constraints while accessing Dynamics 365 over SDK (Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy): 1000 requests in Microsoft.Xrm.Sdk.Messages.ExecuteMultipleRequest 2 concurrent Microsoft.Xrm.Sdk.Messages.ExecuteMultipleRequest Firstly, you need to instantiate Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy class and open the WCF channel to your…
Authenticate Azure App Service with Azure AD Security Group
If you’re developing Azure App Service i.e. ASP.NET MVC application and there is a requirement to authenticate current user against Azure AD Security Group you need to consider some steps: In th Startup.cs as the part of UseOpenIdConnectAuthentication add/change Notifications Notifications = new OpenIdConnectAuthenticationNotifications() { RedirectToIdentityProvider = (context) => { string appBaseUrl = ConvertToSsl(context.Request.Scheme) +…
Call Dynamics 365 from Azure App Service
In case you need to get or modify data in Dynamics 365 while calling from Azure Logic App I would recommend to use an action of Http type. This action provides you to request Dynamics 365 endpoint using most of relevant verbs (methods), among each other: GET, POST, PATCH, DELETE along with authentication header. This…
Utilize Data Export Service as data replication service in Dynamics 365
I am fairly sure you would consider integrating your organizational data stored in Microsoft Dynamics 365 with Azure. Since Microsoft Azure offers services which you can easly use in the integration along with capabilities of scalability, automated deployment and monitoring. Since there are many circumstanes to degrade a performance in Dynamics 365 the solution decouples…
How to bind Dynamics 365 with Azure Logic Apps
If you want to call Dynamics 365 using Web API you have to bind Dynamics 365 with Azure AD Application. In order to bind Dynamics 365 with Azure Logic App using Azure AD Authentication (OAuth) you need to create Azure AD Application (Application identity) and grant sufficient permissions. There is already great guideline however covers…