How to Resolve Mailbox Identity Not Being Unique in PowerShell?

0
75
Asked By SillyPenguin87 On

Hey everyone! I'm running into an issue while using PowerShell to manage calendar settings and time zones. When I execute the `Get-MailboxCalendarConfiguration` command, I get an error stating that the specified mailbox identity "*1st-Name 2nd-Name*" isn't unique, even though I only have one staff member with that exact name. I've searched through O365, Active Directory, Teams, and even looked at shared mailboxes and groups, but I can't find any duplicate accounts under that name. Is there a command or method to list all instances of "*1st-Name 2nd-Name*" so I can identify if there's another account, team, or something else that's causing this issue? Thanks for any insights!

5 Answers

Answered By CodeWizard123 On

If you're working in a larger organization, consider using `Get-ExoRecipient` for quicker results. When running the `Get-MailboxCalendarConfiguration` cmdlet, try using the primary email address or UPN instead of the display name to avoid this error.

Answered By DataDude42 On

These days, it's best to use the GUID or full email for Exchange commands since names or aliases can easily lead to conflicts. Keep in mind that you can't change names in Exchange Online, so mismatches can be hard to resolve.

Answered By TechyGuru2021 On

You can start by using the `Get-Recipient` cmdlet, which should give you a list of objects with the exact display name. Just run `Get-Recipient "1st-Name 2nd-Name"` to find any duplicates. If you're in a hurry and need to access those mailboxes, try working with the GUID property—it'll simplify things a lot!

SillyPenguin87 -

Thanks, just that command helped! Extra thank you for the link.

Answered By CuriousCat99 On

Have you checked if there’s an archive mailbox involved? Sometimes that can cause these identity conflicts too.

Answered By LostInTech On

Glad you found your issue! Sometimes, there are universal or role-specific accounts (like `marketing` or `debtors`) that could be holding onto the display name. Running the command you mentioned and formatting the output with `| Format-List` might show the offending account more clearly.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.