top of page

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

Updated: Jun 8, 2023

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


Set PowerShell Execution Policy

43 views0 comments

Recent Posts

See All

Comments


bottom of page