Solved: How do I disable Azure AD active user account using block sign-in

Problem Symptom

What’s the command or the steps in Azure AD Portal to disable an active user account instead of deleting it just like checking the Account is disabled option in Windows Server on-premises. Follow the below steps to disable Azure AD active user account using block sign in setting in Azure Active Directory admin center and Microsoft 365 admin center.

Block sign in option in Azure Active Directory admin center

Step 1: Go to Azure Active Directory admin center.

Step 2: Click the Users option at the sidebar.

Click the Users option at the sidebar.

Step 3: Click on the user that you like to disable.

Click on the user that you like to disable.

Step 4: Click the Edit option located at the menu.

Click the Edit option located at the menu.

Step 5: Scroll down to locate Block sign in option in the Settings section.

Step 6: Toggle Block sign in option to Yes.

Toggle Block sign in option to Yes.

Step 7: Click on the Save button.

Block sign-in option in Microsoft 365 admin center

Step 1: Go to Microsoft 365 admin center.

Step 2: Expand the Users list and click on the Active users option.

Expand the Users list and click on the Active users option.

Step 3: Click on the user that you like to disable.

Click on the user that you like to disable.

Step 4: Click the Block sign-in button on the top of the properties.

Click the Block sign-in button on the top of the properties.

Step 5: Check for the Block this user from signing in option.

Check for the Block this user from signing in option. Click on the Save changes button.

Step 6: Click on the Save changes button.