> For the complete documentation index, see [llms.txt](https://doc.dastra.eu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.dastra.eu/nl/features/integrations/microsoft-teams.md).

# Microsoft Teams

Stuur de workflowmeldingen van Dastra naar uw Microsoft Teams-kanalen

## Werking van de integratie

De Microsoft Teams-integratie plaatst de workflowmeldingen van Dastra als kaarten in een Microsoft Teams-kanaal. Wanneer een workflowregel wordt geactiveerd (er wordt een datalek aangemaakt, een verzoek gaat naar een volgende stap enzovoort), stuurt Dastra een Adaptive Card met een titel, een bericht en eventueel een link naar het item in Dastra.

<figure><img src="https://996651476-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1i0NSpf8ID0PXTpIyycA%2Fuploads%2Fgit-blob-78bd93b1a1e45d956c6513078c0bf7011fe4e979%2Fmsteams-card.png?alt=media" alt="Een meldingskaart van Dastra in een Teams-kanaal, met de knop Bekijk in Dastra"><figcaption><p>Een workflowmelding van Dastra in Teams</p></figcaption></figure>

## Vereisten

U hebt een Microsoft Teams-kanaal nodig met een inkomende webhook die is aangemaakt via de app Workflows (Power Automate):

1. Open het kanaal in Teams en klik op **...** > **Workflows**.

<figure><img src="https://996651476-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1i0NSpf8ID0PXTpIyycA%2Fuploads%2Fgit-blob-ef26e6d96448e78282b4a935b8c89362e2d70dce%2Fteams-workflows-menu.png?alt=media" alt="De optie Workflows in het kanaalmenu"><figcaption><p>De optie Workflows in het kanaalmenu</p></figcaption></figure>

2. Zoek naar "webhook" en kies het sjabloon **Send webhook alerts to a channel**.

<figure><img src="https://996651476-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1i0NSpf8ID0PXTpIyycA%2Fuploads%2Fgit-blob-6578a9c7d22192a236775753414770589aa596a5%2Fteams-workflows-template.png?alt=media" alt="Keuze van het webhooksjabloon in Workflows"><figcaption><p>Het webhooksjabloon kiezen</p></figcaption></figure>

3. Selecteer het team en het kanaal en klik op **Save**.

<figure><img src="https://996651476-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1i0NSpf8ID0PXTpIyycA%2Fuploads%2Fgit-blob-88e7d4035c512d3820f58d56feb5559a928416e8%2Fteams-workflows-config.png?alt=media" alt="Configuratie van de workflow met het gekozen team en kanaal"><figcaption><p>De workflow aan het kanaal koppelen</p></figcaption></figure>

4. Klik in het bevestigingsscherm op **Copy webhook link**. Dit is de URL die u in Dastra plakt (ze ziet eruit als `https://prod-XX.westeurope.logic.azure.com/workflows/...`).

<figure><img src="https://996651476-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1i0NSpf8ID0PXTpIyycA%2Fuploads%2Fgit-blob-4dec807810c845c6cd7e5418e435923c71baf161%2Fteams-workflows-link.png?alt=media" alt="Bevestigingsscherm met de knop om de webhooklink te kopiëren"><figcaption><p>De URL van de webhook kopiëren</p></figcaption></figure>

{% hint style="info" %}
Microsoft heeft de klassieke inkomende webhooks van Office 365 (kanaalconnectors) in april 2026 stopgezet. De app Workflows is de vervanger van Microsoft en de integratie steunt erop.
{% endhint %}

## Installatie

1. Open in Dastra **Instellingen voor werkruimte** > **Integraties** en selecteer **Microsoft Teams**.
2. Klik bij het gebruiksscenario **Publiceer de meldingen van uw workflowregels als kaarten in een Microsoft Teams-kanaal** op **Integratie toevoegen**.
3. Voeg een verbinding toe en plak de **Workflows webhook URL**.
4. Klik op **Verbinden**. Dastra plaatst meteen een testkaart met de titel **Testmelding Dastra** in het kanaal om de URL te controleren.

<figure><img src="https://996651476-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1i0NSpf8ID0PXTpIyycA%2Fuploads%2Fgit-blob-b02fe4e707280d6b47f2e81cd327d8e23105bc83%2Fmsteams-install.png?alt=media" alt="Verbindingsvenster van Microsoft Teams met het veld Workflows webhook URL"><figcaption><p>De Microsoft Teams-integratie installeren</p></figcaption></figure>

{% hint style="warning" %}
De URL van de webhook moet een HTTPS-eindpunt van Power Automate zijn (`*.logic.azure.com`, `*.azure-api.net` of `*.api.powerplatform.com`). Andere hosts worden geweigerd.
{% endhint %}

Wilt u meerdere kanalen notificeren, maak dan één verbinding per kanaal aan (elke Workflows-webhook richt zich op één kanaal).

## Meldingen versturen vanuit een workflowregel

Zodra de integratie is geïnstalleerd en ingeschakeld, biedt de ontwerper van [workflowregels](https://doc.dastra.eu/nl/features/settings/workflow-rules.md) de actie **Stuur een Teams-notificatie**.

U configureert ze zoals de actie voor e-mailmeldingen:

* **Titel van de kaart**: ondersteunt samenvoegvariabelen (bijvoorbeeld de naam van het item).
* **Bericht**: opgemaakte tekst met samenvoegvariabelen.
* **Een link naar het object in de kaart opnemen**: voegt een knop **Bekijk in Dastra** aan de kaart toe.

U kiest geen ontvanger: de kaart wordt afgeleverd in het kanaal achter de webhook.

<figure><img src="https://996651476-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1i0NSpf8ID0PXTpIyycA%2Fuploads%2Fgit-blob-03e770b6e5f578b0d5066029d875358f591610ca%2Fmsteams-action.png?alt=media" alt="Ontwerper van workflowregels met het formulier van de actie Stuur een Teams-notificatie"><figcaption><p>De workflowactie Stuur een Teams-notificatie</p></figcaption></figure>

{% hint style="info" %}
De Teams-actie verschijnt alleen in de lijst met acties wanneer de integratie in de werkruimte is geïnstalleerd en ingeschakeld.
{% endhint %}

## Verwijderen

Wanneer u de Microsoft Teams-integratie verwijdert, wordt de URL van de webhook gewist en worden alle workflowregels die de Teams-actie gebruiken automatisch uitgeschakeld (niet verwijderd), zodat uw regels niet gaan mislukken. Schakel ze opnieuw in nadat u de integratie opnieuw hebt geïnstalleerd.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://doc.dastra.eu/nl/features/integrations/microsoft-teams.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
