I came across this error when trying to run Import-Module in an Octopus Deploy PowerShell script. This script was in the source code. What I end up doing was taking out Import-Module into its own Octopus Deploy step "Run a Script".
This article also thoroughly explain the reason for the error http://tgnp.me/2011/09/powershell-authorizationmanager-check-failed-resolution/
In the process, I also learned that Octopus Deploy changes the execution policy of the Powershell process to unrestricted.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment