Issue with Azure AD Connect synchronization for DistributionGroup SamAccountName

Occasional Visitor

Created new with DistributionGroup with Exchange Server 2016 CU21 using following command:

New-DistributionGroup -Name "bsHyb'G7564" -DisplayName "bsHyb.G7564" -SamAccountName "bsHyb-G7564" -PrimarySmtpAddress ""


Then have checked results by:

Get-DistributionGroup bsHyb* | select Name, DisplayName, SamAccountName, Alias, RecipientTypeDetails, PrimarySmtpAddress, Guid, LegacyExchangeDN

Name                          : bsHyb'G7564
DisplayName              : bsHyb.G7564
SamAccountName     : bsHyb-G7564
Alias                           : bsHyb_G7564
RecipientTypeDetails : MailUniversalDistributionGroup
PrimarySmtpAddress :
Guid                           : 73711cc8-ad1c-43cd-8747-d98095871f44
LegacyExchangeDN   : /o=SourceDomain org/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=34e7147922ad4366bfff6947c209d8a7-bsHyb'G

Issue that Azure AD Connect sync is auto-generating SamAccountName with o365 tenant:


Get-DistributionGroup bsHyb* | Format-Table -Auto Name,DisplayName,SamAccountName,mailNickname,Alias,GroupType,RecipientTypeDetails

Name : bsHyb'G7564

DisplayName :  bsHyb.G7564

SamAccountName :  $U1ME60-Q1PUBMRD1F98

mailNickname : 

Alias : bsHyb_G7564 

GroupType : Universal 

RecipientTypeDetails : MailUniversalDistributionGroup


How to sync SamAccountName?

0 Replies