A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.
Hi @Glenn Maxwell ,
1.You could run the following command to change the SamAccountName for distribution group:
Set-DistributionGroup -Identity <> -SamAccountName <>

2.You could run the following command to specify the SamAccountName when you create a new distribution group:
New-DistributionGroup -Name <> -SamAccountName <>

3.Please note: According to the Microsoft's official article, we could know the following information:
The SamAccountName parameter (also known as the pre-Windows 2000 user account or group name) specifies an object identifier that's compatible with older versions of Microsoft Windows client and server operating systems. The value can contain letters, numbers, spaces, periods (.), and the following characters: !, #, $, %, ^, &, -, _, {, }, and ~. The last character can't be a period. Unicode characters are allowed, but accented characters may generate collisions (for example, o and ö match). The maximum length is 20 characters.
For more information you could refer to: Set-DistributionGroup and New-DistributionGroup
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.