top of page

Unable to cast object of type ‘System.String’ to type ‘System.Object[]’.

Updated: Mar 28, 2021

Environment: Azure Automation. Runbook Type: PowerShell.

Mostly this problem arises in Azure Automation Runbook, if you are passing Array Parameters to an Azure Automation Runbook. So, in my case I was trying to accept the input parameters. Multiple server name.

1,356 views0 comments

Recent Posts

See All
bottom of page