AZ-400 Question 60
Select 2Your development team uses Azure DevOps for source control and CI/CD pipelines. They want to see new pull requests and pipeline build statuses in a dedicated Microsoft Teams channel without having to leave Teams. Which two actions should you take to properly configure this integration?
- A
Enable the 'Teams Integration' toggle in Azure DevOps Project Settings under the 'Integrations' tab
- B
Install the Azure DevOps app in Microsoft Teams from the Teams App Store
- C
Sign in to the Azure DevOps app in Teams and create subscriptions for the desired events
- D
Create a new Personal Access Token (PAT) in Azure DevOps and manually store it in Microsoft Teams channel settings
- E
Connect the Azure DevOps organization to the channel using an Incoming Webhook connector in Teams
Show answer and explanation
Correct answers: B, C
Explanation
To integrate Azure DevOps with Microsoft Teams, you usually install the Azure DevOps app from the Teams App Store, authenticate with your Azure DevOps account, and then configure notifications for the events you care about (e.g., pull requests, pipeline builds). This approach is fully documented in the Microsoft Teams and Azure DevOps integration guides, ensuring a secure and straightforward setup.
- A. Incorrect.
Option 1 is incorrect because there is no dedicated 'Teams Integration' toggle or tab within Azure DevOps that you simply switch on; integrating Azure DevOps with Teams requires installing and configuring the Azure DevOps app within Teams.
- B. Correct.
Option 2 is correct. Installing the Azure DevOps app in Microsoft Teams is the recommended way to provide notifications and updates directly within a Teams channel.
- C. Correct.
Option 3 is correct. After installing the Azure DevOps app, you must sign in and configure event subscriptions (e.g., pull requests, pipeline builds) to receive updates in the Teams channel.
- D. Incorrect.
Option 4 is incorrect. While Personal Access Tokens (PATs) can be used in certain custom scenarios, the typical approach for native Microsoft Teams integration does not require manually storing a PAT in channel settings. The official Azure DevOps app handles authentication more securely.
- E. Incorrect.
Option 5 is incorrect in the context of the recommended approach because using an Incoming Webhook alone does not provide full, granular integration for pull requests or build events. The built-in Azure DevOps app subscriptions offer a more direct and supported method.