Azure DevOps Pipeline Notifications: Customized Subscription Setup

On this article, we’re going to study Notifications in Azure DevOps.

Azure DevOps has assist for the beneath two varieties of notifications.

  1. Org/Venture Degree notifications: You may view all the varied varieties right here
  2. Private notifications: Every particular person person can handle their Private Notifications.

The above two choices ship notifications solely to the members of Azure DevOps. Take into consideration a state of affairs the place you want to ship notifications to anybody who is just not a part of Azure DevOps.

Azure DevOps additionally has assist for configuring Customized notifications. On this article, we’re going to study easy methods to configure Customized notifications for any particular occasion or state of affairs utilizing a characteristic known as Customized Notification Subscription.

State of affairs

You want to retailer all notification emails in a Widespread E mail field (ex: [email protected]) to audit all of the Failures or Partially Succeeded pipeline executions.

Possibly, you might need to retailer these notifications ONLY for essentially the most crucial pipelines as a substitute of all of the pipelines for a given ADO Staff Venture.

Let’s discover ways to implement this state of affairs.

Setup and Necessities

Create the beneath.

  1. Create two crucial pipelines named Pipeline1 and Pipeline2
    • 1st pipeline would have one PowerShell process and it all the time succeeded
    • Initially, 2nd pipeline will fail.
    • Subsequently, 2nd pipeline will get Partially Succeeded.
    • Lastly, 2nd pipeline will get succeeded
  2. Create a non-critical pipeline named Pipeline3 for which you don’t want any notifications to the customized e-mail tackle.
  3. So as to obtain Create Customized Notification Subscription which sends e-mail notification to a customized e-mail tackle when the beneath situations are met.
    • If the Definition Identify of the Pipeline is Pipeline1
    • If the Definition Identify of the Pipeline is Pipeline2
    • If Pipeline1’s Standing is Succeeded, Partially Succeeded or Failed
    • If Pipeline2’s Standing is Succeeded, Partially Succeeded or Failed


Navigate to the Venture Settings, click on on the Notifications tab, after which click on on the New Subscription as proven beneath.

Within the new Subscription tab, as you’ll be able to see there are fairly a number of Classes for which you’ll be able to configure Customized notifications. Our curiosity is in constructing notifications.

As proven beneath, select the Construct choice within the Class after which select A construct completes within the Template record, after which click on Subsequent.


Within the subsequent step, configure the next.

  1. Be happy to alter the Description.
  2. Within the Ship to subject, select Customized electronic mail tackle and supply the e-mail field within the Tackle subject
  3. Within the Filter subject, select A selected crew venture and choose your venture (it needs to be routinely set)
  4. Within the Filter standards subject, select the beneath filters.
    • We want to obtain notifications for each Pileline1 and Pipeline2. So, select Or as proven beneath.
  5. As we’re creating just one subscription for getting notifications for each pipelines, we have to maintain the beneath.
    • Select Or situation
    • Group each the filters by deciding on the checkboxes and clicking on the Group chosen clauses as proven beneath. Please word this icon is enabled solely when you choose at the very least one filter by clicking on the respective checkbox.
  6. When you click on on the Group chosen clauses the checkbox choice shall be cleared and the grouping shall be proven as proven beneath.
    New clause
  7. Now, we have to add extra situations on when to obtain the notifications. Add extra clauses by clicking on + Add new clause.
  8. As proven within the above screenshot, create one other group for all of the situations separated by Or and click on on End.


On this article, we’ve got realized easy methods to configure customized notifications utilizing Customized notification Subscription.

Know extra about our firm at Skrots. Know extra about our companies at Skrots Providers, Additionally checkout all different blogs at Weblog at Skrots

Show More

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button