# Generate Microsoft Teams Webhook URL

When adding a new Administrator or modifying Administrator details in OneSite Patch, you can add a Teams Webhook URL to post notices to a specified Teams channel. Administrators can check the Teams channel for patch notifications and take the necessary action.

## Prerequisites

You will first need to create a Teams Channel and incoming webhook from the following Microsoft documentation:

* [Create a Microsoft Teams Channel](https://support.microsoft.com/en-us/office/create-a-standard-private-or-shared-channel-in-microsoft-teams-fda0b75e-5b90-4fb8-8857-7e102b014525)
* [Create an Incoming Webhook](https://learn.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-incoming-webhook?tabs=newteams%2Cdotnet#create-an-incoming-webhook)

### Configure Administration Settings

{% hint style="info" %}
You must be signed in as a Super Administrator in order to add a Teams Webhook URL to another admin account.
{% endhint %}

1. Click **settings gear > Settings > Security > Administrators**.

   ![Navigation to admin settings](/files/AlVa7Ui0eaHsQKDB9xrZ)
2. Open an existing Administrator or click **+ New** to create a new Administrator.
3. Copy and paste the Teams Webhook URL under **Administrator Details**.

   * The URL was generated from the Create an Incoming Webhook guide above.

   ![Administrator Details with webhook](/files/B4l3Y0CbmJVGKizmK9cc)
4. Click **Save**.


---

# 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://docs.adaptiva.com/platform-guide/security/security-access/security-access-teams-webhooks.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.
