Unable to Delete Duplicate Guest User in Exchange Admin Centre: Solved
In this article, we will discuss the issue of encountering a duplicate guest user in the Exchange Admin Centre and how to resolve it. Many organizations use Exchange Server for email and calendar services, and it's common to add guest users occasionally. However, if you come across a situation where a guest user is duplicated, it can be challenging to delete or manage them. We will cover the context of this issue, including key concepts and subtitles, and provide a step-by-step solution to help you resolve it.
Context: Duplicate Guest User in Exchange Admin Centre
When you add a guest user in the Exchange Admin Centre, the system creates a mailbox for that user. In some cases, a duplicate guest user may be created due to various reasons, such as user error, system glitch, or synchronization issues. Users may not be able to delete the duplicate guest mailbox using the Exchange Admin Centre because the "User not found" error appears, making it difficult to manage their email and calendar services.
Key Concepts:
- Exchange Admin Centre
- Guest Users
- Duplicate Mailboxes
- "User not found" error
- PowerShell
Resolution: Deleting Duplicate Guest Mailbox using PowerShell
The resolution for this issue involves using PowerShell to delete the duplicate guest mailbox. Follow these steps to resolve the issue:
- Open PowerShell with administrative privileges.
- Connect to Exchange Online by using the following command:
Connect-ExchangeOnline -UserPrincipalName@ .com -Credential (Get-Credential) Replace
with your admin username and with your domain name. - Find the duplicate guest mailboxes by using the following command:
Get-recipient -ResultSize unlimited |Where-Object {$*.RecipientType -eq "UserMailbox" -and $*.Name -eq "Guest User"}Replace "Guest User" with the name of the guest user you want to delete.
- Delete the duplicate guest mailbox by using the following command:
Remove-Mailbox -Identity "Guest User" -ForceReplace "Guest User" with the name of the guest user you want to delete.
Encountering a duplicate guest user in the Exchange Admin Centre can be frustrating and challenging. However, by using PowerShell, you can delete the duplicate guest mailbox. First, connect to Exchange Online using PowerShell, then find and delete the duplicate guest mailbox. By following the steps outlined in this article, you can resolve the issue of unable to delete a duplicate guest user in the Exchange Admin Centre.