We have tried to pulling the webhook url using the 'Get-AzAutomationWebhook' cmdlet this cmdlet is executing successfully but it is showing the webhook url property as null as shown in below.
Based on the Azure documentation, we cannot pull the webhook url using PowerShell. The URL contains a security token that allows a third-party system to invoke the runbook with no further authentication. For this reason, you should treat the URL like a password. For security reasons, you can only view the URL in the Azure portal when creating the webhook. Note the URL in a secure location for future use.
We have tried to pulling the webhook url using the 'Get-AzAutomationWebhook' cmdlet this cmdlet is executing successfully but it is showing the webhook url property as null as shown in below.
Based on the Azure documentation, we cannot pull the webhook url using PowerShell. The URL contains a security token that allows a third-party system to invoke the runbook with no further authentication. For this reason, you should treat the URL like a password. For security reasons, you can only view the URL in the Azure portal when creating the webhook. Note the URL in a secure location for future use.