How to Find SharePoint Online Federated Search IP Addresses for AWS Security Groups
Question details
The user needs to allow inbound SharePoint Online federated search traffic to reach an AWS-hosted search source without relying on a single fixed SharePoint site IP address.

- Product
- Microsoft SharePoint Online
- Device & OS
- not provided
- Scenario
- Configuring an AWS security group to permit SharePoint Online federated search requests to access an externally hosted federated search source.
- Observed behavior
- SharePoint Online does not expose a permanent IP address for a tenant or federated search request, and published hostnames may resolve to changing IP addresses.
Before changing AWS security group rules, open the Microsoft Learn page for Microsoft 365 URLs and IP address ranges and confirm which SharePoint Online federated search hostnames your tenant uses.
Allow the Published Microsoft 365 IP Address Ranges for SharePoint Online Federated Search
Use this method when your AWS security group must remain IP-based and you can update the rules as Microsoft publishes new ranges.
Microsoft publishes the service endpoints and IP address ranges for Microsoft 365, including SharePoint Online federated search. Because cloud IP addresses can change over time, an allowlist built from the published optimization ranges is more reliable than a one-time DNS lookup.
In a browser, open the Microsoft Learn page for Microsoft 365 URLs and IP address ranges and select the SharePoint Online or Microsoft 365 Common and Office Online service area.
Locate the SharePoint Online federated search hostnames such as *.search.production.apac.trafficmanager.net, *.search.production.emea.trafficmanager.net, and *.search.production.us.trafficmanager.net, and note their associated required optimization IP ranges.
In the AWS Management Console, open the security group for your federated search source, choose Edit inbound rules, and add HTTPS rules for the documented Microsoft 365 IP address ranges.
Because Microsoft 365 IP addresses can change, set a recurring task to compare the AWS security group rules with the published lists and update them whenever ranges are added or retired.

Route SharePoint Online Federated Search Through a Stable Proxy
Use this method when you prefer to manage one stable public IP address instead of maintaining many Microsoft 365 IP ranges.
Manage Office Documents More Simply with WPS Office
If the IP allowlist requirement is tied to Microsoft SharePoint Online and is outside WPS Office's scope, WPS Office provides a free, lightweight Microsoft Office alternative with familiar tools and full compatibility for .docx, .xlsx, and .pptx files, making local and team document work simpler.

Frequently Asked Questions
Does SharePoint Online federated search use a fixed IP address?
No. SharePoint Online does not necessarily use one permanent IP address for a tenant or federated search request. Use the published Microsoft 365 URLs and IP address ranges instead of relying on a one-time DNS lookup.
Which hostnames are involved in SharePoint Online federated search?
The listed federated search hostnames include *.search.production.apac.trafficmanager.net, *.search.production.emea.trafficmanager.net, and *.search.production.us.trafficmanager.net. These hostnames may resolve to IP addresses in the required optimization ranges, but the ranges can change.
Can I use a proxy with a stable IP address for the AWS security group?
Yes. Configure SharePoint Online to use a proxy server, then allow the proxy's stable public IP address or CIDR range in the AWS security group inbound HTTPS rule.
How often should I update Microsoft 365 IP ranges in AWS?
Review the Microsoft 365 URLs and IP address ranges documentation on a regular schedule and after any Microsoft service update. Cloud IP addresses can change, so outdated security group rules may block federated search traffic.
Does WPS Office configure SharePoint Online federated search IP ranges?
No. WPS Office is an Office productivity suite and does not manage SharePoint Online network ranges or AWS security groups. The IP allowlist configuration is performed in Microsoft 365 and AWS.




