Get-DistributionGroup "name" field

Efff dd 531 Reputation points

I created a new distro group using the web interface and then I verified it under PS i see the name field has extra characters in it.
why and how can i modify it. under the GAL the name looks correct.

Name DisplayName GroupType PrimarySmtpAddress
---- ---------- --------- ------------------
SOM OIS_NOT20210217131608 SOM OIS_NOT Universal SOMOIS_NOT@jaswant .com

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.
6,529 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Efff dd 531 Reputation points

    could anyone explain why this happened?

    0 comments No comments

  2. Andy David - MVP 121.2K Reputation points MVP

    Collision or duplicate entries... Things like that and Exchange will append a number to that object to prevent duplicates
    It can also happen if using AADConnect with UPNs and Proxies

    If you didnt add a samAccountName when you created the group, this can also occur:

    If that was the case here, you can always recreate it

    0 comments No comments

  3. Zhengqi Lou-MSFT 8,821 Reputation points Microsoft Employee

    Hi @Efff dd ,

    I think you could go ADUC and check this group, group name, e-mail address.
    Or doing it in EMS:

    Get-DistributionGroup DP1 | FL *Name*  

    Like Andy said, i think you don't have to worry about it as you could modify these parameters manually or recreate the group.

    Get-DistributionGroup DP1 | Foreach {Set-DistributionGroup $_.Name -SamAccountName $_.Name -DisplayName $_.Name}  


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.