Configuration Development SMA System Center Troubleshooting

SMA – Cannot create unkown type ‘{clr-namespace:Microsoft. PowerShell. DyncamicActivities} Activity_xxxxxxxxx_Nested’

Error

I have done many projects using Service Management Automation and PowerShell. One specific error I haven’t seen so far in the job exception of the SMA runbook is this…

image

…if you go to the runbook worker event log, you will find the same error…

image

Because I knew that the environment was working before and my gut feeling guided me somehow into the right direction. I checked the PowerShell modules directory first and figured out that the SMAAuthoringToolkit has been installed on the runbook worker (!)…

image

Attention: Never ever install SMAAuthoringToolkit on a SMA runbook worker, this is NOT supported!

I deleted the module and restarted the runbook worker service and everything worked as expected. If you don’t know what SMA Authoring Toolkit is please read my blog post here. I hope this helps your troubleshooting SMA – good luck!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.