Hello,
I'm trying to find some sort of documentation to see if its possibly to apply " Email Address policies" on a Distribution or Security group?
Thanks,
Hello,
I'm trying to find some sort of documentation to see if its possibly to apply " Email Address policies" on a Distribution or Security group?
Thanks,
https://docs.microsoft.com/en-us/powershell/module/exchange/new-emailaddresspolicy?view=exchange-ps

Ex:
New-EmailAddressPolicy -Name "Groups Only" -IncludedRecipients MailGroups
If this is a security only group, then no, since Email Address Policies would not be valid in that case.
Thanks but when i try to access the security group that i created in AD i can't find it in EAC...what am I doing wrong? I know i can select all the users but I just want to apply the policy to a specific Security Group that I created in AD. Thanks for your help.
Hi @Safs-3080 ,
The security group you created in AD is not mail-enabled.
For example, the SG is a security group I created with EAC while SG2 was created in AD.
The SG2 has no mailbox attributes, neither mail address nor database path.
But it could also be a member of the admin role group:
Note: SG & SG3 are universal security groups but SG2 was a global security group. SG2 couldn't be a member of the admin role group.
Best regards,
Lou
Thanks for help but can you clarify your last statement.
"If this is a security only group, then no, since Email Address Policies would not be valid in that case"
Are you saying that applying email address policy to a security group is not possible? Am I reading it correctly? If I'm not mistaken you had mentioned in your initial response to my question that it was possible to apply email address policy to a security/distribution group?
anonymous userDavid thanks for the help... do you know of any documentation that stats that we can only apply an email address policy to a "mail-enabled" security/distribution group.
By definition, Email Address policies only apply to mail-enabled objects. An email address policy would not be valid if its not mail-enabled since there is no email address associated with the object
Email address policies define the rules that create email addresses for recipients in your Exchange organization
.
Hi @Safs-3080 ,
As Andy said, it is a yes:
For a mail enabled security group:
Email options for mail-enabled security groups
For a distribution group:
Email options for distribution groups
The mail-enabled security group, you could consider it as a distribution group but could be a member of admin role groups to give them permission.
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.
anonymous userDavid
Ok, so I just created a Mail-enabled security group in EAC, named it Emailaddresstest2. Added a user as the owner, added a user a member.
Verified that I'm able to view the security group in AD but when i try to create and Email Policy and Specify the types: I select mail enabled groups and select "Add a rule" and try to find and locate that group that i created, I can't find it.
Hi @Safs-3080 ,
Agree with Andy.
And if you want to apply this email address policy to the specific group, you could run the following command to set the customattribute1 for this group, then add the rule in email address policy.
Set-DistributionGroup -Identity <> -CustomAttribute1 <>

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.
Hi @Safs-3080 ,
I am writing here to confirm with you how thing going now?
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.
7 people are following this question.