Migrate email from Microsoft Azure Communication Services to Infobip
Microsoft is retiring standalone Azure Communication Services (ACS), and standalone ACS is no longer supported after September 30, 2028. Infobip is a Microsoft partner of choice for ACS migration.
Moving email to a different provider involves more than swapping an API. Your application depends on a verified sending domain, delivery reports, engagement events, and the sending reputation you built with mailbox providers. Learn how to move ACS Email traffic to Infobip and handle each of these email-specific tasks.
For the full ACS retirement timeline, the benefits of moving to Infobip, and SMS migration, see Migrate from Microsoft Azure Communication Services to Infobip. If you also send SMS through ACS, you can run both migrations in parallel with the same Infobip account and Event Grid custom topic.
Scenario overview [#scenario-overview]
Infobip has implemented the official ACS Email API. If you use the ACS Email SDK, most of your integration stays the same. You point your connection string at an Infobip endpoint instead of ACS.
The migration touches five areas of your email architecture:
| Area | What it covers | What changes |
|---|---|---|
| Sending domain | The domain your recipients see in the sender address | Register and verify the same domain in Infobip. The Infobip DNS records coexist with your ACS records. |
| API connectivity | How your application sends email | Only the connection string when you use the ACS Email SDK |
| Delivery and engagement events | Delivery reports, opens, and clicks that trigger downstream processes | Configure an Infobip subscription that delivers events to an Azure Event Grid custom topic in the ACS event format |
| Sending reputation | How mailbox providers trust mail from your domain and IP addresses | Warm up the Infobip sending setup and move volume gradually |
| Suppression data | Addresses that bounced, complained, or unsubscribed | Export from ACS and import into Infobip before you increase volume |
For email, Infobip also reports more engagement data than ACS. In addition to opens and clicks, you get unsubscribes, spam complaints, and late bounces. See Handle events that ACS did not report.
Prerequisites [#prerequisites]
Before you start, make sure you have the following:
- Infobip account with email enabled. If you do not have one, create a free trial account. You can sign up with the same Microsoft credentials you use for your Azure account. To bill your usage through Azure Marketplace, see Sign up and onboard with Infobip.
- An ACS integration that uses the ACS Email SDK or API.
- Access to DNS management for your sending domains.
- Access to the application configuration where your ACS connection string is stored.
- If you consume delivery reports or engagement events: access to the Azure portal with permissions to view and create Azure Event Grid topics.
Migrate your email to Infobip [#migrate-your-email]
To migrate email from ACS to Infobip, complete the following steps:
- Register your sending domain.
- Generate an Infobip connection string.
- Send your first email through Infobip.
- Configure delivery reports and engagement events.
- Migrate your suppression data.
- Warm up and cut over production traffic.
- Decommission ACS email sending.
The first two steps repeat the tasks you did when you set up ACS Email: verify a domain and get a connection string. This time, you do them in Infobip. Your application code stays the same.
Register your sending domain [#register-your-sending-domain]
Register the domain you send from with Infobip and add the DNS records that Infobip provides. This does not affect your current ACS traffic, because the Infobip and ACS records coexist.
You can register and verify the domain in the web interface or over API:
- Web interface: See Set up your domain.
- API: See the Email domains endpoints.
When you register the domain, decide on your IP setup. Shared IPs are already warmed up and you can use them quickly. Dedicated IPs give you full control over your reputation, but you warm them up from scratch. See Manage your IP and IP pool to compare the options, and Purchase and manage dedicated IPs if you choose dedicated IPs. Your choice affects how long the warmup takes.
Generate an Infobip connection string [#generate-a-connection-string]
Infobip issues a connection string in the same format as ACS, so it works with the ACS Email SDK. Generate it on the Developer Tools > Microsoft ACS page in the Infobip web interface. Then store it where your application stores its ACS connection string, for example Azure Key Vault.
The Microsoft ACS page is not shown in the menu by default. For the direct URL and detailed steps, see Generate an Infobip connection string in the ACS migration guide.
If you use the same ACS resource for SMS and email, one Infobip connection string covers both.
Send your first email through Infobip [#send-your-first-email]
Replace your ACS connection string with the Infobip connection string. Your ACS Email SDK code does not change.
The following example uses the ACS Email SDK for Python:
Replace the placeholders:
<YOUR_INFOBIP_ENDPOINT>and<YOUR_INFOBIP_ACCESS_KEY>: Use the Infobip connection string. In production, load it from your configuration instead of hardcoding it.<YOUR_DOMAIN>: The domain you registered in Infobip.RECIPIENT_ADDRESS: Your destination address. On a trial account, use the email address you registered with.
Run the script. A successful response shows the message ID and the status of the send operation.
Your production code does not change [#production-code-does-not-change]
In production, your application loads the connection string and sender address from configuration, not from code. The migration changes only those configuration values:
| Configuration | Before migration | After migration |
|---|---|---|
| Connection string, for example a Key Vault secret | ACS connection string | Infobip connection string |
| Sender address, for example an App Configuration key | ACS sender address | Sender address on your registered domain. If you registered the same domain, the value does not change. |
For a code example that reads these values from Azure Key Vault and Azure App Configuration, see Your production code does not change in the ACS migration guide. The example uses SmsClient, and the same pattern applies to EmailClient.
Other ways to send email [#other-ways-to-send-email]
The ACS-compatible API is the fastest path for ACS Email SDK users. If you want to use more Infobip Email features, you can also send through:
- Infobip Email API: See Send email over HTTP API and the Send email endpoint. Create an API key in Developer Tools > API keys.
- SMTP: See Email over SMTP.
Configure delivery reports and engagement events [#configure-delivery-reports-and-engagement-events]
When outbound delivery works, route delivery reports and engagement events to Azure Event Grid. Infobip sends them in the ACS event format that your business logic already processes:
| ACS event | What it reports |
|---|---|
Microsoft.Communication.EmailDeliveryReportReceived | The delivery outcome of each email, for example Delivered, Bounced, Suppressed, or Failed |
Microsoft.Communication.EmailEngagementTrackingReportReceived | Recipient engagement: View when the recipient opens the email, and Click when the recipient clicks a link |
Use an Event Grid custom topic [#use-an-event-grid-custom-topic]
ACS publishes its email events to an Event Grid system topic, and Infobip cannot publish to system topics. Use an Event Grid custom topic instead. If you already use a custom topic, for example for your SMS migration, you can use it directly. To create one, see Use an Event Grid custom topic in the ACS migration guide.
Because you move email volume gradually during the warmup, add the custom topic as an additional trigger next to the system topic. Your logic then processes events from both ACS and Infobip until all traffic runs through Infobip.
Create the Infobip notification profile and subscription [#create-notification-profile-and-subscription]
In Infobip, a subscription is a rule that sends selected events to a webhook destination. It is not related to an Azure subscription. A notification profile defines the destination and its authentication.
If you already created a notification profile for Event Grid during your SMS migration, reuse it and start at step 4. Otherwise, complete the following steps:
- In the Azure portal(opens in new tab), open your Event Grid custom topic and copy:
- The Topic Endpoint from the Overview page, for example
https://<topic-name>.<region>-1.eventgrid.azure.net/api/events - One of the access keys from Settings > Access keys
- The Topic Endpoint from the Overview page, for example
- Log in to your Infobip account and go to Developer Tools > Subscriptions Management.
- Create a notification profile:
- Webhook URL: The Event Grid topic endpoint.
- Headers: In Advanced settings, add a header with the key
aeg-sas-keyand your Event Grid access key as the value. Event Grid uses this header to authenticate requests from Infobip.
- Create a subscription for the Email channel and select the notification profile from the previous step.
- In Select events, select Delivery, and in Format, select the ACS email delivery report format. This format delivers reports in the same schema as ACS
Microsoft.Communication.EmailDeliveryReportReceivedevents. - Optional: To receive engagement events, select Open and Click, and the ACS email engagement tracking format. This format delivers events in the same schema as ACS
Microsoft.Communication.EmailEngagementTrackingReportReceivedevents. - Send a test email, then open it and select a link. Confirm that the delivery report and the engagement events reach the Event Grid topic and trigger your downstream processing.
For more information about events and formats, see Available events and Event formats.
Handle events that ACS did not report [#handle-events-that-acs-did-not-report]
The ACS engagement event covers opens and clicks only. Infobip also reports unsubscribes, spam complaints, and late bounces. To use them, create a separate subscription for these events with the Infobip format, or subscribe to the email tracking reports webhook. See Email tracking types.
Plan how you handle them:
- Late bounces: A late bounce arrives after the email was already reported as delivered. The original delivery status is not corrected.
- Unsubscribes and spam complaints: Infobip suppresses the address for all later sends. Also update your own preference records, so that your systems stay in sync.
Also subscribe to the High bounce rate warning and High bounce rate block events. They are the earliest signals that your warmup needs attention.
Migrate your suppression data [#migrate-your-suppression-data]
If you skip this step, you send email again to every address that already bounced or complained. This happens when your Infobip sending reputation is weakest. Before you increase volume, export your opt-out and bounce lists from ACS and import them into Infobip.
For more information, see the following:
- How suppression works: See Suppression management.
- API: Use the Add suppressions endpoint.
Warm up and cut over production traffic [#warm-up-and-cut-over]
You cannot move all email volume at once. Your Infobip sending setup has no reputation with mailbox providers. A sudden switch at full volume is likely to get your email filtered or blocked. Increase volume in stages. The better your delivery results, the faster you can grow. See IP and domain warmup.
Before you move production traffic, confirm that your sending domain, delivery reports, engagement events, and the business logic connected to them work as expected.
Then complete the following steps:
- Build the ability to route traffic to either ACS or Infobip, for example with a configuration flag per use case or a percentage split.
- Start with your most engaged recipients and a small share of your volume. ACS carries the rest and stays available as a fallback.
- Before each increase, compare delivery, bounce, and complaint rates against your ACS baseline. Check reputation and authentication status in the Deliverability center.
- Increase the Infobip share step by step until all production traffic runs through Infobip.
If your bounce rate exceeds 3 percent, you receive a warning. If it exceeds 5 percent, Infobip disables the sender and pauses sending for 24 hours. Poor list quality is the most common cause. Migrate your suppression data before you increase volume.
For a custom warmup plan and monitoring during the ramp-up, see Email professional services.
Decommission ACS email sending [#decommission-acs]
You do not need to remove everything from Azure. Your email business logic can stay in Azure. Infobip only sends the email, and delivery reports and engagement events continue to arrive in Event Grid through the subscription you configured.
When all production traffic runs through Infobip:
- Keep ACS ready for an agreed grace period as a fallback.
- Extract any email history from ACS that you still need for support, audit, or dispute handling.
- Remove the ACS Email resources and domains you no longer use. Remove the ACS DNS records last, after all ACS traffic has stopped.
- Update dashboards, alerts, and runbooks that reference ACS.
Explore more Infobip Email features [#explore-more-features]
After migration, you can extend your email setup with Infobip features:
- Templates: Store and edit content in Infobip instead of building it in your code. Templates support personalization, and you can manage them over API. Decide who owns the content, because it then lives outside your application.
- Broadcast: Build and send email campaigns to a selected audience from the web interface, without code. Infobip handles warmup automatically for traffic sent through Broadcast.
- Email validation: Check whether an address is valid, disposable, or a role account before you send to it. Fewer bounces mean a faster warmup.
- Inbound email: Route replies back into your systems instead of an unattended mailbox.
Track email delivery [#track-email-delivery]
Track the status of your email in the following places:
- Azure Event Grid: If you configured delivery reports and engagement events, delivery reports and engagement events arrive in your Event Grid custom topic in the ACS event format.
- Email logs: In the Infobip web interface, view the status and details of each email. See Email message logs. Infobip keeps logs for a limited time. If you need long-term email history, store the events from Event Grid in your own systems.
Troubleshooting [#troubleshooting]
If you have issues after migration, expand an issue to see how to fix it.
If the issue persists, contact Support.
Was this page helpful?