Forum Discussion
Peter Heck - Admin
Jul 24, 2018Copper Contributor
Restricting client access to other Office 365 tenants
Question based on the following article: https://docs.microsoft.com/en-us/azure/active-directory/manage-apps/tenant-restrictions We want to restrict access from our company network to only ou...
Jul 24, 2018
Hi Peter,
It seems that tenant restrictions is meant for a single tenant environment. That is, all users are authenticating against a single tenant. In this case, your users should authenticate always to prod tenant, even when using dev and test tenant's services. I don't think this would work in your scenario.
However, as the proxy is intercepting the traffic anyways, you may inspect the request and try to identify which tenant users are trying to access. The login username would be a good candidate for that. Based on that, you could give a correct tenant ID for the Restrict-Access-Context.