Skip to content

Instantly share code, notes, and snippets.

@comprofix
Created November 23, 2025 02:41
Show Gist options
  • Select an option

  • Save comprofix/b8a9e0f537c7a45ccdd3b51bc730fed8 to your computer and use it in GitHub Desktop.

Select an option

Save comprofix/b8a9e0f537c7a45ccdd3b51bc730fed8 to your computer and use it in GitHub Desktop.
Get list of Microsoft 365 IPs
curl -s -H "Accept: application/json" "https://endpoints.office.com/endpoints/Worldwide?ClientRequestId=b10c5ed1-bad1-445f-b386-b919946339a7" | jq -r '.[] | select(.urls and .ips) | .urls[], .ips[]'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment