Forum Discussion
Edward Lee
Apr 06, 2017Iron Contributor
How can I make all users calendar shared with all other users?
How can I make the calendar for all users in a particular group shared with all other users in that group? And, any time I add a new user to the all staff group, their calendar is automatically share...
Edward Lee
Iron Contributor
Can you elaborate? Thanks Dongjie!
Dongjie
Apr 06, 2017MVP
Hi Edward
Use the powershell loop statement to add each user's shared calendar permissions
reference:
foreach ($Mailbox in (Get-Mailbox -ResultSize Unlimited)) { Add-MailboxFolderPermission -identity "$($Mailbox.Name):\Kalender" -AccessRights LimitedDetails -User Default }
http://blog.powershell.no/2010/09/20/managing-calendar-permissions-in-exchange-server-2010/
https://technet.microsoft.com/en-us/library/ff522363.aspx?f=255&MSPPError=-2147217396
Hope to help you! thanks!
Use the powershell loop statement to add each user's shared calendar permissions
reference:
foreach ($Mailbox in (Get-Mailbox -ResultSize Unlimited)) { Add-MailboxFolderPermission -identity "$($Mailbox.Name):\Kalender" -AccessRights LimitedDetails -User Default }
http://blog.powershell.no/2010/09/20/managing-calendar-permissions-in-exchange-server-2010/
https://technet.microsoft.com/en-us/library/ff522363.aspx?f=255&MSPPError=-2147217396
Hope to help you! thanks!
- Edward LeeApr 11, 2017Iron Contributor
How can I apply permissions to a group, and then have that permission level automatically applied to new users that are added to that group?
- Brian ReidApr 17, 2017MVPYou need to run the full script on a schedule, say weekly, or you need to run just the main bit of the script, set-mailboxpermission, once you create a new user. There is no automation in Exchange Online around user creation
- Daniel KharmanApr 17, 2017Brass Contributor
This is correct, and frustrating to some extent. Yes, it's easy enough to schedule a script to reapply the permission at a defined interval, but it would be really nice if permissions updated dynamically when a new member is added to a security group that has been delegated access to an object.