O365 IP space

Does anyone have a good list of all of the US IPs used for O365? Not looking for specific IPs, and can just use the blocks.


First result on Google: https://docs.microsoft.com/en-ca/office365/enterprise/urls-and-ip-address-ranges?redirectSourcePath=%252farticle%252fOffice-365-URLs-and-IP-address-ranges-8548a211-3fe7-47cb-abb1-355ea5aa88a2


I think it is cool that companies take the time and effort to publish
such useful lists. Keep it up!

Kind regards,


Sorry, I should have stated that I have already searched, and have seen the above mentioned docs as well as everything else on the first page of the search results.

I guess what I was looking for was to see if somebody has already consolidated that list in to something easier to work with.

They’ve got a tool somewhere that builds the entire list from a Powershell script.

Search for proxy office365 tool.

In the past I’ve pulled down an XML file that included the IP space for all of the O365 products. Then I filtered, sorted and aggregated what I wanted for my internal use via a script.

This list?


From the linked-above page (it’s somewhat obscured).


The IPs have changed a few times since the document’s inception, so I cross referenced the documented O365 IPs with ARIN’s database. I then chose to implement the CIDR as defined by ARIN (YMMV).



Microsoft also now publishes this data as a JSON and RSS and change log available from https://techcommunity.microsoft.com/t5/Office-365-Blog/Announcing-Office-365-endpoint-categories-and-Office-365-IP/ba-p/177638