A cloud-based identity and access management service for securing user authentication and resource access
I'd check the ports listed here are flowing in both directions.
https://www.microsoft.com/en-US/download/details.aspx?id=24009
--please don't forget to close up the thread here by marking answer if the reply is helpful--