Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » AWS/Azure/OpenShift » Azure CI/CD: Configuring Email Notifications in Azure DevOps

Azure CI/CD: Configuring Email Notifications in Azure DevOps

Posted on 01/09/202115/12/2023 Imoh Etuk By Imoh Etuk 1 Comment on Azure CI/CD: Configuring Email Notifications in Azure DevOps
header-picture-1

When building your first Azure CI/CD Pipeline on Azure DevOps, one of your responsibilities as the project administrator will be to manage notifications for a team, group, or organization so that can receive email notifications for each successful build or failure build pipeline. In his guide, we shall discuss “Azure CI/CD: Configuring Email Notifications in Azure DevOps”. In my previous articles, I described very extensively how you can build your first Azure CI/CD Pipeline in Azure DevOps using ASP.Net Core Application. Please see how to Integrate SonarCloud with Azure DevOps Pipeline

If you haven’t read it yet, click How to build your first CI/CD pipeline in Azure DevOps. Why do you need to read my previous article? The reason is to give you a first-step guide to how you can set up your Azure DevOps Account, starting from signing up for Azure DevOps as a new user, and creating your first Azure DevOps Organization to creating your first Azure DevOps Project, and running your Azure CI/CD Pipeline.

The steps mentioned are the first steps you need to get started with configuring email notifications for your project team for any build pipeline on Azure DevOps. So, there are two levels of notifications in Azure DevOps. They are:

  • Notifications at the organization level and;
  • Notification at the project level.

So if you disable email notifications for a particular project yet you still receive a build notification you need to also disable it at the organization level.

Here are some related guides: Import repo to Bitbucket Cloud: How to import your project from Bitbucket Server or Bitbucket Cloud to GitLab, and Azure DevOps and GitHub integration for Docker and Kubernetes deployment.

Why Do you need to Enable email Notifications for your build Pipeline Azure CI/CD?

Who receives an email notification when a build pipeline is successful or failed must be properly configured. Not properly configured can result in your inbox receiving too many or few emails which could prevent you from knowing at the early stage if your Azure CI/CD build pipeline is fine or not.

The reason why you need to configure the email and add new custom email subscriptions, its delivery settings, delivery preferences, and other factors is because notifications help you and your team stay informed about activity that occurs within your projects in Azure DevOps.

You can get notified when changes occur to the following items:

  • Build completes – Which reports the build is complete successfully
  • Pull request reviewers added or removed – Notifies the team when it is added or removed as a reviewer for a pull request reviewer
  • Pull request changes – Notifies the team when changes are made to a pull request
  • Run stage waiting for approval – Notifies the team when a run stage approval is pending on them.
  • Manual validation Pending – Notifies the team when a manual validation is pending on them.
  • Manual intervention pending – Notifies the team when a manual intervention is pending on the team
  • Deployment to an owned stage failed – Notifies the team when a deployment does not succeed and makes a stage that the team owns unhealthy
  • Deployment to an approved stage failed – Notifies the team when a deployment team approved does not succeed Azure CI/CD
  • Deployment completion failures – Notifies the team when a deployment team request does not succeed and run
  • Deployment approval pending – Notifies the team when an approval for a deployment is pending on the team.

Please see how to create a static pod in Kubernetes, and how to install, register and start GitLab Runner on Windows.

Enable email notifications at the organizational level Azure CI/CD?

The following steps explain this;

1: Sign in to your organization {https://dev.azure.com/{yourorganization}
2: Create a new organization or select organization settings if there is an existing organization as shown in the screenshot below.

Microsoft CI/CD
Azure DevOps Organization

3. Select Global notification and new subscription as shown below:

Azure Continuous Integration and Continuous Deployment

Customizing Email Notifications Based on Build Completion

4. Select a build completes option – In this option, you will configure the email notification for the whole project or a specific project by selecting the radio button. I configured mine for my specific project.

Under the Deliver to the dialog box, select Custom email. In the filtering section, you have the option to select the purpose for configuring the email notification, here I select Build reason Azure CI/CD. This will enable me and my team to be notified of any build that’s successful or fail.

Azure Continuous Delivery
Email notifications Preference

5. Click Finish to have it configured

Under the Azure DevOps organization settings, you can view the existing Subscribers. In the screenshots shown below, I am the only existing subscriber Azure CI/CD.

Azure DevOps Pipeline
Microsoft CI/CD

How to enable email notifications at the Project level?

1: Sign in to your organization (https://dev.azure.com/{yourorganization}).
2: Select organization ->project

Azure Continuous Integration and Continuous Deployment
Organization – project selection

3. Afterward, select Project settings -> Notifications ->New subscription

Azure Continuous Delivery
Project setting

4. Under the category tab, select Build -> select A build completes or A build fails depending on your preference

31.08.2021_05.53.42_REC

5. Click Next

6. Then, select Custom email address in the Deliver to dialog box

31.08.2021_05.56.02_REC

Here are some guides on Find work or find workers with Jobble: Who is a DevOps Engineer?, and Azure DevOps: Docker and Kubernetes Deployment with GitHub.

Customizing Notifications for Azure CI/CD Build Completion

7. Complete the following steps as shown in the screenshot below based on your preference. As you can here, I’m particularly configuring the notification for A build completes.

Azure CI/CD Hence, why that is specified as the description? Of course, I’m configuring it for my specific project and this specific project is for all the people added as team members for the project named demoproject.

Looking through the Filter section, I have added more clause such as status which and requested by.

31.08.2021_05.58.34_REC

8. Click Finish and you’re good to go.

Thus, you can turn off notifications for subscribers by simply switching between the toggling button as shown on the screenshot below.

Turning-off-Notification

View and edit all notification subscriptions

Hence, this view shows all notification subscriptions that you’ve created or that were created by an administrator.

Notification subscriptions let you control what you get notified about. In addition, subscribed notifications are indicated with the State as On Azure CI/CD.

View-and-edit-notification

That is it with configuring email notifications for your build pipeline or any other activities within your Azure DevOps organization and project.

I hope you found this article useful on “Azure CI/CD: Configuring Email Notifications in Azure DevOps”. Please feel free to leave a comment below.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
AWS/Azure/OpenShift, Version Control System Tags:Azure, Azure DevOps

Post navigation

Previous Post: How to deploy an Angular App to AWS S3
Next Post: How to install Microsoft SQL Server Management Studio

Related Posts

  • banner2 1
    How to use GitHub as Source Provider for AWS CodePipeline AWS/Azure/OpenShift
  • Route53AWS
    Set up and configure Route 53 for your Domain in AWS AWS/Azure/OpenShift
  • azure
    Enter connection information for your on-premise directory or forests: Azure AD connect unable to connect directory, forest not available AWS/Azure/OpenShift
  • Screenshot 2024 02 29 at 8.03.48 PM
    How to create an Elastic Beanstalk environment in AWS AWS/Azure/OpenShift
  • connect GitHub and Build a CI:CD Pipeline with Vercel
    How to connect GitHub and Build a CI/CD Pipeline with Vercel Version Control System
  • How to Manage Azure Virtual Machines with Windows Admin Center and Serial Console​
    Manage Azure Virtual Machine with Windows Admin Center and Serial Console AWS/Azure/OpenShift

More Related Articles

banner2 1 How to use GitHub as Source Provider for AWS CodePipeline AWS/Azure/OpenShift
Route53AWS Set up and configure Route 53 for your Domain in AWS AWS/Azure/OpenShift
azure Enter connection information for your on-premise directory or forests: Azure AD connect unable to connect directory, forest not available AWS/Azure/OpenShift
Screenshot 2024 02 29 at 8.03.48 PM How to create an Elastic Beanstalk environment in AWS AWS/Azure/OpenShift
connect GitHub and Build a CI:CD Pipeline with Vercel How to connect GitHub and Build a CI/CD Pipeline with Vercel Version Control System
How to Manage Azure Virtual Machines with Windows Admin Center and Serial Console​ Manage Azure Virtual Machine with Windows Admin Center and Serial Console AWS/Azure/OpenShift

Comment (1) on “Azure CI/CD: Configuring Email Notifications in Azure DevOps”

  1. Avatar photo Tim Grayden says:
    13/01/2023 at 7:52 PM

    Nice article!

    One thing I’ve noticed is that engineers can get too many email notifications, and start to filter them out after a while. There is a tool called CatLight that can help with that. It shows desktop notifications for Azure DevOps builds, releases, PRs and work items. It displays only the current state, so you’ll never see an outdated notification or alert. 

    It also has an investigation feature, so that the team can collaborate on fixing broken pipelines.

    Log in to Reply

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

Veeam Vanguard

  • Featured image 8
    How to restore quarantined files in Microsoft Defender Antivirus Security | Vulnerability Scans and Assessment
  • Screenshot 2024 02 29 at 4.47.19 PM
    How to reset MacBook password after all other options fail Mac
  • Remote Desktop 2 1
    How to install RDS via Quick Start Deployment: Install, Publish, Update, and Uninstall Remote Desktop Web Client Web Server
  • Active Directory Security Hardening with GPO and Policy Analyzer
    Harden Active Directory Using CIS Benchmark and MSCT 1.0 Windows Server
  • Screenshot 2020 05 13 at 19.23.25
    AWS Command-Line Interface: How to configure AWS CLI [Part 1] AWS/Azure/OpenShift
  • zoom
    How to update Zoom Desktop Client on macOS Mac
  • Slide2
    How to Setup Jenkins Pipelines Environment for Docker Container Deployment Containers
  • images 5
    How to Perform a Self-service Password Reset using the Windows Login Integration Client Password Manager

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,814 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.