M365 Conditional Access Blocklist Builder

Load ip2asn-combined.tsv, pick filters, generate CIDR ranges for Conditional Access. TOR can auto-fetch or you can paste a list.

1) Data sources

Expected format: start_ip, end_ip, asn, country, as_name, as_description (tab-separated).

Conditional Access named locations accept CIDR. "Start-End" is mainly for inspection or other tooling.

TOR list options

If auto-fetch fails due to CORS, download the list manually and paste it below.

These will be emitted as /32 (IPv4) or /128 (IPv6).

VPN and Datacenter match lists

Matches against the ASN column in ip2asn-combined.tsv. Use numeric ASNs, one per line.

Matches against the ASN column in ip2asn-combined.tsv. Use numeric ASNs, one per line.

Advanced output controls

This tool merges overlapping and adjacent ranges before CIDR conversion to reduce output size. Conditional Access has limits on how many IP ranges you can store, so massive outputs may need splitting across multiple named locations.

Download
Idle

2) Output preview