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,281
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.
Microsoft 365 and Office | Install, redeem, activate | For business | Windows
Microsoft 365 and Office | Install, redeem, activate | For business | Windows
Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
Microsoft 365 and Office | SharePoint | For business | Windows
Microsoft 365 and Office | SharePoint | For business | Windows
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
Answer accepted by question author