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
cawasakiAsked:
Who is Participating?
 
Will SzymkowskiSenior Solution ArchitectCommented:
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.
0
 
Miguel Angel Perez MuñozCommented:
You can not use a group to give permissions on public folders, must be done user per user.
0
 
Miguel Angel Perez MuñozCommented:
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
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
Spike99On-Site IT TechnicianCommented:
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).
0
 
cawasakiAuthor Commented:
hello miguel

no i can use group sorry, all my public folder are with group permission, but group with mail enabled
0
 
cawasakiAuthor Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.