IP ranges registry · Microsoft
Microsoft 365 IP ranges: endpoints, counts and update policy
Microsoft publishes 34 IPv4 and 59 IPv6 prefixes in json rest endpoint (no static file; csv also available via format parameter). Monthly: updated as needed at the beginning of each month, with new IP addresses and URLs published 30 days before they become active; out-of-band updates during the month for incidents
How we check · report a mistake
Microsoft 365 ranges come from a REST endpoint rather than a static file: https://endpoints.office.com/endpoints/worldwide returns a JSON array of endpoint sets that publish URLs and FQDNs alongside the CIDR lists. The Worldwide instance read 2026-10-13 held 34 unique IPv4 and 59 unique IPv6 prefixes, counted after deduplication because one range can appear in multiple endpoint sets with different ports. The publisher states its cadence inline: "Endpoints data is updated as needed at the beginning of each month with new IP Addresses and URLs published 30 days in advance of being active."
| Field | What the publisher publishes |
|---|---|
| File or documented location | https://endpoints.office.com/endpoints/worldwide |
| Format | JSON REST endpoint (no static file; CSV also available via format parameter) |
| Prefixes counted | 34 IPv4 · 59 IPv6 |
| Count basis | counted from https://endpoints.office.com/endpoints/worldwide with a fresh clientrequestid GUID, read 2026-10-13; unique prefixes across the 63 endpoint sets of the Worldwide instance (129 ips occurrences before dedup, since one range can appear in multiple sets with different ports); China, USGovDoD and USGovGCCHigh instances counted separately, see notes |
| Update policy | Monthly: updated as needed at the beginning of each month, with new IP addresses and URLs published 30 days before they become active; out-of-band updates during the month for incidents“From the Microsoft 365 URLs and IP address ranges page: "Endpoints data is updated as needed at the beginning of each month with new IP Addresses and URLs published 30 days in advance of being active. ... Endpoints may also be updated during the month if needed to address support escalations, security incidents, or other immediate operational requirements." From the web service doc: "Microsoft updates the Microsoft 365 IP address and FQDN entries at the beginning of each month. Out-of-band updates are sometimes published due to support incidents, security updates, or other operational requirements."” |
File or documented location: https://endpoints.office.com/endpoints/worldwide
Format: JSON REST endpoint (no static file; CSV also available via format parameter)
Prefixes counted: 34 IPv4 · 59 IPv6
counted from https://endpoints.office.com/endpoints/worldwide with a fresh clientrequestid GUID, read 2026-10-13; unique prefixes across the 63 endpoint sets of the Worldwide instance (129 ips occurrences before dedup, since one range can appear in multiple sets with different ports); China, USGovDoD and USGovGCCHigh instances counted separately, see notes
Update policy: Monthly: updated as needed at the beginning of each month, with new IP addresses and URLs published 30 days before they become active; out-of-band updates during the month for incidents
“From the Microsoft 365 URLs and IP address ranges page: "Endpoints data is updated as needed at the beginning of each month with new IP Addresses and URLs published 30 days in advance of being active. ... Endpoints may also be updated during the month if needed to address support escalations, security incidents, or other immediate operational requirements." From the web service doc: "Microsoft updates the Microsoft 365 IP address and FQDN entries at the beginning of each month. Out-of-band updates are sometimes published due to support incidents, security updates, or other operational requirements."”
Recorded counts, read 2026-10-13. Publisher documentation · learn.microsoft.com · endpoints.office.com. Files republish without notice; the count you fetch may differ.
Questions
What IP ranges does Microsoft 365 publish?
Microsoft publishes JSON REST endpoint (no static file; CSV also available via format parameter) at https://endpoints.office.com/endpoints/worldwide; we counted 34 IPv4 and 59 IPv6 prefixes on 2026-10-13. Monthly: updated as needed at the beginning of each month, with new IP addresses and URLs published 30 days before they become active; out-of-band updates during the month for incidents
How often does the Microsoft 365 endpoints list change?
Monthly, with out-of-band changes in between. The doc states: "Endpoints data is updated as needed at the beginning of each month with new IP Addresses and URLs published 30 days in advance of being active." Mid-month updates are allowed: "Endpoints may also be updated during the month if needed to address support escalations, security incidents, or other immediate operational requirements." For change detection, Microsoft recommends checking the /version web method hourly rather than polling the endpoints themselves.
Can I fetch the Microsoft 365 IP ranges programmatically?
Yes, the endpoint at https://endpoints.office.com/endpoints/worldwide returns the Worldwide instance as JSON. The request must carry a fresh clientrequestid GUID parameter, and the method is rate limited: an HTTP 429 response means waiting 1 hour before retrying. A format parameter serves CSV, and NoIPv6=true excludes IPv6 from the output. The same service covers the China, USGovDoD and USGovGCCHigh instances via the Instance parameter. It replaced the older downloads: "This REST-based web service replaces the previous XML downloadable files, which were phased out on October 2, 2018."
