How do I get Office 365 traffic to pass through the Web Security Service (WSS)?
Web Security Service
Note: These are global policy options. The changes apply to all Office 365 connections regardless of the default policies that are described in the previous sections.
In the case this solution doesn't fix the issue, please reference Office 365 URLs and IP address ranges.
This article provides the IPs and domains currently updated by Microsoft.