Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cdranschak opened this issue Jun 7, 2024 · 0 comments
Open

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

cdranschak opened this issue Jun 7, 2024 · 0 comments

Comments

@cdranschak
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant