Not sure if anyone has run into this one but I'm seeing a strange problem when I use the following cmdlet:
Add-MailboxFolderPermission -Identity $cal_userid':\Calendar' -user $owner -AccessRights owner
The cmdlet run's just fine as part of a larger script to create resource calendars for our users. What I'm trying to do is give the "$owner" of the resource permissions to go and and add additional owners, if they so desire, using outlook. So what they would do is go into outlook and add the calendar and then right click\properties and using the permissions tab add additional owners or any other permissions. However when they do this and click ok they get the follwoing error:
"An error occurred when setting schedule permissions. You don't have the appropriate permission to perform this operation."
Just to give a bit more information I can get this to work if I give FullAccess permissions to the user on the Mailbox but I really don't want to do that. No other combination of mailbox permissions seems to work unless FullAccess is granted.
Also, I as an admistrator (with FullAccess Rights) to that Mailbox go in through the GUI and grant owner rights instead of using the aboce cmdlet:
Add-MailboxFolderPermission -Identity $cal_userid':\Calendar' -user $owner -AccessRights owner
Everything seems to work great and the $owner can go in through the GUI themselves and now assign other users owner rights. So it seems to me that I'm missing something using the Add-MailboxFolderPermission cmdlet that the GUI is setting but for the life of me I can't seem to figure out what. Any ideas would be very appreciated!! and please let me know if anyone needs additional information.
Stew