DeployToDynamics365Instance.ps1 You cannot run this script on the current system


dynamics365

Solution

You need to run the Set-ExecutionPolicy -ExecutionPolicy unrestricted -Scope CurrentUser in the Powershell terminal.

Example

Probably you see the next error:

The error

The specifying of ExecutionPolicy will fix the issue:

Set-ExecutionPolicy -ExecutionPolicy unrestricted -Scope CurrentUser

comments powered by Disqus