Configure a Webhook in Microsoft Azure
In Azure, a webhook is a trigger mechanism used to invoke background tasks such as:
Runbooks in Azure Automation
Web jobs in Web Apps or Service Fabric
Serverless tasks via Azure Functions
A common use case involves triggering runbooks in Azure Automation. These runbooks can be started externally using HTTP POST requests to a webhook URI generated by Azure.
Example: A developer’s app running on Azure or any internet-enabled platform can POST to the webhook URI, initiating an automation runbook in Azure.
Create a Webhook API Token from ARM
Log into ARM.
Navigate to Admin Section > API Token.
Click Create API Token.

Enter a Token Name.
Select Type as webhook.
(Optional) Add a Description.
Click Create Option.

Your webhook API token is now created.
Create Webhook with Authentication on Azure
Sign in to https://portal.azure.com/.
Open the Service Hooks page of your project:

Click Create Subscription.
In the wizard, select the target service for integration.

Click Next to select an event trigger and configure filters if needed.


Enter the Payload URL:
Example: https://login.autorabit.com/api/webhook/v2/autorabit.com/trigger-scm-push-request
Configure Basic Authentication:
Username: ARM login username
Password: Webhook API token generated in ARM

Review and test the configuration, then complete the wizard.

Click Finish. The configured webhook will appear under Service Hooks.

After the webhook triggers a build and it completes, refresh the Service Hooks tab to confirm success. Review webhook history for trigger count and success/failure status.
For Enterprise Customers
Use the following endpoints: /api/webhook/v2//enterprise/trigger-scm-push-request /api/webhook/v2//enterprise/sync-alm-commits
Last updated
Was this helpful?