To block an IP address in Office 365, you can use the Tenant Allow/Block Lists feature within the Microsoft 365 Defender portal. This method allows administrators to specify IP addresses that should be blocked from connecting to your tenant.
Here's how to block an IP address using the Tenant Allow/Block Lists:
Steps to Block an IP Address
Follow these steps to configure IP address blocking in your Office 365 environment:
-
Navigate to Tenant Allow/Block Lists:
- Go directly to the Tenant Allow/Block Lists page using this URL: https://security.microsoft.com/tenantAllowBlockList.
-
Select the IP addresses tab:
- Once on the Tenant Allow/Block Lists page, click on the IP addresses tab.
-
Initiate the Block Action:
- On the IP addresses tab, select the Block option.
-
Configure the Block Entry:
- A "Block IP addresses" flyout will open. In this flyout, you will configure the specific IP addresses you wish to block and any other relevant settings. This process supports blocking both IPv4 and IPv6 addresses.
Note: This method is part of the broader set of security configurations available in Microsoft Defender for Office 365.
Blocking IP addresses via the Tenant Allow/Block List is an effective way to prevent unwanted connections or traffic from specific sources based on their IP.