Programmatically Exporting the Office 365 Service Endpoints

[vc_row][vc_column][vc_column_text]If you are an Office 365 customer or are planning to soon migrate, a key configuration is ensuring that your firewall and proxy infrastructure is configured to allow this traffic through. In the case of a Web Proxy for the best performance, and if you are using trusted locations in conditional access, you want to allow direct traffic.

The challenge may be if your software, or your information security department requires that you use IP Addresses only and not friendly URL names. These IP addresses can change and can affect your O365 services. The following script demonstrations how you can pull that information programmatically. It would not be a big leap to automate your firewall and proxy configurations, or at least to notify you when they have changed.

[/vc_column_text][/vc_column][/vc_row]

Share:

Facebook
Twitter
LinkedIn

Contact Us

Name
=
On Key

More Posts

Microsoft EndPoint Management

Sync ConfigMgr Collections to Intune

ConfigMgr collection sync is a feature that has been in ConfigMgr for a few versions. At a high level, it syncs the membership of a collection to a group in Entra ID that can then be

Read More »
WME Microsoft 365 Updates No. 025
Azure

WME Microsoft 365/Azure Updates 22 August 2025

1. Exchange Online: Temporary Mailbox Access Disruption via MAPI Overview Some Exchange Online users experienced mailbox access issues via the Messaging API (MAPI) on August 20, 2025. The disruption occurred after Microsoft reverted a recent service

Read More »