Open Firewall Ports for Office 365 Access

Modified on Mon, 8 Jul, 2019 at 12:57 PM

Server/ServicePortProtocolDirection
ADFS   (Internal)443TCPInbound/Outbound
ADFS (Proxy DMZ) or WAP Server443TCPInbound/Outbound
Microsoft Online Portal (Website)443TCPInbound/Outbound
Outlook Web Access (Website)443TCPInbound/Outbound
Lync/Skype for Business Client443TCPInbound/Outbound
SharePoint Online (Website)443TCPInbound/Outbound
Outlook for Mac443TCPInbound/Outbound
Outlook Client443TCPInbound/Outbound
Mail Routing25TCPInbound/Outbound
SMTP Relay (requires TLS)587TCPInbound/Outbound
Simple IMAP4 migration Tool143/993TCPInbound/Outbound
POP3 (requires SSL)995TCPInbound/Outbound
DirSync/Azure Active Directory Sync80/443TCPInbound/Outbound
Exchange Migration Tool80/443TCPInbound/Outbound
IMAP Migration Tool80/443TCPInbound/Outbound
Exchange Management Console80/443TCPInbound/Outbound
Exchange Management Shell80/443TCPInbound/Outbound
Lync (Data Sharing Sessions)443TCPOutbound
Lync (Video, Audio, Application Sharing)443TCPOutbound
Lync (Audio & Video)3478UDPOutbound
Lync (Audio & Video)50000-59999TCP/UDPOutbound
Lync Mobile Push iOS Only5223TCPOutbound




Refer link for more details

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article