Many of those IP addresses listed are /32 - that is what comprises a bulk of the # of entries you see in the list. Most of the core services are housed within several large, contigous blocks:
13.107.3.0/24
13.107.8.0/24
13.107.17.0/24
13.107.64.0/18
13.107.242.0/24
23.103.176.128/26
23.103.176.192/27
23.103.178.128/26
23.103.178.192/27
52.112.0.0/14
104.44.195.0/24
104.44.200.0/23
111.221.77.0/26
132.245.0.0/24
132.245.1.0/25
132.245.112.0/24
132.245.113.0/25
134.170.0.0/25
134.170.54.0/26
134.170.54.128/25
134.170.113.192/26
134.170.115.128/25
157.55.238.0/25
There is definitely work to be done on MSFT's part, but a significant portion of functionality comes from the 23 ranges above from within the larger list of 300. (Note: that list above consists of 250,000+ IP addresses!) This doesn't all IPs especially regrding Teams, mind you, but it also doesn't mean you can omit the other entries in the list. My advice:
Keep up with the https://support.office.com/en-us/o365ip/rss or take a look at https://azurerange.azurewebsites.net/ or https://live.paloaltonetworks.com/t5/MineMeld-Articles/Getting-Started-MineMeld/ta-p/72037 for ways to automate and ease your pain.