Add o365 rules to Azure Firewall

Jordan A 0 Reputation points
2024-02-28T17:01:16.25+00:00

Hi, I need to add all the necessary Firewall rules for VM's in our Azure estate so they can activate against Microsofts servers. What are the ports/URLs needed for this? And how do I go about implementing into Azure firewall? Kind regards

Azure Firewall
Azure Firewall
An Azure network security service that is used to protect Azure Virtual Network resources.
674 questions
Office Management
Office Management
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Management: The act or process of organizing, handling, directing or controlling something.
2,172 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ChaitanyaNaykodi-MSFT 26,216 Reputation points Microsoft Employee
    2024-02-28T23:47:14.6766667+00:00

    @Jordan A

    Thank you for reaching out.

    I understand you wish to allow Office 365 traffic for the VM deployed behind an Azure Firewall.

    For azure firewall you can use service tags to allow required IP addresses of Office365 services.

    You can follow the documentation here to implement the Firewall rules

    You can use the Azure Firewall built-in Service Tags and FQDN tags to allow outbound communication to Office 365 endpoints and IP addresses.

    Just FYI Office 365 service tags and FQDN tags are supported in Azure Firewall policy only. They aren't supported in classic rules.

    • FQDN tag represents only the required FQDNs for the specific product and category that communicate over HTTP/HTTPS (ports 80/443) and can be used in Application Rules to secure traffic to these FQDNs and protocols.
    • Service tag represents only the required IPv4 addresses and ranges for the specific product and category and can be used in Network Rules to secure traffic to these IP addresses and to any required port.

    Additional references:

    https://learn.microsoft.com/en-us/azure/firewall/premium-migrate#migrate-classic-rules-to-standard-policy

    Hope this helps! Please let me know if you have additional questions. Thank you!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.