Purpose
This Standard Operating Procedure (SOP) provides step-by-step instructions for sending outbound email from FOIAXpress through Azure Communication Services (ACS) Email over SMTP. ACS is a cloud-based communication platform. For email, it is designed for large-scale outbound sending. It is not an email inbox or a replacement for Outlook.
Exchange Online limits external sending to roughly 2,000 recipients per day. Azure Communication Services removes that limit and scales automatically to handle traffic surges, with no servers to provision. The table below compares the two options:
Capability | Exchange Online SMTP | Azure Communication Services Email |
|---|---|---|
External recipient limit | About 2,000 per day | No limit (millions per hour tested) |
Infrastructure management | Required | Fully managed by Azure |
User license required | Yes (mailbox) | No (Azure resource only) |
Pricing model | Per-user license | Pay-as-you-go (per email) |
SPF, DKIM, and DMARC | Manual setup | Built-in support |
Engagement analytics | Limited | Opens, clicks, bounces, and blocks |
Burst or surge support | No automatic scaling | Automatic scaling |
How Azure Communication Services Email Works
Azure Communication Services Email uses two Azure resources that work together:
Email Communication Services: Holds the domain and email configuration
Communication Services: The parent service for all communication channels
NOTE: Both resources must be in the same Azure geography. Linking resources across geographies fails when you connect the domain.
Prerequisites
An active Azure subscription, with the Contributor or Owner role on the target subscription or resource group
A custom domain that you own and control (for example, contoso.com). An Azure-managed subdomain is available for testing only
Access to add TXT and CNAME records at your DNS provider
Microsoft Entra ID permission to create app registrations and assign roles
Creating the Email Communication Services Resource
This resource holds the domain and sender configuration.
Open the Azure Portal at portal.azure.com
Search for Email Communication Services and click Create
Select your Azure Subscription and Resource Group, or create a resource group
Enter a unique resource name, and select the Region and Data Location
Click Next: Review + Create, wait for validation, and then click Create
After deployment completes, click Go to Resource
Adding and Verifying Your Domain
You can use one of two domain types. For production, always use a custom verified domain.
Domain Type | Format | Best For | Volume |
|---|---|---|---|
Azure Managed Domain | GUID.azurecomm.net | Development and testing | Limited |
Custom Domain | yourdomain.com | Production | High |
For a custom domain, add the following DNS records at your DNS provider:
Record Type | Purpose | Example Value |
|---|---|---|
TXT (SPF) | Authorizes Azure Communication Services to send on behalf of your domain | v=spf1 include:spf.protection.outlook.com ~all |
CNAME (x2) | DKIM signing | Provided in the Azure Portal after you add the domain |
TXT (DMARC) | Policy enforcement (recommended) | v=DMARC1; p=quarantine; rua=mailto:admin@domain.com |
NOTE: Domain verification typically takes 15–30 minutes. All records must show as verified before you continue.
Creating the Communication Services Resource
In the Azure Portal, search for Communication Services and click Create
Select your Subscription and the same Resource Group that you used for the Email Communication Services resource
Enter a unique resource name and select the same geography
Click Review + Create, and then click Create

Connecting the Verified Domain
Open the Communication Services resource you created
In the left navigation, under Email, click Domains
Click Connect domains

Select the verified domain from your Email Communication Services resource. Only domains in the same geography appear
Confirm the selection. The domain shows the status Connected

NOTE: You can connect up to 100 custom domains to one Communication Services resource. All MailFrom addresses configured under those domains are available immediately.
Creating a Microsoft Entra App Registration
Azure Communication Services uses a Microsoft Entra app registration for SMTP authentication.
Go to Microsoft Entra ID, select App registrations, and then click New registration
Enter a descriptive name (for example, ACS-Email-SMTP-App) and click Register
In the app, go to Certificates & secrets and click New client secret
Enter a description, select an expiration period, and click Add
Copy the secret Value and store it securely. This value is the SMTP password in FOIAXpress, and it is shown only once
Record the Application (client) ID and Directory (tenant) ID from the Overview page

NOTE: Record the expiration date of the client secret. The secret must be renewed before it expires.
Assigning a Role to the App Registration
The app registration needs permission to send email through the Communication Services resource.
Open the Communication Services resource, select Access control (IAM), click + Add, and then select Add role assignment
On the Role tab, select Communication and Email Service Owner
On the Members tab, select User, group, or service principal and click + Select members
Search for and select your app registration, click Select, and then click Review + assign

Creating an SMTP Username
In the Communication Services resource, go to Email and select SMTP Usernames
Click + Add SMTP Username and select your app registration from the list
Enter a user name, either as free text or in email format. If you use email format, the domain must be one of the domains connected to the Communication Services resource
Wait for the status to change to Ready to use

Your SMTP credentials are:
Parameter | Value |
|---|---|
SMTP host | smtp.azurecomm.net |
Port | 587 (TLS required) |
User name | The SMTP Username you created. You can also use the format <Communication Services resource name>.<Application (client) ID>.<Directory (tenant) ID> |
Password | The client secret Value of the app registration |
Adding Sender Addresses
Add the sender (MailFrom) addresses that FOIAXpress sends email from.
Open the Email Communication Services resource and select Provision domains
Select your custom domain, and then select MailFrom addresses
Click Add, enter the Display Name and MailFrom address, and then click Save
Confirm that the new address appears in the MailFrom addresses list
NOTE: Every provisioned domain includes a default DoNotReply MailFrom address. You can add more sender addresses only on a custom domain whose sending limits have been raised above the default. You cannot add them on an Azure Managed Domain.

You can also add sender addresses with PowerShell:
Connect-AzAccount New-AzEmailServiceSenderUsername ` -ResourceGroupName "YourResourceGroup" ` -EmailServiceName "YourEmailResource" ` -DomainName "yourdomain.com" ` -SenderUsername "noreply" ` -Username "noreply" ` -DisplayName "No Reply - Your Company"
Testing Email Sending in Azure
Open the Overview page of the Communication Services resource
Under Email in the left navigation, click Try Email
Select a verified domain from the drop-down list
Enter the recipient email address, subject, and email body, and then click Send
Confirm delivery, and check the Insights dashboard for the delivery status
How to Set Up FOIAXpress to Send Emails Using Azure Communication Services
In FOIAXpress, navigate to Administration and select the System Administration tab
Click Mail Server Configuration

Under Mail Server Address, select SMTP as the Authentication Mode
In SMTP Mail Server, enter smtp.azurecomm.net
In Port, enter 587
Select the Use SMTP SSL check box. The SMTP Authorization, SMTP SSL User Name, and SMTP SSL Password fields appear
In SMTP Authorization, select Basic
In SMTP SSL User Name, enter the SMTP Username you created in Azure Communication Services
In SMTP SSL Password, enter the client secret Value of the Microsoft Entra app registration

Click Save
The table below summarizes the Mail Server Configuration values for Azure Communication Services:
Field | Value |
|---|---|
Authentication Mode | SMTP |
SMTP Mail Server | smtp.azurecomm.net |
Port | 587 |
Use SMTP SSL | Selected |
SMTP Authorization | Basic |
SMTP SSL User Name | SMTP Username created in Azure Communication Services |
SMTP SSL Password | Client secret value of the Microsoft Entra app registration |
NOTE: No field on the Mail Server Configuration screen sets the From address for outbound email. The sender address is configured in the Sender's Default Email Address (From) field under Correspondence Configuration. The sender address must be a MailFrom address on a domain connected to your Azure Communication Services resource. If it is not, the email is not delivered and appears as Failed in the Email Log with the error Email sender's username is invalid.
NOTE: The SMTP password is the client secret of the Microsoft Entra app registration. Renew the client secret before it expires, and then update the SMTP SSL Password field to avoid service disruption.
If you encounter any issues, contact IT Support for assistance.