Skip to content

Migration of Pre-script runbook with webhook is failing #10

@cdranschak

Description

@cdranschak

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions