Skip to content

Commit e703d21

Browse files
authored
Merge pull request #7934 from GitHubber17/418738-g
Freshness: Azure DevOps - Notifications
2 parents d12290a + f7fbb6d commit e703d21

File tree

5 files changed

+98
-73
lines changed

5 files changed

+98
-73
lines changed
Lines changed: 93 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
---
2-
title: How notification email recipients get determined
2+
title: How Notification Email Recipients are Determined
33
titleSuffix: Azure DevOps
4-
description: Describes how email recipients are determined for notifications and events in Azure DevOps.
4+
description: Explore how email recipients are determined for notifications and events in Azure DevOps.
55
ms.subservice: azure-devops-notifications
66
ms.reviewer: wismythe
77
ms.author: chcomley
88
author: chcomley
9-
ms.topic: conceptual
10-
ms.date: 05/24/2022
9+
ms.topic: concept-article
10+
ms.date: 05/08/2025
1111
monikerRange: '<= azure-devops'
12+
#customer intent: As an Azure DevOps developer, I want to understand how email recipients are determined for notifications and events, so I can ensure users receive the correct messages.
1213
---
14+
1315
# Determine recipients of notification emails
1416

1517
[!INCLUDE [version-lt-eq-azure-devops](../../includes/version-lt-eq-azure-devops.md)]
@@ -20,138 +22,162 @@ Many factors determine the recipients of an email notification when an event mat
2022

2123
## Custom personal subscriptions
2224

23-
With custom personal subscription, emails get delivered to the _preferred email address_ of the user who owns the subscription, or to the email address configured on the subscription.
25+
With custom personal subscriptions, emails are delivered to the **Preferred email address** of the user who owns the subscription, or to the email address configured on the subscription.
2426

2527
[!INCLUDE [note-smtp-server](includes/note-smtp-server.md)]
2628

2729
### Preferred email address on a personal subscription (default)
2830

29-
> [!div class="mx-imgBorder"]
30-
>![Screenshot of preferred email address.](media/email-personal-preferred.png)
31+
:::image type="content" source="media/email-personal-preferred.png" alt-text="Screenshot that shows how to configure the preferred email address for a personal subscription.":::
3132

3233
### Custom email address on a personal subscription
3334

34-
> [!div class="mx-imgBorder"]
35-
>![Screenshot of custom email address.](media/email-personal-other.png)
35+
:::image type="content" source="media/email-personal-other.png" alt-text="Screenshot that shows how to configure a custom email address for a personal subscription.":::
3636

3737
## Delivery settings for teams and groups
3838

39-
Delivery settings control the default delivery behavior when the team or group is the recipient of a notification. The subscription's configured with a delivery option that looks at the recipients' delivery settings.
39+
Delivery settings control the default delivery behavior when the team or group is the recipient of a notification. Each subscription is configured with a delivery option that looks at the recipients' delivery settings.
4040

41-
You can manage subscriptions and delivery settings at the team-level or organization-level.
41+
You can manage subscriptions and delivery settings at the team level or organization level.
4242

4343
### Organization-level settings
4444

45-
::: moniker range="<=azure-devops"
46-
47-
1. In **Organization settings**, select **Global notifications** > **Subscribers** > your **Team** > **Delivery settings**.
48-
49-
![Screenshot showing Team Delivery settings.](media/team-delivery-settings-new-ui.png)
45+
In **Organization settings**, select **Global notifications** > **Subscribers** > \<Team> > **Delivery settings**.
5046

51-
::: moniker-end
47+
:::image type="content" source="media/team-delivery-settings-new-ui.png" border="false" alt-text="Screenshot that shows how to configure team delivery settings for an organization." lightbox="media/team-delivery-settings-new-ui.png":::
5248

53-
2. Select from the following settings:
49+
Select from the following settings:
5450

55-
* **Deliver to email address:** notifications get delivered to a specific email address.
56-
* **Deliver to individual members:** notifications get delivered to each member of the group or team. This setting is usually the default option. For more information about the default option, see [Team expansion](#team-and-group-expansion-for-email-recipients).
57-
* **Do not deliver:** notifications aren't delivered by default.
51+
- **Deliver to email address**: Notifications are delivered to a specific email address.
52+
- **Deliver to individual members**: Notifications are delivered to each member of the group or team. This setting is usually the default option. For more information, see [Team expansion](#team-and-group-expansion-for-email-recipients).
53+
- **Do not deliver**: Notifications aren't delivered by default.
5854

59-
![Screenshot showing Team Delivery settings dialog.](media/email-team-delivery-settings.png)
55+
:::image type="content" source="media/email-team-delivery-settings.png" border="false" alt-text="Screenshot of the team Delivery settings dialog showing the 'Deliver to individual members' options selected.":::
6056

61-
If you don't explicitly choose delivery settings for a team or group, it gets determined from the [organization-level delivery setting](manage-team-group-global-organization-notifications.md). The default is either _Deliver to individual members_ or _Do not deliver_.
57+
If you don't explicitly choose delivery settings for a team or group, the settings are determined from the [delivery options set at the organization level](manage-team-group-global-organization-notifications.md). The default value is either **Deliver to individual members** or **Do not deliver**.
6258

6359
> [!TIP]
64-
> The delivery settings dialog doesn't indicate whether the current selection was explicitly set or if it was inherited.
60+
> The delivery settings dialog doesn't indicate whether the current selection is explicitly set or inherited.
6561
6662
## Custom team and group subscription recipients
6763

68-
The recipients for a custom team or group subscription get determined by the subscription. But, with certain delivery options, the team's default delivery setting is used to determine the set of recipients.
64+
The recipients for a custom team or group subscription are determined by the subscription. For certain delivery options, the default delivery setting for the team is used to determine the set of recipients.
6965

70-
::: moniker range="<=azure-devops"
71-
72-
![email-team-delivery-options](media/email-team-delivery-options-new.png)
66+
:::image type="content" source="media/email-team-delivery-options-new.png" border="false" alt-text="Screenshot that shows how to configure the email delivery options for a custom team or group subscription.":::
7367

7468
The following delivery options are available for a group or team subscription:
7569

76-
* **Members of team by role:** recipients are members of the team or group that have one of the selected roles (for example, work item assignee)
77-
* **Team preference:** recipients are determined by the delivery setting of the team or group (_Do not deliver_, _preferred email address_, or _members of team_)
78-
* **Custom email address:** recipient is the specified email address
79-
* **Members of team:** recipients are all members of the team or group, except members who have opted out of the subscription.
80-
* **SOAP:** similar to API Management, recipients are specified by adding their email addresses (subscribing) to the SOAP service.
70+
- **Members of team by role**: Recipients are members of the team or group that have one of the selected roles (for example, Work Item Assignee).
71+
- **Team preference**: Recipients are determined by the delivery setting of the team or group (**Do not deliver**, **Preferred email address**, or **Members of team**).
72+
- **Custom email address**: Recipient is the specified email address.
73+
- **Members of team**: Recipients are all members of the team or group, except members who are opted out of the subscription.
74+
- **SOAP**: Similar to API Management, recipients are specified by adding their email addresses (subscribing) to the SOAP service.
8175

8276
> [!NOTE]
8377
> The default delivery setting of each member is honored, including groups that are members of the team or group.
8478
85-
::: moniker-end
86-
8779
### Member of team by role
8880

89-
The email recipient list is determined by members that had a role in the event. For example, the user assigned the work item has the role _Assigned to (new)_ while the identity that was assigned the work item has the role _Assigned to (previous)_. The full list of roles for each event type is shown in the [supported event types](oob-supported-event-types.md).
81+
The email recipient list is determined by members that had a role in the event. For example, the user assigned the work item has the role **Assigned to (new)** while the identity that was assigned the work item has the role **Assigned to (previous)**. The full list of roles for each event type is shown in the [supported event types](oob-supported-event-types.md).
9082

91-
![Screenshot showing email team delivery option role.](media/email-team-delivery-option-role.png)
83+
:::image type="content" source="media/email-team-delivery-option-role.png" border="false" alt-text="Screenshot that shows the email team delivery option role.":::
9284

93-
The option _Skip initiator_, which appears for most event types, controls whether the user or group that started the event should be explicitly excluded from the set of recipients. In general, this option should be "on" since most users don't want to receive a notification about something they did.
85+
The **Skip initiator** option, which appears for most event types, controls whether the user or group that started the event should be explicitly excluded from the set of recipients. In general, this option should be enabled (On) because most users don't want to receive a notification about their own actions.
9486

9587
### Team preference
9688

9789
The delivery option is taken from the team's delivery setting and can be one of the following options:
9890

99-
* **Deliver to email address:** The email is delivered to the team's preferred email address.
100-
* **Deliver to individual members:** See the following option, [Members of team_](#members-of-team).
101-
* **Do not deliver:** No email is delivered.
91+
- **Deliver to email address**: The email is delivered to the team's preferred email address.
92+
- **Deliver to individual members**: The process is described in the following section, [Members of team_](#members-of-team).
93+
- **Do not deliver**: No email is delivered.
10294

103-
![Screenshot showing email team delivery option preference.](media/email-team-delivery-option-preference.png)
95+
:::image type="content" source="media/email-team-delivery-option-preference.png" border="false" alt-text="Screenshot that shows the email team delivery option preference.":::
10496

105-
The team's delivery setting value is displayed after the _Address_ label and can't be changed.
97+
The team's delivery setting value is displayed after the **Address** label and can't be changed.
10698

10799
### Custom email address
108100

109-
The notification gets sent to multiple custom email addresses, which are separated by semicolons.
101+
The notifications are sent to multiple custom email addresses, which are separated by semicolons.
102+
103+
:::image type="content" source="media/email-team-delivery-option-custom.png" border="false" alt-text="Screenshot that shows the custom email team delivery options.":::
110104

111-
![Screenshot showing custom email team delivery options.](media/email-team-delivery-option-custom.png)
112105
### Members of team
113106

114-
The team or group membership is expanded to determine the email recipients. In the simple case, a team or group expands to a list of individuals and each is included on the **To:** line of the resulting email. However, the results of this expansion can be complicated and are explained in more detail in the [team and group expansion](#team-and-group-expansion-for-email-recipients) section.
107+
The team or group membership is expanded to determine the email recipients. In the simple case, a team or group expands to a list of individuals and each user is included on the **To**: line of the resulting email. However, the results of the expansion can be complicated and are explained in more detail in the [team and group expansion](#team-and-group-expansion-for-email-recipients) section.
115108

116-
![Screenshot showing the name of a team for email delivery.](media/email-team-delivery-option-members.png)
109+
:::image type="content" source="media/email-team-delivery-option-members.png" border="false" alt-text="Screenshot showing the name of a team for email delivery.":::
117110

118111
## Default subscription recipients
119112

120-
The delivery option for a default subscription is usually one or more roles. You can't change these values. The roles and the _Skip initiator_ option vary depending on the event type. For more information and a list of roles available for each event type, see [Supported event types](oob-supported-event-types.md).
113+
The delivery option for a default subscription is usually one or more roles. You can't change these values. The roles and the **Skip initiator** option vary depending on the event type. For more information and a list of roles available for each event type, see [Supported event types](oob-supported-event-types.md).
121114

122-
![Screenshot showing recipients for default subscriptions.](media/email-delivery-default-subscription.png)
115+
:::image type="content" source="media/email-delivery-default-subscription.png" border="false" alt-text="Screenshot showing recipients for default subscriptions.":::
123116

124117
> [!NOTE]
125118
> The _Skip initiator_ option isn't available for all event types.
119+
126120
## Team and group expansion for email recipients
127121

128-
When a team or group receives a notification, and either the subscription or delivery preference is for all members, the team must be "expanded" to determine the actual set of email recipients. This is a potentially recursive process that starts by looking at the team's direct members.
122+
When a team or group receives a notification, and either the subscription or delivery preference is for all members, the team must be "expanded" to determine the actual set of email recipients. This process is potentially recursive, and starts by looking at the team's direct members.
129123

130-
Only members who have **not** opted out of the subscription get considered for the final recipient list. Any member who's an individual user gets added to the recipient list.
124+
Only members who are **not** opted out of the subscription are considered for the final recipient list. Any member who's an individual user is added to the recipient list.
131125

132-
Only Azure DevOps Services groups remain. For each group, the group's delivery preferences get examined:
126+
Only Azure DevOps Services groups remain. For each group, the group's delivery preferences are examined:
133127

134-
* "Do not deliver": no further evaluation is done on this group and the next member group is evaluated
135-
* "Deliver to email address": the email address is added to the final recipient list
136-
* "Deliver to individual members": the group is expanded (like its parent group) and the same rules for evaluating its members are followed
128+
- **Do not deliver**: No further evaluation is done on this group and the next member group is evaluated.
129+
- **Deliver to email address**: The email address is added to the final recipient list.
130+
- **Deliver to individual members**: The group is expanded (like its parent group) and the same rules for evaluating its members are followed.
137131

138132
### Scenarios
139133

140-
Let's look at a few scenarios. We use the following symbols to denote the types of members:
134+
This section explores several example scenarios. The following examples use symbols to denote the types of team members:
135+
136+
- `I`: Individual user
137+
- `T`: Nested team or group
138+
- `E`: Email-enabled Microsoft Entra group
139+
140+
#### Team member enables "Do not deliver" setting
141+
142+
Example team members:
143+
144+
- The primary team has three members: users `I1` and `I2`, and nested team `T1`.
145+
- Team `T1` has the **Do not deliver** setting enabled.
146+
147+
Only users `I1` and `I2` receive the notification messages at their preferred contact email address. Members of the nested team `T1` aren't notified.
148+
149+
#### Team member enables "Deliver to individual members" setting
150+
151+
Example team members:
152+
153+
- The primary team has three members: users `I1` and `I2`, and nested team `T1`.
154+
- Team `T1` has two member users, `I2` and `I3`.
155+
- User `I2` is a member of both the primary team and team `T1`.
156+
- Team `T1` has the **Deliver to individual members** setting enabled.
157+
158+
Team `T1` is expanded to identify its members. `I1`, `I2`, and `I3` all receive the notification messages at their preferred contact email address.
159+
160+
#### Team contains nested group
161+
162+
Example team members:
163+
164+
- The primary team has three members: users `I1` and `I2`, and nested team `T1`.
165+
- Team `T1` has three members: users `I2` and `I3`, and nested team `T2`.
166+
- Team `T2` has two member users, `I4` and `I5`.
167+
- User `I2` is a member of both the primary team and team `T1`.
168+
- Team `T1` has the **Do not deliver** setting enabled.
169+
- Team `T2` has the **Deliver to individual members** setting enabled.
170+
171+
Because team `T1` has the **Do not deliver** setting enabled, the team **isn't** expanded to identify its members. Although team `T2` has the **Deliver to individual members** setting enabled, team `T2` is nested within team `T1`. The **Do not deliver** delivery preferences for `T1` takes precedence over settings made by its members. Only users `I1` and `I2` receive the notification messages at their preferred contact email address.
172+
173+
#### Team member is Microsoft Entra group
141174

142-
* `I`: individual user
143-
* `T`: nested team or group
144-
* `A`: mail-enabled Microsoft Entra group.
175+
In this example, the primary team has three members: users `I1` and `I2`, and nested Microsoft Entra group `E1`.
145176

146-
| Scenario | Example |
147-
|--|--|
148-
| A member with _Do not deliver_ preference | The team has members `I1`, `I2`, and `T1`. `T1`'s delivery preference is _Do not deliver_. What happens: only `I1` and `I2` get notified via their preferred email addresses. Members of `T1` aren't notified. |
149-
| A member with _Deliver to individual members_ preference | The team has members `I1`, `I2`, and `T1`. `T1`'s delivery preference is _Deliver to individual members_. `T1` has members `I2` and `I3`. What happens: `T1` is expanded (because of its delivery preference) and so `I1`, `I2`, and `I3` get notified via their preferred email addresses. |
150-
| A nested group | The team has members `I1`, `I2`, and `T1`. `T1` has members `I2`, `I3`, and `T2`. `T1`'s delivery preference is _Do not deliver_. `T2` has members `I4` and `I5`. `T2`'s delivery preference is _Deliver to individual members_. What happens: because `T1` isn't expanded (because its delivery preference is "do not deliver"), only `I1` and `I2` get notified via their preferred email addresses. |
151-
| A member that's a Microsoft Entra group | The team has members `I1`, `I2`, and `A1`. What happens: only `I1` and `I2` get notified via their preferred email addresses. Members of `A1` don't get notified, as Azure DevOps doesn't expand AD groups when delivering notifications. |
177+
Azure DevOps doesn't expand Windows Server Active Directory (Windows AD) groups when delivering notifications. Only users `I1` and `I2` receive the notification messages at their preferred contact email address.
152178

153-
## Related articles
179+
## Related content
154180

155181
- [Manage notifications for a team, group, global organization](manage-team-group-global-organization-notifications.md)
156182
- [Default and supported notifications](oob-built-in-notifications.md)
157-
- [Permissions, security groups, and service accounts reference](../../organizations/security/permissions.md)
183+
- [Permissions, security groups, and service accounts reference](../../organizations/security/permissions.md)

docs/organizations/notifications/includes/note-smtp-server.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@ ms.manager: mijacobs
44
ms.author: chcomley
55
author: chcomley
66
ms.topic: include
7-
ms.date: 01/23/2020
7+
ms.date: 05/12/2025
88
---
99

1010
::: moniker range="< azure-devops"
1111

1212
> [!NOTE]
13-
> For on-premises Azure DevOps Server, [configure an SMTP server](/azure/devops/server/admin/setup-customize-alerts) for team members to see the **Notifications** option from their [organization or user profile menu](../navigating-the-ui.md) and to receive notifications.
14-
15-
::: moniker-end
13+
> For on-premises Azure DevOps Server, [configure an SMTP server](/azure/devops/server/admin/setup-customize-alerts) so team members can see the **Notifications** option from their [organization or user profile menu](../navigating-the-ui.md) and receive notifications.
1614
15+
::: moniker-end

0 commit comments

Comments
 (0)