# How to post notifications to MS Teams

You may like to be notified in Microsoft Teams when a TicketLog workitem is created in Azure DevOps.

This can be done with the Azure Boards app for MS Teams.&#x20;

To setup the app, follow these steps:

1. From MS Teams, add the app called "Azure Boards" and select the channel where you would like notifications to be posted.<br>

   <figure><img src="/files/mCnhOxODMLYaGpCLOuTM" alt="" width="543"><figcaption></figcaption></figure>

2. Switch to the target channel. You should see a post from Azure Boards indicating the app has been added to the channel.<br>

   <figure><img src="/files/wh0mQVtPS3tDegAM5ifb" alt="" width="386"><figcaption></figcaption></figure>

3. Click 'Reply in thread' and enter the following commands:
   1. @Azure Boards signin
      * Signing in with an Azure devops user, who has Administrator privilege in Azure DevOps.
   2. @Azure Boards link <https://dev.azure.com/**myorg**/**myproject>\*\*

      * Change *myorg* and *myproject* in the url to the same organization and project used in your TicketLog service desk<br>

      <figure><img src="/files/oP0MDcfK8fvDnjfxYs53" alt="" width="382"><figcaption></figcaption></figure>

4. Click the 'Add subscription' button and select 'Work item created'. Also consider adding the Tag filter 'TicketLog' to ensure only TicketLog workitems generate a notification. Click Submit.<br>

   <figure><img src="/files/xkyOQRxSHjUr1XXWg5sB" alt="" width="351"><figcaption></figcaption></figure>

   * *Note: If required, add or remove subscriptions with the command: @Azure Boards subscriptions*

5. A new post will be added to the channel indicating if this is successful or failed. If it failed, address the error and try again.<br>

   <figure><img src="/files/nusbj8z8EaPHSaTfLoAQ" alt="" width="335"><figcaption></figcaption></figure>

6. Try creating a ticket from the TicketLog service desk and verify the notification appears. It may take 10-60 seconds to appear.<br>

   <figure><img src="/files/prW5JjS4Tw0WpZNeMr8s" alt="" width="339"><figcaption></figcaption></figure>


---

# 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.ticket-log.com/guides/how-to-post-notifications-to-ms-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.
