# Microsoft Teams integration

## Microsoft Teams for app distribution

With just a few steps you can integrate Microsoft Teams into your app distribution process with Updraft and be informed about the latest app versions at any time and install them directly.

{% hint style="info" %}
Starting August 2024, Microsoft is retiring the Office 365 connectors feature from Microsoft Teams. If you have a Microsoft Teams integration configured for your project, you will have to update the *Webhook URL* to the new Workflow URL or create a new integration on Updraft. This Documentation is updated for Workflows
{% endhint %}

#### Prerequisites:&#x20;

To integrate Updraft with Microsoft Teams,  you need at least one channel in Teams and need to be able to create a Workflow for this Channel.&#x20;

Furthermore, your Updraft Account needs to be a Project-Admin.&#x20;

### 1. Create a Workflow for your Channel&#x20;

1. Press the three dots on the left Sidebar of Teams.&#x20;
2. If you do not see the App *Workflows*, search it.&#x20;

<figure><img src="https://1499220200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDXK35bj42Hdun3u_Zb-165900098%2Fuploads%2FM9tk8P7R5B9D6d5YmziG%2Fimage.png?alt=media&#x26;token=78e5da95-5ea7-4057-be81-3ff13bfecb12" alt="" width="375"><figcaption><p>Press on Workflows to continue</p></figcaption></figure>

3. Then you can press on *New flow* and ether use the *Post to a channel when a webhook request is recieved* or create a flow from blank.&#x20;
4. Lets say you decide to use the template from Microsoft

<figure><img src="https://1499220200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDXK35bj42Hdun3u_Zb-165900098%2Fuploads%2FrJrquouOlR5RWx5goRrR%2Fimage.png?alt=media&#x26;token=ed1cacc9-ca88-4918-9eff-195c73f37778" alt=""><figcaption><p>Select the template or create a flow from blank.</p></figcaption></figure>

5. Give this flow a name and if you are connected to teams, press on next.&#x20;
6. Select your Teams Team and Teams Channel in which you want to post a message. Press on *Create a flow.*&#x20;
7. Great! Now copy the URL of the Workflow and switch to Updraft.&#x20;

<figure><img src="https://1499220200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDXK35bj42Hdun3u_Zb-165900098%2Fuploads%2FgmEKg0XdUv4Z0ZwSSgmp%2Fimage.png?alt=media&#x26;token=ed93909c-7130-4e2b-9c0c-76fd8866a5d8" alt=""><figcaption><p>Copy this URL, you will need it later</p></figcaption></figure>

### 2. Add a Integration to Updraft

1. Select the Organization and Project. Then navigate to the *Project Settings*
2. Go to the *Integration* tab and add a Microsoft Teams Integration.&#x20;

<figure><img src="https://1499220200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDXK35bj42Hdun3u_Zb-165900098%2Fuploads%2F5mHXwkhonIXdM8ekcM0G%2Fimage.png?alt=media&#x26;token=5965e5a7-4f41-4319-b571-3f1ca05b618a" alt=""><figcaption><p>Add a Microsoft Teams Integration. </p></figcaption></figure>

3. Add a name and the URL from the Teams Workflow.&#x20;
4. If you want to configure the Workflow only for a specific App, select it.&#x20;
5. Press on *Save* and navigate to the *Builds* of your Project.&#x20;

### 3. Test the Integration of the Workflow.&#x20;

1. On the *Builds* page, upload a new Build.&#x20;
2. After a new build was uploaded, switch to Teams again and check your configured Channel.&#x20;

<figure><img src="https://1499220200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDXK35bj42Hdun3u_Zb-165900098%2Fuploads%2FGCGE6enN3ovj5cSkUhnR%2Fimage.png?alt=media&#x26;token=8fec1d28-d854-4fbd-97a6-fb8e8932449e" alt=""><figcaption><p>A automated Post was send via Workflows, perfect!</p></figcaption></figure>

Great, now you will get a message via Workflows every time you upload a build from Updraft.

{% hint style="info" %}
If you do not want to have the little message that this Workflow uses a template, you will have to create a flow from blank in step 1.4.&#x20;
{% endhint %}
