Skip to content

Commit d55e7a1

Browse files
authored
Update SMTP docs to include new Azure Scopes and ACS info (#2779)
1 parent 133418a commit d55e7a1

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src/pages/docs/projects/built-in-step-templates/email-notifications.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: src/layouts/Default.astro
33
pubDate: 2023-01-01
4-
modDate: 2025-03-10
4+
modDate: 2025-07-25
55
title: Email notification step
66
icon: fa-solid fa-envelope
77
description: Email notification steps allow you to notify team members and stakeholders of deployment activities.
@@ -68,6 +68,7 @@ Optionally for Microsoft SMTP authentication, you can use Federated Credentials
6868
| Property | Description | Example |
6969
| ------------------ | ------------------------------------ | ----------- |
7070
| Audience | The audience set on the Federated Credential | Defaults to `api://AzureADTokenExchange` |
71+
| Permission Scopes | The scopes to be included in the authentication token | Defaults to `https://outlook.office365.com/.default` |
7172
| Client ID | The Azure Active Directory Application ID/Client ID | GUID in the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx |
7273
| Tenant ID | The Azure Active Directory Tenant ID | GUID in the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx |
7374

@@ -85,6 +86,11 @@ For OAuth 2.0 you will need to:
8586
- Add SMTP permissions for your Entra AD application, see [documentation](https://learn.microsoft.com/en-gb/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth#add-the-pop-imap-or-smtp-permissions-to-your-entra-ad-application).
8687
- Register your application's service principal in Exchange, see [documentation](https://learn.microsoft.com/en-gb/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth#register-service-principals-in-exchange).
8788

89+
:::div{.hint}
90+
From 2025.3, you can specify custom Permission Scopes to be included in the OAuth 2.0 authentication token.
91+
92+
This supports the use of Azure Communication Services (ACS). To use this ensure your SMTP Username in Azure matches your specified `From Address`. More information can be found in the [ACS documentation](https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/email/send-email-smtp/send-email-smtp-oauth).
93+
:::
8894

8995

9096
## Add an email step

0 commit comments

Comments
 (0)