Do you need to convert an Exchange universal distribution group to a mail-enabled universal security group? You’re in luck! Try it out:

In Active Directory Users and Computers, select the distribution group and go to properties.

On the General tab, under Group Type, select Security Group.

From the Exchange Management Shell, run the following command, substituting groupname for the actual name of the group. Use quotes around the group name if the name contains spaces: Set-Distributiongroup–identity groupname –MemberDepartRestriction Closed