## Trace Emails Sent to External Domains in Microsoft 365 Using PowerShell Easily trace and export outbound emails to external domains in Microsoft 365 to enhance security and compliance. ***Sample Output*** The script exports an output CSV file that looks like the screenshot below. ![Export emails sent to external domains status](https://o365reports.com/wp-content/uploads/2025/06/Powershell-script-op.png?v=1750771528) ## Microsoft 365 Reporting Tool by AdminDroid For more extensive insights beyond this script, explore [AdminDroid's Microsoft 365 reporting tool](https://admindroid.com/?src=GitHub), offering 3500+ out-of-the-box reports and 100+ insightful dashboards. *Simplify Email Analytics with AdminDroid! *