SystemCenter: WAP-Error: Cannot create unknown type
Error
Cannot create unknown type '{clr-namespace:Microsoft.PowerShell.DynamicActivities;assembly=xza4410m.drl}Activity_651390303_Nested'.
Cause
The PowerShell-Module SMAAuthoringToolkit (EmulatedAutomationActivities) is installed on a SMA-Worker.
The EmulatedAutomationActivities module should not be installed on any SMA Runbook Worker host. If it is installed, it could cause runbooks running on that worker to fail because the worker won’t know whether to use the real Get-Automation* activities or the emulated ones when it runs runbooks. This means that if you want to take advantage of the SMA-only activities in the PowerShell ISE, you can only write ISE runbooks on a host that is not an SMA Runbook Worker.
Solution
- Remove the Get-AutomationAsset runbook from WAP-Portal
- Remove the PowerShell-Module SMAAuthoringToolkit from your SMA-Worker (C:\Program Files\WindowsPowerShell\Modules)
More informations:
https://gallery.technet.microsoft.com/Service-Management-d4edfbf4