We have a hybrid Azure/Active Directory environment with Site2Site VPN to Azure. We have issues connecting to some Microsoft services. This could be because of our Firewall policies. We would like to know how other organizations are able to maintain a dynamic list of Microsoft sites described in below two articles:
•Office 365 URLs and IP address ranges Microsoft has maintained a support document listing the URLs, IP address ranges, and ports that are required or optional for Office 365 connectivity.
•Office 365 IP Address and URL Web service. To automate getting the latest list of endpoints for Client’s Office 365 cloud.