Office 365 IP Addresses and URLs
Announcement - Link
Migrating to the new web services based publishing for Office 365 IP Addresses and URLs - Link
Flow -
Use Microsoft Flow to receive an email for changes to Office 365 IP Address and URLs - Link
Flow and Azure Automation -
Office 365 URLs and IP address updates for firewall and proxy configuration, using Flow and Azure Automation - Link
Automate the configuration of Office 365 endpoint ACL configurations using PowerShell
Automate Office 365 endpoint ACL configurations using PowerShell - Link