Migration of Pre-script runbook with webhook is failing
cdranschak opened this issue · 0 comments
Getting the following error when migrating automation update management to Azure Update Manager for the portion for a pre-script runbook with webhook.
Prior to running the runbook I have registered for the preview of the pre and post events preview.
Write-Telemetry : [Debug]Invoke-AzRestMethod with params [@{Path=/subscriptions/id/res ourceGroups/rg/providers/Microsoft.Automation/automationAccounts/AutoAcct/webhooks/schedulename-AUMMig-PreTa skWebhook?api-version=2015-10-31; Method=GET}] failed with an unhandled exception: Invalid JSON primitive: Webhook.. At line:955 char:13 + Write-Telemetry -Message ("[Debug]Invoke-AzRestMethod wit ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Write-Telemetry