Navigating AI Solutions: Microsoft Copilot Studio vs. Azure AI Foundry
May 8, 2025Effective Storage Account Monitoring through Storage Insights
May 8, 2025If you’re sending emails with Azure Communication Services, you already know how powerful the platform is for delivering messages at scale. But what happens after you hit send?
In our latest video, we walk through how to unlock insights from your email activity using logs and telemetry in the Azure portal. Whether you’re tracking delivery success, debugging failures, or analyzing engagement, this guide helps you get started with the tools that matter.
Why email telemetry matters
Understanding how your emails perform is critical—especially when you’re running campaigns, monitoring sender reputation, or troubleshooting delivery issues. With Azure Communication Services, you can tap into Log Analytics for real-time visibility into:
- Delivery and failure rates
- Suppression reasons
- User engagement (opens, clicks)
- Correlation IDs for tracing specific messages
While this video focuses on email, the same logging and telemetry setup applies to other Azure Communication Services like SMS, voice, and chat—so once you’ve got the hang of it, you can reuse the same approach across channels.
Step 1: Set up your log analytics workspace
Before you can start querying logs, you’ll need a place to store them. In the Azure portal:
- Create a Log Analytics workspace.
- Choose your subscription and resource group.
- Name your workspace and click Review + Create.
This workspace acts as the central hub for all your telemetry data.
A GIF of a user creating a Log Analytics Workspace in the Azure Portal.
Step 2: Configure diagnostic settings
Next, connect your Azure Communication Services resource to the workspace:
- Navigate to your Communication Services resource.
- Under Monitoring, select Diagnostic settings.
- Add a new setting and choose the email-related log categories:
- Send mail logs
- Delivery status updates
- User engagement logs
- Point them to your Log Analytics workspace and save.
Now your logs will start to flow into the workspace automatically.
Step 3: Explore insights in the portal
With logs enabled, you can start exploring your data:
- Use the Insights tab for a high-level overview of delivery and engagement.
- Filter by sender address or time range.
- View metrics like delivery success, failures, and clicks.
This is great for quick checks—but for deeper analysis, you can write custom queries.
Step 4: Run custom queries with KQL
In the Logs section of your workspace, use Kusto Query Language (KQL) to dig into the details:
- Find suppressed or bounced emails
- Trace delivery failures with correlation IDs
- Identify which links were clicked in a campaign
- Export results to CSV, Power BI, or Excel
The video walks through several examples, including how to change sample queries and build your own.
Bonus: Reuse this setup across Azure Communication Services channels
While this walkthrough focuses on email, the same telemetry setup works for other Azure Communication Services channels. Whether you’re building with SMS, voice, or chat, you can use Log Analytics to monitor performance, debug issues, and improve user experience.
Watch the full walkthrough
Want to see it in action? Watch the preceding full video above for a step-by-step demo of everything covered here.
And if you’re already using logs in creative ways—or have questions about telemetry for other Azure Communication Services features—drop us a comment. We’d love to hear how you use it!