could anyone explain why this happened?
Get-DistributionGroup "name" field

hello
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
3 answers
Sort by: Most helpful
-
-
Andy David - MVP 121.2K Reputation points MVP
2021-02-17T21:22:01.437+00:00 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
https://learn.microsoft.com/en-us/troubleshoot/azure/active-directory/number-add-username-email-addresIf 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
-
Zhengqi Lou-MSFT 8,821 Reputation points Microsoft Employee
2021-02-18T01:47:51.36+00:00 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}
Regards
Lou
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.