Setting Security on all Users Calendars with a Script
We want it to be manditory that all users in the organization shares their calendars as read-only to everyone. We have a script we found that sets permissions on the calendars and we run it nightly. Recently we've discovered that
new users Calendars are still unable to be read. I ran the script manually and it didn't error, it appeared to complete but it didn't change the permissions. Is there a better way to do this?
October 18th, 2011 3:15pm
You can add the permission setting to the new mailbox creation process.
As to why the script doesn't work, it's hard to say since you didn't post the script.Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
Free Windows Admin Tool Kit Click here and download it now
October 18th, 2011 5:44pm
Hello,
How about using the following script:
======================
$alias = Get-Mailbox |select alias
$Calendar=$alias+":\Calendar"
Add-MailboxFolderPermission -Identity $Calendar -User everyone -AccessRights Reviewer
=========================================================
Simon Wu
Exchange Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
contact tnmff@microsoft.com.
October 19th, 2011 4:34am
Hello,
How about using the following script:
======================
$alias = Get-Mailbox |select alias
$Calendar=$alias+":\Calendar"
Add-MailboxFolderPermission -Identity $Calendar -User everyone -AccessRights Reviewer
=========================================================
Simon Wu
Exchange Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
contact tnmff@microsoft.com.
Free Windows Admin Tool Kit Click here and download it now
October 19th, 2011 11:27am
The script I currently use is available here -->
http://gallery.technet.microsoft.com/ScriptCenter/19b98a56-42aa-4695-b07c-335d8322b64e/
October 19th, 2011 11:46am
Hello,
Can you check the calendar permission for the problematic user by running:
Get-MailboxFolderPermission -Identity
user@contoso.com:\calendar |FL
Thanks,
Simon
Free Windows Admin Tool Kit Click here and download it now
October 20th, 2011 4:09am
This is what I get back.
RunspaceId : 139e519f-c224-4d2d-9e9e-3c39b78539fe
FolderName : Calendar
User : Default
AccessRights : {None}
Identity : Default
IsValid : True
October 20th, 2011 9:38am
Hello,
How about manually running the following command:
Set-MailboxFolderPermission -Identity user@contoso.com:\calendar -User “Default” -AccessRights Reviewer
Simon Wu
Exchange Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
contact tnmff@microsoft.com.
Free Windows Admin Tool Kit Click here and download it now
October 20th, 2011 10:27pm
Hello,
Is there any update the on this thread?
Simon Wu
Exchange Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
contact tnmff@microsoft.com.
October 27th, 2011 10:36pm
No I ran that command and nothing changed.
Free Windows Admin Tool Kit Click here and download it now
October 27th, 2011 11:10pm
PFDavAdmin might be an option for you. You can configure calendars in bulk and I believe there may be scripting options.
October 28th, 2011 11:14am