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.

2,046 views0 comments

Recent Posts

See All

Optimizing Microsoft Sentinel (SIEM) Environment

In the ever-evolving landscape of cybersecurity, the importance of a well-optimized Sentinel Environment cannot be overstated. As threats continue to morph and adapt, security teams must engage in a c


bottom of page