Category Archives: Dynamics

A PowerShell script to import/export solutions and data

Sep 26: A newer version of this post is available here: https://www.itaintboring.com/dynamics-crm/using-powershell-to-exportimport-solutions-data-and-word-templates/ I have never been a big supporter of the configuration migration tool simply because it seems strange that we need to export data manually while preparing a package for the package deployer. I am also on the fence when it comes to the… Read More »

PowerShell and Dynamics/PowerApps

  I was working on a PowerShell script, and I just could not get past the error below: “Element ‘http://schemas.datacontract.org/2004/07/System.Collections.Generic:value’ contains data from a type that maps to the name ‘System.Management.Automation:PSObject’. The deserializer has no knowledge of any type that maps to this name” Yet I was not trying to do anything extraordinary (other than… Read More »

SolutionPackager can now extract and re-package CanvasApps included into the solution

  Not sure if you are aware, but the latest version of SolutionPackager can now extract and re-package CanvasApps (and Flows). Depending on the version of SolutionPackager you’ve been using so far, it might or might not be failing once a canvas app is included into the solution. However, the latest version is not just… Read More »

Instantiating an email template with Web API

There is email template functionality in Dynamics/model-driven applications – if you are not familiar with it, have a look at the documentation first: https://docs.microsoft.com/en-us/dynamics365/customer-engagement/admin/create-templates-email However, what if, for whatever reason, you wanted to automatically instantiate an email template instead of having to use “insert template button” on the email screen? For example, maybe there are… Read More »