Which IP's and ports need to open for Office 365? RRS feed

  • Question

  • Hi

    I need to give access to a VM which can communicate with office 365 to send and receive emails

    What are the IP'sand ports we need to open on the NSG?

    Is there a list of MS IP's?

    • Edited by devops_sl Monday, August 13, 2018 1:30 PM
    Monday, August 13, 2018 12:39 PM

All replies

  • I would recommend you to check the following link on  Office 365 URLs and IP address ranges for a detailed and up-to-date list of the URLs, IP addresses, ports, and protocols to send and receive emails with office 365. Also, suggest you to refer the following article on TCP/IP  Communication ports for Office 365 communication. See if this helps.

    Disclaimer: This response contains a reference to a third-party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet. 


    If this answer was helpful, click “Mark as Answer” or Up-Vote. To provide additional feedback on your forum experience, click here.

    • Proposed as answer by YASWANTH MADI Monday, August 13, 2018 4:38 PM
    Monday, August 13, 2018 4:38 PM
  • Just checking in if you have had a chance to see our previous response. If this answers your query, do click “Mark as Answer” and Up-Vote for the same. And, if you have any further query do let us know. 
    Wednesday, August 15, 2018 5:45 PM