The following links contain the IP ranges for various cloud services, they can be downloaded as Json files and integrated into scripts to keep outbound firewalls rules updated;
Office 365 URLs and IP address ranges
Kaizala
OneDrive
Azure DevOps
Azure SQL Database gateway
Azure IP Ranges and Service Tags – Public Cloud