URLs and IP address ranges for Office 365 operated by 21Vianet

Notes:  This article applies to Office 365 operated by 21Vianet in China.

If you are using Office 365 in worldwide use, see Office 365 URLs and IP address ranges.

Subscribe via RSS RSS to receive notice when URLs and IP addresses are changed.

If your organization restricts computers on your network from connecting to the Internet, this article lists the endpoints you should include in your outbound allow list to ensure your computers can successfully use Office 365. URL allow lists are the recommended approach due to the modern web architecture of Office 365. For guidance on how to best implement URL or IP allow lists, please work with the manufacturer of the hardware or software you use to protect your internet connection.

Warning: IP addresses filtering isn’t a complete solution.

Many Office 365 features rely on Microsoft and/or 3rd party Content Delivery Networks (CDNs) that help keep Office 365 fast and reliable for end users. We are unable to provide the IP addresses of those services.

The following is a list of problems with filtering by IP address:

  • Web clients such as the Office 365 admin portal or Outlook Web App won’t be able to authenticate.

  • Updates will be required as frequently as weekly.

  • Certificate Revocation Lists (CRLs) are a required part of using Office 365 securely, IP addresses are unavailable for CRL endpoints.

  • Future non-web based clients may not be able to authenticate.

  • Additional Office 365 infrastructure won’t become instantly available to client computers.

  • There will be more emergency or retroactive updates

Some of our services do overlap with one another and you will notice the overlap or duplication in the lists of endpoints. There is also some domain name overlapping with our consumer services; while the root domain name is the same, Office 365 operates from a separate sub-domain.

If you’re going to add IP addresses to your allow lists, keep in mind that IPv6 is optional and not required. We provide it here for customers who wish to use IPv6.

Office 365

This list of URLs and IP addresses is only for Office 365 operated by 21Vianet. If you have licensed additional services or purchased a suite license, you will also need to allow access to the SharePoint, Lync, & Exchange services. These services will require both port 80 & port 443.

IP address ranges

URLs

103.9.8.0/22

42.159.7.156/32

42.159.4.68/32

42.159.4.200/32

42.159.133.17/32

42.159.132.138/32

42.159.135.78/32

*.partner.microsoftonline.cn

42.159.0.0/16

171.111.154.0/24

115.231.150.0/24

175.6.10.0/24

101.28.252.0/24

211.90.28.0/24

123.235.32.0/24

180.210.229.0/24

*.partner.microsoftonline.net.cn

*.onmschina.cn

*.partner.outlook.cn

*.partner.lync.cn

*.partner.office365.cn

*.sharepoint.cn

*.partner.microsoftonline-i.cn

*.partner.microsoftonline-i.net.cn

182.50.87.0/24

42.159.7.156/32

42.159.4.68/32

42.159.4.200/32

42.159.133.17/32

42.159.132.138/32

42.159.135.78/32

*.partner.microsoftonline-p.cn

180.210.232.0/24

58.68.168.0/24

209.177.90.0/24

209.177.94.0/24

180.210.234.0/24

209.177.86.0/24

23.236.126.0/24

123.150.49.0/24

222.161.226.0/24

112.25.33.0/24

125.65.247.0/24

171.107.84.0/24

139.217.17.219/32

139.217.21.3/32

139.217.25.244/32

139.217.19.156/32

42.159.233.91/32

42.159.237.146/32

42.159.238.120/32

42.159.224.122/32

*.partner.microsoftonline-p.net.cn

*.partner.microsoftonline-p-i.cn

*.partner.microsoftonline-p-i.net.cn

*.partner.microsoftonline-m.cn

*.partner.microsoftonline-m.net.cn

*.partner.microsoftonline-m-i.cn

*.partner.microsoftonline-m-i.net.cn

*.windowsazure.cn

*.chinacloudapi.cn

*.partner.officewebapps.cn

*.chinacloudapp.cn

*.chinacloudsites.cn

*.azure-mobile.cn

*.chinacloud-mobile.cn

partner.outlook.cn

portal.partner.microsoftonline.cdnsvc.com

aadg-bjb-a.cloudapp.net

aadg-bjb-b.cloudapp.net

aadg-bjb-test.cloudapp.net

aadg-sha-a.cloudapp.net

aadg-sha-b.cloudapp.net

aadg-sha-test.cloudapp.net

r4.partner.outlook.cn

portal.partner.microsoftonline.cdnsvc.com

Office 365 Video

The following URLs are required for Office 365 Video.

URLs

cvprbjb101m01.keydelivery.mediaservices.chinacloudapi.cn

cvprsha101m01.keydelivery.mediaservices.chinacloudapi.cn

cvprbjb101m01.streaming.mediaservices.chinacloudapi.cn

cvprsha101m01.streaming.mediaservices.chinacloudapi.cn

Exchange Online

The following URLs and IP addresses are used by the Exchange Online service.

IP address ranges

URLs

42.159.33.144/28

42.159.33.176/28

42.159.44.0/22

42.159.161.128/28

42.159.161.160/28

42.159.172.0/22

*.partner.outlook.cn

Exchange Online Protection

The following IP addresses are used by the Exchange Online Protection service.

  • 42.159.33.192/27

  • 42.159.161.192/27

  • 42.159.164.0/24

SharePoint Online

The following URLs and IP addresses are used by the SharePoint Online service.

IP address ranges

URLs

42.159.34.11/10

42.159.32.10

*.sharepoint.cn

*.partner.microsoftonline.cn

Skype for Business

The following URLs and IP addresses are used by the Lync Online service.

IP address ranges

URLs

42.159.34.32/27

42.159.34.64/27

42.159.34.96/28

42.159.162.32/27

42.159.162.64/27

42.159.162.96/28

*.partner.lync.cn

Office 365 ProPlus

The following URLs and IP addresses are used by Office 365 ProPlus.

IP address ranges

URLs

42.159.4.50

42.159.132.75

70.37.81.47

42.159.4.225

65.52.98.231:443

168.63.252.62

42.159.4.50

42.159.4.45

42.159.7.13

42.159.132.73

42.159.4.225

42.159.132.73

42.159.4.45

42.159.132.74

65.55.227.140

65.55.69.140

bjb-ols.officeapps.partner.office365.cn

sha-ols.officeapps.partner.office365.cn

osiprod-scus01-odcsm.cloudapp.net

osi-prod-bjb01-odcsm.chinacloudapp.cn

activation.sls.microsoft.com

odc.officeapps.live.com

ols.officeapps.partner.office365.cn

roaming.officeapps.partner.office365.cn

dnsmop.chinacloudapp.cn

osi-prod-sha01-odcsm.chinacloudapp.cn

bjb-odcsm.officeapps.partner.office365.cn

sha-odcsm.officeapps.partner.office365.cn

bjb-roaming.officeapps.partner.office365.cn

sha-roaming.officeapps.partner.office365.cn

office15client.microsoft.com

crl.microsoft.com

officecdn.microsoft.com

Share Facebook Facebook Twitter Twitter Email Email

Was this information helpful?

Great! Any other feedback?

How can we improve it?

Thank you for your feedback!

×