Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Office 365 Calendar Permissions

Posted on 2015-01-28
8
193 Views
Last Modified: 2015-02-12
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
Comment
Question by:introlux
  • 4
  • 3
8 Comments
 
LVL 4

Expert Comment

by:Manoj Bojewar
ID: 40574906
Please confirm would you like to share all user calender info or full mailbox access to everyone?
0
 
LVL 40

Accepted Solution

by:
Vasil Michev (MVP) earned 500 total points
ID: 40575023
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
 

Author Comment

by:introlux
ID: 40575051
share all user calender info
0
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
LVL 40

Expert Comment

by:Vasil Michev (MVP)
ID: 40575144
So the above script should work for you.
0
 

Author Comment

by:introlux
ID: 40575186
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
 
LVL 40

Expert Comment

by:Vasil Michev (MVP)
ID: 40575237
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
 

Author Comment

by:introlux
ID: 40575247
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
 
LVL 40

Assisted Solution

by:Vasil Michev (MVP)
Vasil Michev (MVP) earned 500 total points
ID: 40575396
You will have to run it against new users.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Read this checklist to learn more about the 15 things you should never include in an email signature.
In-place Upgrading Dirsync to Azure AD Connect
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This video discusses moving either the default database or any database to a new volume.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question