AZ-400 · Question #406
You have a project in Azure DevOps. You need to push notifications about pull requests to a Microsoft Teams channel. The solution must minimize development effort. What should you do?
To push pull request notifications from Azure DevOps to a Microsoft Teams channel with minimal development effort, install and configure the Azure Repos app for Teams. This dedicated app provides direct integration for repository events.
Question
Options
- AInstall the Azure Pipelines app for Teams and configure a subscription to receive notifications in
- BUse Azure Automation to connect to the Azure DevOps REST API and send messages to Teams.
- CInstall the Azure Repos app for Teams and configure a subscription to receive notifications in the
- DUse an Azure function to connect to the Azure DevOps REST API and send messages to Teams.
Why each option
To push pull request notifications from Azure DevOps to a Microsoft Teams channel with minimal development effort, install and configure the Azure Repos app for Teams. This dedicated app provides direct integration for repository events.
The Azure Pipelines app for Teams is primarily used for monitoring Azure Pipelines builds and releases, not for pull request events from Azure Repos.
Using Azure Automation involves writing custom runbooks and scripts to interact with APIs, which constitutes significant development effort and is not the most direct solution for this integration.
An Azure Function requires custom code development to connect to the Azure DevOps REST API and send messages to Teams, which involves more development effort than using a native integration.
Concept tested: Azure DevOps Azure Repos Teams integration for pull requests
Source: https://learn.microsoft.com/en-us/azure/devops/repos/integrations/repos-teams-integration?view=azure-devops
Community Discussion
No community discussion yet for this question.