How to remove a resource delegate in Exchange 2007
Hi,
I have added a delegate for a room mailbox and now i am trying to remove it from the delegates list of the resource mailbox using Exchange Management Shell.
Set-MailboxCalendarSettings-Identity ConferenceRoom -ResourceDelegates <delegates>
The problem i encounter is that the ResourceDelegates parameter donc accept a null value so i cannot remove the user account from this list.
Any idea to solve the problem?
Many thanks
September 4th, 2007 3:59pm
hi,
I found this
"When the Set-MailboxCalendarSettings cmdlet is run to re-apply/add delegates for a resource calendar the original delegate's permissions are removed. The delegate is still displayed when running the Get-MailboxCalendarSettings cmdlet however if you look at the permissions on the resource calendar, the delegates permissions have been removed. To re-grant permissions on the resource calendar you must run a "Set-MailboxCalendarSettings resource_alias -ResourceDelegatesnull" command. Afterwards you can re-grant permissions to the intended user. Until SP1 is released, I would recommend running this command before making any changes to resource delegates."
source : http://knicksmith.blogspot.com/2007_05_01_archive.html
Free Windows Admin Tool Kit Click here and download it now
October 8th, 2007 11:26am
$null parameter can be used to remove all delegates for mailbox:
Set-MailboxCalendarSettings -Identity ConferenceRoom -ResourceDelegates $null
August 31st, 2011 4:08pm