Exam AZ-400 All QuestionsBrowse all questions from this exam
Question 54

You are integrating Azure Pipelines and Microsoft Teams.

You install the Azure Pipelines app in Microsoft Teams.

You have an Azure DevOps organization named Contoso that contains a project name Project1.

You subscribe to Project1 in Microsoft Teams.

You need to ensure that you only receive events about failed builds in Microsoft Teams.

What should you do first?

    Correct Answer: C

    To ensure that you only receive events about failed builds in Microsoft Teams after subscribing to a project, you need to manage your subscriptions. This can be done by running the '@azure pipelines subscriptions' command in Microsoft Teams. This allows you to view all current subscriptions, modify existing ones, and apply the necessary filters to only get notifications for failed build events.

Discussion
AppsuriOption: C

Answer is C

jay158

Yes C https://docs.microsoft.com/en-us/azure/devops/pipelines/integrations/microsoft-teams?view=azure-devops#manage-subscriptions

warchoon

No A Just see section "Use commands"

warchoon

Ок С Missed the filter option. It's bad for teams not to provide the command

babiend20Option: C

Answer is C https://docs.microsoft.com/en-us/azure/devops/pipelines/integrations/microsoft-teams?view=azure-devops Using filters effectively to customize subscriptions When a user subscribes to any pipeline, a few subscriptions are created by default without any filters being applied. Often, users have the need to customize these subscriptions. For example, users may want to get notified only when builds fail or when deployments are pushed to a production environment. The Azure Pipelines app supports filters to customize what you see in your channel. Run the @Azure Pipelines subscriptions command Select View all subscriptions. In the list of subscriptions, if there is a subscription that is unwanted or should be modified (Example: creating noise in the channel), select Remove Scroll down and select the Add subscription button Select the required pipeline and the event Select the appropriate filters and save

icedogOption: C

It's C From the preamble in the question option A has already been done (You Subscript to Project1 in Microsoft Team" To ensure you only receive failure events you need to run @azure pipelines subscriptions and from there you can manage filters

husam421Option: C

Run the @azure pipelines subscriptions command.

FiedlExamopicsOption: A

The correct answer is A, the link https://learn.microsoft.com/en-us/azure/devops/pipelines/integrations/microsoft-teams?view=azure-devops clearly states that you have to subscribe to a project first of all, before you can modify and make any modifications to the subscription. If C is done before A, there is no assigned project subscription to the pipeline which would not make sense. The question asks what needs to be done first and that is A before C.

renzokuOption: C

1. run @azure pipelines subscriptions 2. select the project "Project1" 3. Set up a subscriptions for failed builds, then you will receive notifications in Teams

KumaTedOption: C

yeah, the answer is C ,definitely

AvinashVarmaOption: C

Given requirement: Receive events about failed builds. This can be achieved by runnning "Azure Pipelines subscriptions" in Teams Converstation and click on "Add Subscription" for more filter options like choosing "Build Status: Failed". The answer is C. Reference: https://learn.microsoft.com/en-us/azure/devops/pipelines/integrations/microsoft-teams?view=azure-devops#manage-subscriptions

SingularityLadyOption: A

I think A is the correct option because the question is: "What should you do first?"

Amutha_25

You have already subscribed to Project1 in Microsoft Teams. Read the question again

e0da014Option: C

Option C , Refer this: https://learn.microsoft.com/en-us/azure/devops/pipelines/integrations/microsoft-teams?view=azure-devops Manage subscriptions When you subscribe to a pipeline, a few subscriptions get created by default without any filters applied. You might want to customize these subscriptions. For example, you might want to get notified only when builds fail or when deployments get pushed to a production environment. The Azure Pipelines app supports filters to customize what you see in your channel. To manage your subscriptions, complete the following steps. Run the @azure pipelines subscriptions command

PavloOption: C

C. From Microsoft Teams, run @azure pipelines subscriptions. This command allows you to manage your subscriptions within Microsoft Teams, including specifying the types of events you want to receive notifications for, such as failed builds. By running this command, you can set up a subscription specifically for failed build events, ensuring that you only receive notifications relevant to your requirement.

ozbonnyOption: C

C https://learn.microsoft.com/en-us/azure/devops/pipelines/integrations/microsoft-teams?view=azure-devops

ozbonnyOption: C

I think C. From Microsoft Teams, run @azure pipelines subscriptions. since you already subscribed to the project

ozbonnyOption: C

I think You subscribe to Project1 in Microsoft Teams. since the first step is already done.

kleansoulOption: C

When you subscribe to a pipeline, a few subscriptions get created by default without any filters applied. You might want to customize these subscriptions. For example, you might want to get notified only when builds fail or when deployments get pushed to a production environment. The Azure Pipelines app supports filters to customize what you see in your channel. To manage your subscriptions, complete the following steps. Run the @azure pipelines subscriptions command.

yana_bOption: C

Go to your teams project channel -> type in @azure pipelines and then select subscriptions -> when the list with subscriptions appears on your screen => select view all subscriptions -> under each subscription there is remove button

rikininetysixOption: C

Answer seems to be 'C'. Refer to 'Manage Subscription' section of the document - https://github.com/MicrosoftDocs/azure-devops-docs/blob/main/docs/pipelines/integrations/microsoft-teams.md "For example, you might want to get notified only when builds fail or when deployments get pushed to a production environment. The Azure Pipelines app supports filters to customize what you see in your channel. To manage your subscriptions, complete the following steps. Run the @azure pipelines subscriptions command."