Data Infrastructure Management Software Discussions
I am working with a test WFA of version 188.8.131.52.0 and a productive WFA of Version 184.108.40.206.1P1.
Both with execution Policy unrestricted.
The following Command part does not work for the productive System:
### modules$ExPo = Get-ExecutionPolicyGet-WFALogger -Info -message $("Loading modules with execution policy $ExPo")## Fill templateImport-Module "$ModulePath/fill-template.psm1"
The log message is the following:
09:38:24.418 INFO [<COMMANDSNAME>] ### Command '<COMMANDSNAME>' in 'POWER_SHELL' ###09:38:31.809 INFO [<COMMANDSNAME>] Loading modules with execution policy Unrestricted
09:38:32.402 ERROR [<COMMANDSNAME>] AuthorizationManager check failed.09:38:32.512 ERROR [<COMMANDSNAME>] Command failed for Workflow '<WORKFLOWNAME>' with error : AuthorizationManager check failed.09:38:32.512 INFO [<COMMANDSNAME>] ***** Workflow Execution Failed *****
The strange thing is, that it works on the test WFA without any Problems.
All Used Paths are tested in a previous command (and I placed the modules on both servers (test and productive) in the same place)
Has someone any idea how to fix this problem?
See The Solution
Where did you get this module fill-template.psm1, is it from some website on the internet?
I suggest you do the following:
1. Right-Click on the file and "properties"
2. There will be button "Unblock". Click it.
Now try your command.
View solution in original post
It was written by myself on the test server.
After unblocking it on the productive server everything went fine.
Thanks a lot for this solution!