unable to create unified group

Glenn Maxwell 12,001 Reputation points
2025-01-03T04:12:52.3433333+00:00

Hi all,

I am trying to create a unified group in PowerShell using the New-UnifiedGroup cmdlet, but I am encountering the error below:

Write-ErrorMessage : |Microsoft.Exchange.Configuration.ObjectModel.ProxyAddressExistsException|The proxy address "SMTP:ug1@contoso.com" is already being used by the proxy addresses or LegacyExchangeDN or 
UserPrincipalName of "UG1". Please choose another proxy address.

I checked the Exchange Admin Center (shared mailboxes, distribution lists, dynamic distribution lists, and mail-enabled security groups), but I could not find this address. It might be an additional email address. Can someone guide me on how to trace this?

Microsoft Exchange Online
Exchange Server
Exchange Server
A family of Microsoft client/server messaging and collaboration software.
1,400 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,683 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,747 questions
Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
2,192 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Jake Zhang-MSFT 8,010 Reputation points Microsoft Vendor
    2025-01-03T05:42:41.54+00:00

    Hi @Glenn Maxwell ,

    Welcome to the Microsoft Q&A platform!

    Based on your description, you are dealing with a proxy address conflict. This can happen if the SMTP address is already in use by another mail-enabled object in your organization. Here are some steps you can take to track down and resolve this issue:

    1. Connect to Exchange Online PowerShell:
    Connect-ExchangeOnline -UserPrincipalName <your UPN>
    
    1. Run the following command to list all mail recipients using the conflicting SMTP address:
    Get-EXORecipient -ResultSize Unlimited | Where-Object {$_.EmailAddresses -match "SMTP:ug1@contoso.com"} | fl Name, RecipientType, EmailAddresses
    
    1. If you don't know the exact SMTP address, you can search for a partial match:
    Get-EXORecipient -ResultSize Unlimited | Where-Object {$_.EmailAddresses -match "ug1@contoso.com"} | fl Name, RecipientType, EmailAddresses
    
    1. Once you identify the object causing the conflict, you can remove or change the conflicting proxy address. For example, if the object is a mail-enabled public folder, you can disable it using the following command:
    Get-MailPublicFolder -ResultSize Unlimited | Where-Object {$_.EmailAddresses -match "SMTP:ug1@contoso.com"} | Disable-MailPublicFolder
    

    Please feel free to contact me for any updates. And if this helps, don't forget to mark it as an answer.

    Best,

    Jake Zhang


  2. Kavya 0 Reputation points
    2025-01-03T10:51:10.7033333+00:00

    You can use this PowerShell script to find all the primary addresses and alias addresses in your organization. https://m365scripts.com/exchange-online/get-all-office-365-email-address-and-alias-using-powershell/

    After generating the report, you can check whether the specific address is already in use.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.