Account Locked & Blocked

Fix Disabled Active Directory Users Still Signing In to Microsoft 365

Jason MillerJason Miller Nov 25, 2026 868 views

Question details

Determine how to prevent a disabled on-premises Active Directory user from signing in to Microsoft 365 while handling synchronization appropriately.

Fix Disabled Active Directory Users Still Signing In to Microsoft 365
Product
Microsoft Entra Connect and Microsoft 365
Device & OS
not provided
Scenario
An administrator disables a user in on-premises Active Directory and expects Microsoft 365 sign-in to be blocked.
Observed behavior
Disabling the on-premises user does not always appear to prevent Microsoft 365 sign-in.
Before you start

Identify the affected user and confirm that the account is synchronized from on-premises Active Directory. You will need appropriate Active Directory and Microsoft Entra administrative permissions, plus access to the Entra Connect server.

Solution 1Recommended

Verify and synchronize the disabled account state

Use this approach when the user should remain synchronized but be blocked from signing in.

A synchronized user can remain in Microsoft Entra ID while its disabled state is reflected in the cloud. Review custom synchronization rules if the expected state is not applied.

1
Check the on-premises account

Open Active Directory Users and Computers, find the user, and confirm that the account is disabled. Alternatively, run Get-ADUser -Identity <username> -Properties Enabled in Active Directory PowerShell and check the Enabled value.

2
Run a synchronization cycle

On the Microsoft Entra Connect server, open PowerShell and run Start-ADSyncSyncCycle -PolicyType Delta. Allow the cycle to finish before checking the cloud account.

3
Verify the cloud state

In the Microsoft Entra admin center, go to Identity > Users > All users, select the user, and check the account status and synchronization details. Use Monitoring & health > Sign-in logs to investigate recent sign-in activity.

4
Investigate sync errors and rules

On the Entra Connect server, open Synchronization Service Manager and review the Operations tab for errors. If the state is still incorrect, use Synchronization Rules Editor to review any custom rules that affect the user, and consult Microsoft documentation before changing them.

5
Revoke existing sessions if needed

In the Microsoft Entra admin center, open the affected user's page and select Revoke sessions when immediate access removal is needed. Existing access tokens can remain valid until they expire or are otherwise invalidated, so verify access separately.

Verify and synchronize the disabled account state
Keep blocking separate from exclusion: Excluding a user from synchronization is not the same as blocking sign-in. A filtering change can cause the cloud user to be deleted and affect associated services, so review Microsoft's documented filtering and deletion behavior before changing scope.
Free Microsoft Office alternative

Work with Office files using WPS Office

WPS Office is a free, lightweight Office alternative with a familiar interface and compatibility with common Microsoft Office formats, making it easy to move everyday document work. It does not manage Microsoft Entra accounts or fix synchronization.

Open and edit Microsoft Word, Excel, and PowerPoint formats, including DOCX, XLSX, and PPTXUse a familiar interface for everyday documents, spreadsheets, and presentationsKeep working with Office files while administrators investigate Microsoft 365 account access
microsoft office alternative - wps office

Frequently Asked Questions

Does disabling an Active Directory user remove it from Microsoft 365?

Not normally. The user can remain synchronized while its disabled state is reflected in Microsoft Entra ID. Check the user under Identity > Users > All users after synchronization completes.

How can I trigger synchronization after disabling a user?

On the Microsoft Entra Connect server, open PowerShell and run Start-ADSyncSyncCycle -PolicyType Delta. Then check Synchronization Service Manager for the cycle result.

Why might a disabled user still have access?

The disabled state may not have synchronized yet, a sync error or custom rule may be involved, or an existing access token may still be valid. Check Synchronization Service Manager and Microsoft Entra sign-in logs, and revoke the user's sessions if needed.

Should I exclude the disabled user from synchronization?

Only if removing the user from synchronization is the intended outcome. A filtering change can delete the cloud user and affect associated services; review Microsoft's filtering and deletion documentation before changing the scope.