# 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="https://2014854803-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxDo3MABoirR9g57aZyJ1%2Fuploads%2F2R1AY8yvOPfy350uUOWd%2Fimage.png?alt=media&#x26;token=23ae7e03-0f54-4049-90d6-457d3c774ae1" 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="https://2014854803-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxDo3MABoirR9g57aZyJ1%2Fuploads%2FnZUbPu5I9YgKx6ddtWqR%2Fimage.png?alt=media&#x26;token=ab07c087-4027-4493-b841-9356c9af7acf" 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="https://2014854803-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxDo3MABoirR9g57aZyJ1%2Fuploads%2FMYFe7vIqYJMKhVI6ian4%2Fimage.png?alt=media&#x26;token=dcbef3f4-f2de-4331-9f61-b2df2f3d4df0" 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="https://2014854803-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxDo3MABoirR9g57aZyJ1%2Fuploads%2FXzTMfAOu6VjLf4y1aE2I%2Fimage.png?alt=media&#x26;token=92d596dd-3851-4375-a34d-83d535323c73" 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="https://2014854803-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxDo3MABoirR9g57aZyJ1%2Fuploads%2FjX4aAadIBnKjtKgpJ5hA%2Fimage.png?alt=media&#x26;token=bafd8452-1aff-4e7c-9fca-6806d2402c8a" 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="https://2014854803-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxDo3MABoirR9g57aZyJ1%2Fuploads%2Fpxw10V6Z4NmibwdAeQMw%2Fimage.png?alt=media&#x26;token=90a692c3-ebdb-4c95-a133-65a43529320e" alt="" width="339"><figcaption></figcaption></figure>
