# Configure a Webhook in Teams

{% hint style="info" %}
After the 25.3.9 release, the structure of the webhook payload URL was updated. Customers need to update the webhook URL in the repository settings of their remote repo. Some customers are still using the old webhook URL containing **autorabitrest**, which should now be replaced with api.

Example:

Old URL: [https://na25.autorabit.com/**autorabitrest/**&#x77;ebhook/triggerSCMPushrequest](https://na25.autorabit.com/autorabitrest/webhook/triggerSCMPushrequest)

Updated URL: [https://na25.autorabit.com/api/webhook/v2/\<OrgName>/trigger-scm-push-request](https://na25.autorabit.com/api/webhook/v2/<OrgName>/trigger-scm-push-request)

Unless you update the Payload URL, you might face pull request/trigger build-on-commit jobs triggering.
{% endhint %}

1. Log in to your **Microsoft Teams** application.
2. In the left panel, click the **Apps** icon.

<figure><img src="/files/kGOqZoksGs9a3XuPgM2T" alt="Microsoft Teams interface highlighting the Apps icon" width="349"><figcaption></figcaption></figure>

3. Search for **Incoming Webhook** and click on the corresponding app.

<figure><img src="/files/gLCY3j3JEVNlAHkWIF7K" alt="Search results for Incoming Webhook app in Teams"><figcaption></figcaption></figure>

4. Click **Add to a team**.

> Tip: Click the copy icon to save the configuration link in case you need to complete the setup via a browser.

<figure><img src="/files/aKtcu1ytO0uzwvP6tG9o" alt="Incoming Webhook setup screen with copy link option" width="563"><figcaption></figcaption></figure>

<figure><img src="/files/u6NXPGREJ4SksXFqphaK" alt="Redirect to browser message for Teams webhook setup"><figcaption></figcaption></figure>

5. Type the **team or channel name** in the search field, select the target team, then click **Set up a connector**.

<figure><img src="/files/5dXok6L9cnIDzeTb3o68" alt="Select channel screen for configuring webhook in Teams" width="563"><figcaption></figcaption></figure>

6. Click **Add** for the **Incoming Webhook** option.

<figure><img src="/files/40fpi4crmLjeEF1cdOXg" alt="Add Incoming Webhook option in Teams"><figcaption></figcaption></figure>

7. Enter a name for the webhook. Optionally, upload an image. Then click **Create**.

<figure><img src="/files/rTRvySv4PXY1T86yyXDq" alt="Configure webhook screen showing name and upload image fields" width="530"><figcaption></figcaption></figure>

8. Copy the displayed webhook URL and save it securely (e.g., in Notepad), as it won't be shown again. Click **Done** once saved.

<figure><img src="/files/ai1YF5X8wc561Gfu3NkN" alt="Webhook URL copy screen with Done button"><figcaption></figcaption></figure>

9. Integrate the Teams webhook URL with ARM. For integration steps, refer to the [Notifications & Mail Server Settings guide](https://knowledgebase.autorabit.com/product-guides/arm/troubleshoot/how-tos/notifications-mail-server-settings).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://knowledgebase.autorabit.com/product-guides/arm/arm-features/webhooks/configure-a-webhook-in-teams.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
