Skip to main content


Delegated form PowerShell scripts

You can configure delegated forms to run PowerShell scripts upon submission. This is where you use user-submitted form input to perform the necessary change in your organization's network.


Sometimes, you may need to run PowerShell code during a user's progression through a delegated form (as opposed to at the end, upon submission). In this case, split the underlying dynamic form into multiple steps, and use PowerShell data sources to execute code and populate form elements with the results.

To get started, Add a PowerShell script to a delegated form.

Delegated form scripts support Audit logging, Logging, and Email sends.


Delegated form PowerShell scripts can be executed by an On-premises Service Automation Agent or your Cloud Service Automation Agent.