Link to home
Create AccountLog in
Avatar of b1dupree
b1dupree

asked on

Exchange 2007 SP2 -- Change Public Folder Permissions

How can you change existing public folder permissions on Exchange 2007 SP2?  

I just need to have everyone be an editor for a particular folder.

Thanks.
Avatar of tomot
tomot

in Powershell:




Add-PublicFolderClientPermission -Identity "\Sales\North" -AccessRights PublishingEditor -User Tomas

Open in new window

Oh now I see that you want to grant permission to a group. In that case create a distribution group that you want to grant access to, for example "CompanyStaff" and use that as a value in the -User parameter (instead of "Tomas").
Avatar of b1dupree

ASKER

No I have a folder called "CompanyContacts" that I want to grant all users on the network PublishingEditor permissions.
Thanks.
OK, so you would create a Distribution Group that all users on your network will be members of and grant that permission to that group. So if your group's name would be  "AllUsersGroup" then the PS command would look like this:

Add-PublicFolderClientPermission -Identity "\CompanyContacts" -AccessRights PublishingEditor -User AllUsersGroup
I tried this with the distribution list that is automatically created in SBS for all domain users but it didn't work.  Users still can't delete contacts created by other users.
ASKER CERTIFIED SOLUTION
Avatar of tomot
tomot

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Getting the following error on that command.  The public folder is named "Big Master Contacts":

The command I'm using is this:
ReplaceUserPermissionOnPFRecursive.ps1 –TopPublicFolder "\Balloon Master Contacts" –Permissions PublishingEditor –User “BalllonInc”


Here's the error:

Get-PublicFolder : A parameter cannot be found that matches parameter name 'Mas
ter'.
At line:1 char:17
+ get-publicfolder  <<<< -identity \Balloon Master Contacts -Recurse -resultsize
 unlimited
It looks like the command is ignoring the quotes in "\Balloon Master Contacts".
Are copying the command from my comment or are you re-typing it? sometimes when you do a copy and paste, quotes get pasted wrong...
Try to use single quotes.
If that does not work, follow the instructions in the last paragraph on this page titled "Problems with AddUsersToPFRecursive.ps1":
http://technet.microsoft.com/en-us/library/aa998834%28EXCHG.80%29.aspx
That paragraph does address the same issue.  They suggested renaming the folder without any spaces.

So how do I rename a Public Folder in Exchange 2007?
In Exchange management Console go to "Toolbox" and in right pane, double-click on "Public Folder Management Conasole"
Expand "Default Public Folders", click on "Default Public Folders", and in the right pane you will see the list of your PFs. In the right pane, Right-click on the one you want to rename and click on "Properties" in the context menu. On "general" tab rename the PF.
 User generated image
So I was able to change the name of the Public Contact folder to remove the spaces and I was able to enter the command in the Exchange PowerShell to have everyone be a Publishing Editor without any errors but the users still cannot delete contacts (that they didn't create).  

This is the command I used:
ReplaceUserPermissionOnPFRecursive.ps1 –TopPublicFolder "\BalloonMasterContacts" –Permissions PublishingEditor –User “BalllonInc”

Do I need to restart the server?  Anything else I could be missing?

Thanks.
It turns out that logging into the Public Folder as an administrator I saw that the permissions were in fact changed to publishing editor but users still could not delete contacts--except the administrator.
So i changed the permissions to allow the default user owner permissions and then the other users were able to delete contacts.  Not sure why the publishing editor permissions did not allow for deletions but it works okay now.
Please see my notes.