Account Locked & Blocked

How to Fix Microsoft 365 Account Temporarily Locked for Security Reasons

Huda QurayshiHuda Qurayshi Oct 28, 2026 868 views

Question details

The user is unable to access their Microsoft 365 account due to a temporary security lock, which persists even after password resets.

Fixing Microsoft 365 Account Temporarily Locked for Security Reasons
Product
Microsoft 365
Device & OS
not provided
Scenario
Attempting to log into Microsoft 365 portals or services.
Observed behavior
The system displays a message stating the account is temporarily locked to prevent unauthorized use, and remains inaccessible despite troubleshooting attempts like resetting the password.
Before you start

Ensure you have administrator access to the Microsoft 365 admin center, as standard users cannot unlock their own accounts when locked for security reasons.

Solution 1Recommended

Sign Out of Active Sessions and Unlock the Account

The most effective way for administrators to resolve a stuck security lock is to force a sign-out from all active sessions before unblocking.

When an account is flagged for suspicious activity, active tokens may prevent the user from regaining access even after a password reset. Forcing a global sign-out invalidates these tokens.

1
Access the Admin Center

Go to the Microsoft 365 admin center and log in with your global or user administrator credentials.

2
Locate the User

Navigate to 'Users' > 'Active users' in the left-hand menu and select the affected user's account from the list.

3
Sign Out of All Sessions

In the user properties pane, click on the 'Account' tab and select 'Sign out of all sessions'. Confirm the action.

4
Unblock Sign-in

If the account sign-in is blocked, click 'Unblock sign-in' (often represented by a restricted icon) and save the changes.

Sign Out of Active Sessions and Unlock the Account
Propagation Time: It can take up to 15 minutes for the sign-out process across all Microsoft 365 services to fully complete.
Free Microsoft Office alternative

Experience Hassle-Free Productivity with WPS Office

Tired of dealing with complicated account lockouts, sync errors, and restrictive cloud security policies? Switch to WPS Office, a lightweight, free, and highly compatible alternative to Microsoft Office that lets you work efficiently without relying entirely on a cloud account.

  1. 1. Download WPS Office: Visit the official WPS website and click the 'Free Download' button.
  2. 2. Install the Software: Run the downloaded installer and follow the on-screen instructions to set up WPS Office on your computer.
  3. 3. Open Your Files: Double-click any Microsoft Office document to seamlessly open and edit it in WPS Office without needing an active Microsoft 365 account.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Work entirely offline without worrying about sudden cloud account lockouts or sync failures.Lightweight installation with a familiar, easy-to-use tabbed interface.Completely free to use for core document creation and editing tasks.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Microsoft 365 temporarily lock my account?

Microsoft locks accounts automatically when it detects suspicious login activity, an excessive number of failed password attempts, or potential unauthorized access to protect your organization's data.

How long does a temporary Microsoft 365 security lockout last?

A smart lockout duration can range from a few minutes to several hours, depending on the organization's Azure AD password protection policies and the severity of the perceived threat.

Can I unlock my Microsoft 365 account myself?

If your organization has Self-Service Password Reset (SSPR) enabled with the account unlock feature configured, you may be able to unlock it yourself. Otherwise, you must contact your IT administrator.

Why is my account still locked after an admin unblocked it?

This often happens due to cached credentials continually trying to authenticate in the background, or synchronization delays in hybrid Azure AD environments. Signing out of all active sessions and waiting 15 minutes usually resolves this.