Account Locked & Blocked

How to Fix Microsoft 365 Accounts Keep Becoming Disabled

Nimra MalikNimra Malik Oct 23, 2026 868 views

Question details

The user is experiencing an issue where Microsoft 365 cloud accounts are repeatedly being disabled or blocked, while their corresponding on-premises Active Directory accounts remain enabled.

How to Fix Microsoft 365 Accounts Keep Becoming Disabled
Product
Microsoft 365
Device & OS
not provided
Scenario
Managing enterprise user accounts and hybrid directory synchronization.
Observed behavior
Cloud accounts become disabled or blocked in Microsoft 365/Azure AD despite the on-premises Active Directory accounts showing an active and enabled status.
Before you start

Ensure you have global administrator or security administrator privileges in your Microsoft Entra ID (formerly Azure AD) environment to execute diagnostic PowerShell scripts and review audit logs.

Solution 1Recommended

Check Account Status via PowerShell and Review Sync Rules

Use Microsoft Graph or Entra PowerShell to verify the AccountEnabled property and identify potential synchronization conflicts.

Hybrid environments rely on Azure AD Connect to sync on-premises Active Directory with Microsoft 365. Discrepancies often occur due to source-of-authority conflicts, scoping filters, or sync rule misconfigurations.

1
Connect to PowerShell

Open PowerShell as an Administrator and connect to your Microsoft Entra environment using the appropriate administrative credentials.

2
Run diagnostic command

Execute the command Get-AzureADUser -ObjectId <user sign-in name> | Select DisplayName,UserPrincipalName,AccountEnabled to check the exact status of the cloud account.

3
Compare account statuses

Compare the cloud account's AccountEnabled value with your on-premises Active Directory status to pinpoint source-of-authority conflicts.

4
Review Azure AD Connect

Open Azure AD Connect and review your synchronization rules and filtering scope to ensure active accounts are not being inadvertently filtered out or disabled during the sync cycle.

Check Account Status via PowerShell and Review Sync Rules
Diagnostics Collection: If you need to escalate the issue, collect screenshots of sign-in errors and your PowerShell outputs to share securely with Microsoft Support.
Free Microsoft Office alternative

Locked Out of Microsoft 365? Keep Working with WPS Office

When enterprise account synchronization issues lock you out of Microsoft 365 apps, you don't have to stop working. WPS Office provides a robust, lightweight, and completely free alternative to view, edit, and create your documents locally.

  1. 1. Download the software: Download and install WPS Office Free from the official website to your local machine.
  2. 2. Open your files: Launch WPS Office and open your existing Microsoft Office files stored on your local drive.
  3. 3. Work without cloud sign-in: Continue editing and saving your documents locally without worrying about locked Microsoft 365 cloud accounts.
Fully compatible with Microsoft Office formats including .docx, .xlsx, and .pptx.Work offline on your local device without needing cloud account authentication.Lightweight installation with an intuitive, familiar user interface.Seamless migration and built-in PDF editing tools for comprehensive document management.
microsoft office alternative - wps office

Frequently Asked Questions

Why are my Microsoft 365 accounts disabled while on-premises accounts are active?

This typically occurs due to Azure AD Connect synchronization issues, such as misconfigured scope filtering, source-of-authority conflicts, or automated security policies (like Conditional Access) that block cloud sign-ins due to perceived identity risks.

How can I check if a Microsoft 365 account is enabled using PowerShell?

You can verify the account status by running the command: Get-AzureADUser -ObjectId <user@domain.com> | Select AccountEnabled. If the result shows 'False', the cloud account has been disabled.

Will I lose access to my local files if my Microsoft 365 account is blocked?

No, files saved to your local hard drive remain intact. If your Office desktop apps require you to sign in to edit them, you can use a free alternative like WPS Office to open, edit, and save your documents without a cloud login.