I have setup an automation app to stop and start a stream analytics job, following a guide from this doc https://learn.microsoft.com/en-us/azure/stream-analytics/automation-powershell
Whenever the job is running, the runbook runs fine to stop it, yet once it is stopped it and then the runbook runs again, constantly pulls this error below.
“Cannot find an overload for “op_Subtraction” and the argument count: “2”. (Cannot find an overload for “op_Subtraction” and the argument count: “2”.)”.
Am using powershell 7.2.
Any help would be appreciated.
Have tried all in the guide, have gotten the program to work to stop the stream. Cannot get it to work when starting the stream.
Will Mclennan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.