Tenant restrictions in Office 365


The Azure AD teams keeps on delivering on important features, the latest one being the ability to "lock" your users to only use specific Office 365 tenant. This is done by inspecting the logon request and validating the value of two headers, Restrict-Access-To-Tenants and Restrict-Access-Context.


The blog announcement is here: https://blogs.technet.microsoft.com/enterprisemobility/2017/01/31/new-enhanced-access-controls-in-az...


Detailed instructions as well as an easy to use software-based proof of concept method can be found here: https://docs.microsoft.com/en-us/azure/active-directory/active-directory-tenant-restrictions

2 Replies

Sadly these controls don't work for Microsoft's own SaaS: Office 365. Though I hope someone will prove me wrong.


Turns our Azure tenant controls require SSL inspection but Office 365 uses SSL pinning. How do people deal with DLP risks in Office 365?! and then I mean for uploads to a tenant over than my own.

you need to inspect only login.microsoftonline.com side. not o365 sites


also SSL inspection is not that great at DLP. protect te resource with DRM (like AIP)