AZ-400 Configure processes and communications Practice Question
Your company uses Microsoft Teams for collaboration. You want to send notifications to a Teams channel whenever a build pipeline in Azure Pipelines fails. Which approach should you use?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Install the Azure Pipelines app for Microsoft Teams and subscribe the channel to pipeline notifications.
The Azure Pipelines app for Microsoft Teams provides built-in integration to subscribe to pipeline events and send notifications to channels. Option A is incorrect because email subscriptions are separate. Option B is incorrect because webhooks require custom configuration. Option D is incorrect because the Teams connector is deprecated in favor of the app.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Configure an email subscription in Azure DevOps to send alerts to the Teams channel email address.
Why it's wrong here
Email subscriptions in Azure DevOps are designed to notify individual users or groups via email, not to deliver messages directly to a Microsoft Teams channel. Although a Teams channel can be assigned an email address, that relies on extra connector configuration and still doesn't provide the rich pipeline event filtering and interactive cards available from the official integration.
- ✗
Set up a webhook in Azure DevOps to post to the Teams channel's incoming webhook URL.
Why it's wrong here
A raw webhook can indeed post to a Teams incoming webhook URL, but it requires manually authoring JSON payloads, managing the webhook secret, and maintaining the subscription for every desired pipeline event. This approach is more error-prone and operationally heavier than using the Azure Pipelines app, which abstracts away all of that plumbing and supports richer notification types.
- ✓
Install the Azure Pipelines app for Microsoft Teams and subscribe the channel to pipeline notifications.
Why this is correct
The Azure Pipelines app for Microsoft Teams is the official integration that lets you subscribe a channel to pipeline events, such as completed builds and releases, failed jobs, and pending approvals. It uses the Teams bot framework to deliver structured, interactive cards and does not require custom code, webhook secrets, or manual service hook construction, making it the recommended and simplest setup.
- ✗
Use the 'Post to a Microsoft Teams channel' task in the pipeline.
Why it's wrong here
The 'Post to a Microsoft Teams channel' pipeline task only sends a one-time message at the point in the pipeline where it runs, and it still requires an incoming webhook URL to be configured. It lacks the automatic, channel-wide subscription to all relevant pipeline lifecycle events that the Azure Pipelines app provides, so it's a narrower and more manual solution.
Go deeper
Related to this question
Learn chapter
Introduction to DevOps and Azure DevOps
Key term
Build pipeline
A build pipeline is an automated sequence of steps that compiles source code into a deployable artifact, running tests and checks along the way.
Key term
Pipeline
A pipeline is an automated series of steps that takes code from development to production, ensuring quality and speed.
About these practice questions
Courseiva writes every AZ-400 question from scratch — 823 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AZ-400 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-400 exam.