Portall installation Error
Hello, I try install portal to SCSM server. And i receive error
Error processing powershell: AuthorizationManager check failed.
at System.Management.Automation.AuthorizationManager.ShouldRunInternal(CommandInfo commandInfo, CommandOrigin origin, PSHost host)
at System.Management.Automation.CommandDiscovery.ShouldRun(ExecutionContext context, PSHost host, CommandInfo commandInfo, CommandOrigin commandOrigin)
at System.Management.Automation.CommandDiscovery.LookupCommandProcessor(CommandInfo commandInfo, CommandOrigin commandOrigin, Nullable`1 useLocalScope, SessionStateInternal sessionState)
at System.Management.Automation.CommandDiscovery.LookupCommandProcessor(String commandName, CommandOrigin commandOrigin, Nullable`1 useLocalScope)
at System.Management.Automation.Runspaces.Command.CreateCommandProcessor(ExecutionContext executionContext, CommandFactory commandFactory, Boolean addToHistory, CommandOrigin origin)
at System.Management.Automation.Runspaces.LocalPipeline.CreatePipelineProcessor()
at System.Management.Automation.Runspaces.LocalPipeline.InvokeHelper()
at System.Management.Automation.Runspaces.LocalPipeline.InvokeThreadProc()
Best Answers
-
Joe_Burrows Cireson Devops Super IT Monkey ✭✭✭✭✭I usually see this particular error when installing offline and that files are blocked - as they have been copied from another source.
Id recommend right clicking the files in and going to properties and making sure each one is unblocked.6 -
seth_coussens Member Ninja IT Monkey ✭✭✭✭You can also use powershell for this and run this command from the install folder root:
Get-ChildItem * -Recurse | Unblock-File
6
Answers
I'm not sure of your environment, but this error could be related to powershell profiles on the machine and/or the execution policy for running PowerShell.
You can run Get-ExecutionPolicy to see if this is restricted.
There should be a powershell profile on the machine and this can be checked for current user at: %UserProfile%\My Documents\WindowsPowerShell\profile.ps1.
Hope that helps. If you have additional information about the error, please post here.
Thanks,
Id recommend right clicking the files in and going to properties and making sure each one is unblocked.
Enjoy the portal