Skip to main content

How to Delete a User in Microsoft 365

· 6 min read
Jagdish Kumawat
Founder @ Dewiride

Deleting a user in Microsoft 365 removes their account from your organization's active users. It isn't final straight away: for 30 days the account sits under Deleted users, where you can restore it.

The example is Sam Reed, a test account I created for this guide. I had already removed his license (How to Remove a License from a User in Microsoft 365), which changes the panel you'll see, as Step 2 explains.

Prerequisites​

Before You Delete​

From the same article:

  • You have 30 days to restore the account before the user's data is permanently deleted.
  • If you want to keep the user's email, BEFORE you delete the account, move the email to a different location.
  • If you want to keep the user's OneDrive data, move it to a different location. SharePoint files stay where they are.
  • If the account has email forwarding set up, or was converted to a shared mailbox, don't delete it: Those functions still need the account.

For someone leaving, Microsoft's former employee steps put the deletion last, after blocking sign-in and saving their data.

Step 1: Select Delete User​

In the Microsoft 365 admin center, go to Users → Active users and select the person's name. Their details open with Reset password, Block sign-in and Delete user under the name. Select Delete user:

Sam Reed's details pane with Reset password, Block sign-in and Delete user under his name, and Delete user outlined in red

Step 2: Confirm​

The panel asks Delete this user? and reminds you: You can restore deleted users, and recover their data except for calendar items and aliases, for up to 30 days. Select Delete user at the bottom of the panel:

The Delete this user? panel: Are you sure you want to delete Sam Reed as a user? You can restore deleted users, and recover their data except for calendar items and aliases, for up to 30 days., with the Delete user button outlined in red

Sam had no license left, so the panel had nothing else to ask. For a person who still has a license, Microsoft's article shows the same panel offering choices first: what to do with their license, and with their email and OneDrive, such as giving someone else access.

Step 3: Check the Result​

Sam Reed has been deleted, with the 30-day reminder again and a link to the deleted users list:

Sam Reed has been deleted, with a green tick, and the text You can restore deleted users, and recover their data except for calendar items and aliases, for up to 30 days from the deleted users list.

Select Close. Under Users → Deleted users, the account is listed with the date and time it was deleted:

The Deleted users page with Refresh and Export deleted users, and Sam Reed's row outlined in red, his username starting with a long code masked here as zeros, and Deleted on 11/24/2026, 7:51 AM

In this list, the username has a long code of letters and numbers in front of it, zeros in the picture. Microsoft's article doesn't describe it, but the Microsoft Entra admin center's own Deleted users list shows the username as it was, in an Original user principal name column. Selecting the account here offers to restore it, as Microsoft's article Restore a user in Microsoft 365 explains.

Common Mistakes​

MistakeWhat happensDo this instead
Deleting before saving the person's emailTheir email is lost after 30 daysMove it first, as Microsoft's article says
Deleting an account that forwards emailForwarding stopsKeep the account
Expecting the bill to go downYou still pay for the licenseReduce the subscription's quantity, or reuse the license
Deleting someone who is only on leaveThey lose their accountBlock sign-in instead (How to Block Sign-In for a User in Microsoft 365)

Troubleshooting​

SymptomLikely causeFix
User cannot be deleted. Please try again later.Microsoft's article: email forwarding, or a shared mailboxDon't delete it
The person still appears in the global address bookMicrosoft's article: your accounts sync from Active DirectoryDelete them in Active Directory

FAQ​

What happens to their license?​

It goes back to your pool for someone else, but you keep paying for it until you reduce the subscription's quantity, as Microsoft's article explains.

Can I restore the account?​

Yes, for 30 days, from Deleted users. After that, it's deleted for good.

Does deleting the user remove their overtime, tickets or other records in apps?​

Not by itself. Records that other apps keep, such as items in a SharePoint list, stay where they are.

Can I do this with PowerShell?​

Yes. Microsoft points to the Remove-MgUser cmdlet for deleting many users at the same time.

Conclusion​

Users → Active users → the person → Delete user, then Delete user again in the panel. The account moves to Deleted users, where you can restore it for 30 days.

Additional Resources​