An Azure service that is used to automate, configure, and install updates across hybrid environments.
Hi,
I do not know why is different as I haven't used hybrid workers but the easiest way to solve it is to treat the input as json and convert it to PSObject (ConvertFrom-Json). In fact the example does that for the request body.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.