Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 211
  • Last Modified:

Office 365 Calendar Permissions

I have the following code to give individual permissions:

Add-MailboxFolderPermission -Identity user1@domain.com:\calendar -user user2@domain.com -AccessRights Editor

Is there a way how we can add all mailboxes open to everyone?

Also a method to add this as default policy?

Thanks,

introlux
0
introlux
Asked:
introlux
  • 4
  • 3
2 Solutions
 
Manoj BojewarCommented:
Please confirm would you like to share all user calender info or full mailbox access to everyone?
0
 
Vasil Michev (MVP)Commented:
What exactly are you trying to do, make sure everyone can see everyone's details, or make sure that everyone can EDIT everyone's calendar items? I doubt you will really need the later, as it is a recipe for disaster. Here's an example on how to make sure everyone can see the details for events in other people calendars:

$calendars = Get-Mailbox -RecipientTypeDetails UserMailbox | Get-MailboxFolderStatistics | ? {$_.FolderType -eq "Calendar"} | select @{n="Identity"; e={$_.Identity.Replace("\",":\")}}

$calendars | % {Set-MailboxFolderPermission -Identity $_.Identity -User Default -AccessRights LimitedDetails}

Open in new window


If needed, adjust the permissions.
0
 
introluxAuthor Commented:
share all user calender info
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
Vasil Michev (MVP)Commented:
So the above script should work for you.
0
 
introluxAuthor Commented:
Will I need to always run this command for new users to have the changes applied?

Also I take it LimitedDetails is only to view, if we wanted to have reviewer rights, would you just replace LimitedDetails to Reviewer?

Thanks,

introlux
0
 
Vasil Michev (MVP)Commented:
Yes, you will need to adjust this for new users. The default permissions are "AvailabilityOnly", this will simply show that the user has a meeting but not any additional details. If you want, you can grant Reviewer/Editor rights as needed, but probably not a good idea to grant them on the "Default" user. Up to you of course.
0
 
introluxAuthor Commented:
OK - So that I understand, if I was to use Editor instead of LimitedDetails. Any new users that are created, will they also have this policy? or will I need this run each time a new user is added?
0
 
Vasil Michev (MVP)Commented:
You will have to run it against new users.
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now