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) +…

0

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…

0

Unit Testing Dynamics 365 plugin code

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…

0

Utilize Data Export Service as data replication service in Dynamics 365

It is always crutial to do not degradate the performance in CRM and frustrate users by slowly loading pages. Data Export Service is add-on service as Dynamics 365 (online) solution which replicates data to Azure SQL Database and this is fairly good solution however not perfect. In case you need to work in nearly real-time…

0

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…

0

How to bind Dynamics 365 with Azure Logic Apps

If you want to call Dynamics 365 over Web API you have to enable binding between Dynamics 365 and Azure AD Application. In order to enable Dynamics 365 in Azure Logic App using Azure AD Authentication (OAuth) you need to create Azure AD Application (Application Identity) and grant sufficient permissions.

0