You can create a transport rule in Exchange to flag them if they came from an external address outside of your tenant.
How to detect if the email notification from no-reply@microsoft.com from our SharePoint Online tenant or an external tenant?
frob
4,226
Reputation points
Hi there
In our organization, we need to mark email notifications from external SharePoint Online tenants as "External", and white list the ones sent from our own tenant.
How to detect if the email notification from no-reply@microsoft.com is from our SharePoint Online tenant or an external tenant?
Thank you.