Skip to content

Microsoft Teams»

Microsoft Teams is a Slack alternative and a part of the Microsoft Office 365 suite. It's a chat-based workspace where teams can organize and discuss their work. Many DevOps teams use it to communicate and collaborate on infrastructure and application deployments. Hence, Spacelift has a first-class integration with Microsoft Teams.

The integration creates a webhook in Spacelift that will send notifications to a Microsoft Teams channel when:

Based on this configuration, the module will send notifications that look like these:

Run pending confirmation notification

Run finished notification

Module version notification

Prerequisites»

In order to set up the integration, you'll to perform some manual steps in Microsoft Teams. The Spacelift end of the integration is handled programmatically, by a Terraform module.

In Microsoft Teams»

In order to set up the integration, you'll need to create a Microsoft Teams workflow and copy its URL. You can do this by following these steps:

  1. Open the Workflows section.
  2. Start a new workflow.
  3. Use the Post to a channel when a webhook request is received template to set up the workflow.
  4. Pick the Team and Channel where you want to receive the notifications.
  5. Create the workflow.
  6. Copy the webhook URL, you'll need it in the next step.

In Spacelift»

The Teams integration is based on our notification policy feature, which requires at least an active Cloud tier subscription. While building a notification-based Teams integration from scratch is possible, we've created a Terraform module that will set up all the necessary integration elements for you.

This module will only create Spacelift assets:

Monitoring and troubleshooting»

Once the integration is set up, you can monitor the notifications in the My channel channel in Microsoft Teams. You can also monitor the notifications in the corresponding notification policy and its webhook endpoint in Spacelift.