We help IT Professionals succeed at work.

public folder: add permission to a security group

hello,

i have public folder on exchange 2013.

i need to add permission for one security group to a specific public folder, but its not work with this command:

Add-PublicFolderClientPermission -Identity "\publicfoldername" -user "securitygroup" -AccessRights author

and i have this error:

The user "securitygroup" is either not valid SMTP address, or there is no matching information.

any solution plz?

thanks
Comment
Watch Question

You can not use a group to give permissions on public folders, must be done user per user.
Plus, can try adding using AddUsersToPFRecursive.ps1 script, to add users contained on a group. But changing group members causes public folders permissions not be refreshed: http://khurramullah.blogspot.com.es/2009/04/powershell-command-for-public-folder_30.html
Spike99On-Site IT Technician

Commented:
Is that group a distribution list with a valid SMTP address?   If it is, I think you need to use the Exchange alias for the group and not the actual group name (if they differ).

Author

Commented:
hello miguel

no i can use group sorry, all my public folder are with group permission, but group with mail enabled
Senior Solution Architect
Most Valuable Expert 2015
Top Expert 2015
Commented:
You can use Mail-Enabled Security Groups to assign permissions to public folders. See screenshot below.
secperm.JPG
and i have this error:

The user "securitygroup" is either not valid SMTP address, or there is no matching information

Also based on the error above you are probbaly not using a "Universal Mail-Enabled Security Group" which is why you are getting the error message. I have a screenshot of the test group from Active Directory.
secperm2.JPG
Once you have the proper group it will work for you. If you want to use the same group you will need to change it to Universal and Mail-Enabled.

Will.

Author

Commented:
thanks