Exchange Online

ID Category ER Addresses Ports
1 Optimize
Required
No *.partner.outlook.cn
42.159.33.128/26, 42.159.33.176/28, 42.159.40.0/24, 42.159.41.0/26, 42.159.44.0/22, 42.159.161.128/26, 42.159.161.160/28, 42.159.163.128/25, 42.159.165.0/24, 42.159.172.0/22
TCP: 443, 80
2 Allow
Required
No 42.159.33.192/27, 42.159.36.0/24, 42.159.161.192/27, 42.159.164.0/24, 139.219.16.0/27, 139.219.17.0/24, 139.219.145.0/27, 139.219.146.0/24 TCP: 443, 80

SharePoint Online and OneDrive for Business

ID Category ER Addresses Ports
4 Allow
Required
No *.partner.microsoftonline.cn, *.sharepoint.cn
42.159.34.0/27, 42.159.38.0/23, 42.159.162.0/27, 42.159.166.0/23
TCP: 443, 80

Skype for Business Online and Microsoft Teams

ID Category ER Addresses Ports
3 Optimize
Required
No *.partner.lync.cn
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
TCP: 443, 80

Microsoft 365 Common and Office Online

ID Category ER Addresses Ports
5 Allow
Required
No cvprbjb101m01.keydelivery.mediaservices.chinacloudapi.cn, cvprbjb101m01.streaming.mediaservices.chinacloudapi.cn, cvprsha101m01.keydelivery.mediaservices.chinacloudapi.cn, cvprsha101m01.streaming.mediaservices.chinacloudapi.cn TCP: 443, 80
6 Allow
Required
No webshell.suite.partner.microsoftonline.cn
40.125.169.147/32, 42.159.201.24/32
TCP: 443, 80
7 Allow
Required
No *.azure-mobile.cn, *.chinacloudapi.cn, *.chinacloudapp.cn, *.chinacloud-mobile.cn, *.chinacloudsites.cn, *.partner.microsoftonline-m.cn, *.partner.microsoftonline-m.net.cn, *.partner.microsoftonline-m-i.cn, *.partner.microsoftonline-m-i.net.cn, *.partner.microsoftonline-p.net.cn, *.partner.microsoftonline-p-i.cn, *.partner.microsoftonline-p-i.net.cn, *.partner.officewebapps.cn, *.windowsazure.cn, 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, partner.outlook.cn, portal.partner.microsoftonline.cdnsvc.com, r4.partner.outlook.cn, shell.partner.microsoftonline.cdnsvc.com
23.236.126.0/24, 42.159.224.122/32, 42.159.233.91/32, 42.159.237.146/32, 42.159.238.120/32, 58.68.168.0/24, 112.25.33.0/24, 123.150.49.0/24, 125.65.247.0/24, 139.217.17.219/32, 139.217.19.156/32, 139.217.21.3/32, 139.217.25.244/32, 171.107.84.0/24, 180.210.232.0/24, 180.210.234.0/24, 209.177.86.0/24, 209.177.90.0/24, 209.177.94.0/24, 222.161.226.0/24
TCP: 443, 80
8 Allow
Required
No *.onmschina.cn, *.partner.microsoftonline.net.cn, *.partner.microsoftonline-i.cn, *.partner.microsoftonline-i.net.cn, *.partner.office365.cn
101.28.252.0/24, 115.231.150.0/24, 123.235.32.0/24, 171.111.154.0/24, 175.6.10.0/24, 180.210.229.0/24, 211.90.28.0/24
TCP: 443, 80
9 Allow
Required
No *.partner.microsoftonline-p.cn
42.159.4.68/32, 42.159.4.200/32, 42.159.7.156/32, 42.159.132.138/32, 42.159.133.17/32, 42.159.135.78/32, 182.50.87.0/24
TCP: 443, 80
10 Allow
Required
No *.partner.microsoftonline.cn
42.159.4.68/32, 42.159.4.200/32, 42.159.7.156/32, 42.159.132.138/32, 42.159.133.17/32, 42.159.135.78/32, 103.9.8.0/22
TCP: 443, 80
11 Allow
Required
No activation.sls.microsoft.com, bjb-odcsm.officeapps.partner.office365.cn, bjb-ols.officeapps.partner.office365.cn, bjb-roaming.officeapps.partner.office365.cn, crl.microsoft.com, dnsmop.chinacloudapp.cn, odc.officeapps.live.com, office15client.microsoft.com, officecdn.microsoft.com, ols.officeapps.partner.office365.cn, osi-prod-bjb01-odcsm.chinacloudapp.cn, osiprod-scus01-odcsm.cloudapp.net, osi-prod-sha01-odcsm.chinacloudapp.cn, roaming.officeapps.partner.office365.cn, sha-odcsm.officeapps.partner.office365.cn, sha-ols.officeapps.partner.office365.cn, sha-roaming.officeapps.partner.office365.cn
40.73.248.0/21, 42.159.4.45/32, 42.159.4.50/32, 42.159.4.225/32, 42.159.7.13/32, 42.159.132.73/32, 42.159.132.74/32, 42.159.132.75/32, 65.52.98.231/32, 65.55.69.140/32, 65.55.227.140/32, 70.37.81.47/32, 168.63.252.62/32
TCP: 443, 80