Skip to content

Michal Chmielus Blog

Microsoft Technology Passion Blog

Menu
Menu

Unit Testing Dynamics 365 plugin code

Posted on 2019-01-172019-01-17 by michalchmielus
Warning: Use of undefined constant visitors - assumed 'visitors' (this will throw an Error in a future version of PHP) in D:\HostingSpaces\chmielus1\blog.chmielus.pl\wwwroot\wp-content\themes\simple-responsiveblogily\template-parts\content.php on line 54 Warning: Illegal string offset 'visitors' in D:\HostingSpaces\chmielus1\blog.chmielus.pl\wwwroot\wp-content\themes\simple-responsiveblogily\template-parts\content.php on line 54

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

Posted on 2019-01-17 by michalchmielus
Warning: Use of undefined constant visitors - assumed 'visitors' (this will throw an Error in a future version of PHP) in D:\HostingSpaces\chmielus1\blog.chmielus.pl\wwwroot\wp-content\themes\simple-responsiveblogily\template-parts\content.php on line 54 Warning: Illegal string offset 'visitors' in D:\HostingSpaces\chmielus1\blog.chmielus.pl\wwwroot\wp-content\themes\simple-responsiveblogily\template-parts\content.php on line 54

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

Posted on 2019-01-172019-01-17 by michalchmielus
Warning: Use of undefined constant visitors - assumed 'visitors' (this will throw an Error in a future version of PHP) in D:\HostingSpaces\chmielus1\blog.chmielus.pl\wwwroot\wp-content\themes\simple-responsiveblogily\template-parts\content.php on line 54 Warning: Illegal string offset 'visitors' in D:\HostingSpaces\chmielus1\blog.chmielus.pl\wwwroot\wp-content\themes\simple-responsiveblogily\template-parts\content.php on line 54

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

Posted on 2019-01-17 by michalchmielus
Warning: Use of undefined constant visitors - assumed 'visitors' (this will throw an Error in a future version of PHP) in D:\HostingSpaces\chmielus1\blog.chmielus.pl\wwwroot\wp-content\themes\simple-responsiveblogily\template-parts\content.php on line 54 Warning: Illegal string offset 'visitors' in D:\HostingSpaces\chmielus1\blog.chmielus.pl\wwwroot\wp-content\themes\simple-responsiveblogily\template-parts\content.php on line 54

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

Posted on 2019-01-082019-01-17 by michalchmielus
Warning: Use of undefined constant visitors - assumed 'visitors' (this will throw an Error in a future version of PHP) in D:\HostingSpaces\chmielus1\blog.chmielus.pl\wwwroot\wp-content\themes\simple-responsiveblogily\template-parts\content.php on line 54 Warning: Illegal string offset 'visitors' in D:\HostingSpaces\chmielus1\blog.chmielus.pl\wwwroot\wp-content\themes\simple-responsiveblogily\template-parts\content.php on line 54

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

Posted on 2019-01-042019-01-05 by michalchmielus
Warning: Use of undefined constant visitors - assumed 'visitors' (this will throw an Error in a future version of PHP) in D:\HostingSpaces\chmielus1\blog.chmielus.pl\wwwroot\wp-content\themes\simple-responsiveblogily\template-parts\content.php on line 54 Warning: Illegal string offset 'visitors' in D:\HostingSpaces\chmielus1\blog.chmielus.pl\wwwroot\wp-content\themes\simple-responsiveblogily\template-parts\content.php on line 54

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…

Recent Posts

  • Unit Testing Dynamics 365 plugin code
  • Bulk load into Dynamics 365
  • Authenticate Azure App Service with Azure AD Security Group

Categories

  • Azure
  • Dynamics 365
  • Integrate Dynamics 365

Ratings

  • Unit Testing Dynamics 365 plugin code 1 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 5 (5.00 out of 5)
  • How to bind Dynamics 365 with Azure Logic Apps 1 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 5 (5.00 out of 5)
  • Utilize Data Export Service as data replication service in Dynamics 365 1 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 51 vote, average: 5.00 out of 5 (5.00 out of 5)
  • Call Dynamics 365 from Azure App Service 0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0.00 out of 5)
  • Authenticate Azure App Service with Azure AD Security Group 0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0.00 out of 5)
  • Bulk load into Dynamics 365 0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0.00 out of 5)
©2026 Michal Chmielus Blog | Built using WordPress and Responsive Blogily theme by Superb