How To Fix Dynamics CRM SDK PowerShell Download: The file xxx.ps1 is not digitally signed!

When running the PowerShell script to download the Dynamics CRM SDK as per this Microsoft article the following error occurs File xxx.ps1 cannot be loaded. The file xxx.ps1 is not digitally signed. You cannot run this script on the current system.


 

Solution

Execute the Set-ExecutionPolicy Unrestricted PowerShell code to set the execution policy to unrestricted.


Please note this is not best practice, as running vicious PowerShell scripts with unrestricted execution policy can have catastrophic consequences. Therefore never run a PowerShell script with unrestricted execution policy on a production server or an important server. I this circumstance am happy to take the risk since I trust the script and since I am running it on a development machine.



 

Full Error


 

Full PowerShell to Download CRM SDK



 

Resources

PowerShell to Download CRM SDK https://community.dynamics.com/crm/b/crm365blog/archive/2018/07/05/microsoft-dynamics-365-sdk-download-using-powershell


Set PowerShell Execution Policy

https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy?view=powershell-6

16 views0 comments

Recent Posts

See All

There are a number of tricks that can help improve the speed of data migrations. I have bullet pointed them below and included links and references at the bottom of the page. Turn off all workflows (i

Power Platform storage seems to get consumed very quickly. I have had to come up with capacity management strategies for numerous clients over the years. I really do wish Microsoft would increase the