KB0029 - Out-PSUPipeline not found when using Run As credentials in IIS
Applicability
This article applies to users running PowerShell Universal 3.7.12 or later in IIS and attempting to start jobs are alternate user accounts.
Root Cause
PowerShell Universal 3.7.12 sets the environment variables for the Run As user account when starting jobs are alternate accounts. This is necessary to fully load the profile for the target account. This can override the PSModulePath set by PowerShell Universal, and the child process will fail to find the Universal module and thus the Out-PSUPipeline command.
Workaround
You can work around this issue by adding the PSU Modules folder path to the System environment variables PSModulePath values.
For example, if you installed the PSU application files at C:\inetpub\wwwroot\, you would need to include the path C:\inetpub\wwwroot\Modules.
Related Articles
HTTPS Certificate Not Found
Version: Any Issue: After configuration the certificate for your PowerShell Universal and attempting to start the server, you receive the following error. Unhandled exception. System.InvalidOperationException: The requested certificate ...
KB0031 - Environment Not Found Error
Applicability Users that have Git sync enabled may run into an issue where PowerShell Universal reports that an environment was not found. Root Cause The root cause is currently unknown. We are currently investigating this issue. This article will be ...
KB0052 - Collecting IIS Application Pool Recycle Events
Purpose The purpose of this document is to provide information on how to collect IIS Application Pool recycle events. Application Pool recycling can be problematic for PowerShell Universal servers. Walk Through By default, only three of the eight ...
IIS: HTTP Error 502.5 - ANCM Out-Of-Process Startup Failure
Applies to: PowerShell Universal 1.4 or later When configuring PowerShell Universal to run under IIS, you may be presented with an error that states ANCM Out-Of-Process Startup Failure. This error can be presented for a variety of reasons but the ...
KB0079 - gRPC Issues when using PowerShell Universal v5 Cmdlets
Scope Users running PowerShell Universal v5 or later that are attempting to call cmdlets that interact with PowerShell Universal management APIs. Problem Various errors from PowerShell Universal cmdlets referring to gRPC. Root Cause The use of gRPC, ...