Forum Discussion
Configuring Delegate access via PowerShell.
Is the following window configurable at all via PowerShell? lots of Googling brings up various options and none seem to work.
(this is in relation to the box below specifically)
Things I've noted:
Delegates set here are "ResourceDelegates" for the Get-CalendarProcessing output, but you can't use
Set-CalendarProcessing as it only works on resource mailboxes (Error : "ResourceDelegates can only be enabled on resource mailboxes.")
Under Get-MailboxFolderPermission user:\calendar you can also see the delegates setup, and with a SharingPermissionFlags of "Delegate, CanViewPrivateItems" (if set when adding them via the GUI above) but using Set-MailboxFolderPermission or Add-MailboxFolderPermission you can't seem to set those flags.
Anyone had any ideas? hooking into EWS perhaps?
It will be doable via PowerShell in few days, I cannot share more until the official documentation is posted. Until then, you can use EWS to manage them, there's a good module here: http://www.flobee.net/powershell-module-for-managing-exchange-2010-mailbox-delegates/
If using EWS seems to complicated, just wait a bit :)
9 Replies
It will be doable via PowerShell in few days, I cannot share more until the official documentation is posted. Until then, you can use EWS to manage them, there's a good module here: http://www.flobee.net/powershell-module-for-managing-exchange-2010-mailbox-delegates/
If using EWS seems to complicated, just wait a bit :)
- Ben HarrisBrass Contributor
Awesome thank you, can you let me know when it gets released?
Thanks
Ben.
It is already rolling out :)
Updated feature: Manage calendar delegate permissions in PowerShell MC129312 Stay Informed Published On : February 16, 2018 We’re improving the MailboxFolderPermission cmdlet. This feature began rolling out this week. This message is associated with Office 365 Roadmap ID: 26355. With this update, you can now manage calendar delegate permissions from the *-MailboxFolderPermission cmdlet.
https://technet.microsoft.com/library/dd298062%28v=exchg.160%29.aspx?f=255&MSPPError=-2147217396