Suspicious Login Issues

How to Stop Microsoft 365 Mailbox Sign-In Attempts from Multiple IPs

Tauseeq MagsiTauseeq Magsi Oct 19, 2026 868 views

Question details

The user wants to prevent automated brute-force or spambot sign-in attempts against a Microsoft 365 user mailbox originating from thousands of rotating global IP addresses.

How to Stop Microsoft 365 Mailbox Sign-In Attempts from Multiple IP Addresses
Product
Microsoft 365
Device & OS
not provided
Scenario
Reviewing Microsoft 365 sign-in logs and noticing a flood of failed authentication attempts.
Observed behavior
Frequent failed and malicious sign-in attempts are filling up the sign-in logs, predominantly using SMTP protocols from distributed IP addresses worldwide.
Before you start

Ensure you have global administrator or security administrator privileges in the Microsoft 365 and Microsoft Entra ID admin portals before modifying authentication protocols.

Solution 1Recommended

Disable Basic Authentication and SMTP AUTH

Blocking legacy basic authentication and disabling SMTP AUTH is the most effective way to stop automated spambot attacks at the source.

Basic authentication allows automated attacks against legacy protocols like SMTP AUTH. Because malicious bots use thousands of rotating IP addresses, attempting to block individual IPs is ineffective. Disabling the vulnerable protocol outright forces modern authentication and stops the attempts.

1
Access Active Users

Log in to the Microsoft 365 admin center, navigate to 'Users' in the left-hand menu, and select 'Active users'.

2
Select the Affected Mailbox

Find and click on the user account that is receiving the suspicious sign-in attempts to open the account properties panel.

3
Manage Email Apps

Click on the 'Mail' tab in the user's properties panel, then select 'Manage email apps' under the Email apps section.

4
Disable Authenticated SMTP

Uncheck the box next to 'Authenticated SMTP' to disable basic SMTP authentication for this user, then click 'Save changes'.

Disable Basic Authentication and SMTP AUTH
Tenant-Wide Settings: Microsoft has deprecated Basic Authentication for most tenants, but checking your Org settings in the Exchange Admin Center ensures your entire organization is protected from legacy protocol attacks.
Free Microsoft Office alternative

Boost Your Productivity with WPS Office

While securing your email server requires Microsoft 365 admin controls, you can streamline your daily document workflow with WPS Office. It provides a lightweight, free alternative to Microsoft Office with a familiar interface and comprehensive features.

  1. 1. Download the Installer: Visit the official WPS Office website and download the free installation package for your operating system.
  2. 2. Install WPS Office: Run the downloaded setup file and follow the quick on-screen instructions to install the suite.
  3. 3. Open Your Documents: Launch WPS Office and immediately start opening, editing, and saving your Word, Excel, and PowerPoint files without any formatting loss.
Fully compatible with Microsoft Office formats (.docx, .xlsx, .pptx)Lightweight software that consumes fewer system resources than heavy alternativesFamiliar user interface for seamless and quick migrationBuilt-in PDF editor and document management tools to secure your local files
microsoft office alternative - wps office

Frequently Asked Questions

Why doesn't blocking the attacker's IP address stop the sign-in attempts?

Automated brute-force attacks and spambots typically use distributed botnets with thousands of rotating IP addresses worldwide. Because the IP addresses change constantly, blocking individual IPs is highly ineffective.

How can I tell if any of the malicious sign-in attempts were successful?

You can review the sign-in logs in Microsoft Entra ID. Filter the logs by the affected user's name and check the 'Status' column to ensure there are no 'Success' entries originating from unknown or suspicious locations.

Will disabling SMTP AUTH affect my users' ability to send emails?

Disabling SMTP AUTH only blocks devices or applications that rely on legacy SMTP client submission, such as older network scanners or third-party mailing apps. Standard Outlook, webmail, and mobile app users using modern authentication will not be affected.