in NetScaler

Office 365 Whitelist

For an exchange hybrid configuration to work, you will need to allow Office 365 access to your exchange server, or atleast, i needed to do that.

The ip ranges can be found here: – i know there is a script to fetch them, which easily could be modified to update a list on Citrix ADC.

The above code will end up in a policy expression that can be used in other policies. I am using in both responder polices (to allow / deny access) and in content switch policies, to steer traffic from O365 to different backend servers.

What do you think?