Share via

mail enabled security group

Glenn Maxwell 13,761 Reputation points
2021-05-10T18:04:42.493+00:00

Hi All i am using exchange 2016 hybrid environment. i want to create mail enabled security group in exchange onprem. experts guide me how to create mail enabled security group from exchange onprem powershell module. i use the below syntax for DL not sure of mail enabled security group.

New-DistributionGroup -Name "Test Group1" -Alias "Test.Group1" -DisplayName "Test Group1" -SamAccountName "Test Group1"

Exchange Online
Exchange Online

A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.

Exchange | Exchange Server | Management
Exchange | Exchange Server | Management

The administration and maintenance of Microsoft Exchange Server to ensure secure, reliable, and efficient email and collaboration services across an organization.

0 comments No comments

Answer accepted by question author

KyleXu-MSFT 26,406 Reputation points
2021-05-11T02:50:31.783+00:00

@Glenn Maxwell

Add "-Type Security" to your command:
95435-qa-kyle-10-48-27.png


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.

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Glenn Maxwell 13,761 Reputation points
    2021-05-12T08:07:25.113+00:00

    is the below syntax correct

    New-DistributionGroup -Type Security -Name "Test Group2" -Alias "Test.Group2" -DisplayName "Test Group2" -SamAccountName "Test Group2"

    Was this answer helpful?


Your answer

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