Get in touch with us!

Calendar permissions

A question that always comes around is the central assigned permissions for mailboxes

For example a receptionist application is using a service account that needs read access to everyones calendar to
show what’s up with the users today. Some of the application suppliers just wants to give the account
Organization Management membership or global admin for those who run Office365

So what permissions do we want to assign? Well to show the users calendar information it would probably only need read access in the calendar within the mailbox.

Well that’s easy, run a command in powershell and you will add the correct permission.


Add-MailboxFolderPermission -User "domainmyserviceacc" -AccessRights Reviewer -Identity Anna:Calendar

Well that’s nice but, I’ve got 3000 mailboxes……

No worries. You can still use a simple powershell command.


$mailboxes = Get-Mailbox -Resultsize Unlimited

Foreach ($Mailbox in $allmailbox) {Set-mailboxfolderpermission –identity ($Mailbox.alias+':calendar’) –user Default –Accessrights Reviewer

But…

There is two caveats though. The first is that it is only applied for current existing mailboxes and the second is languages.
When a users logs on for the first time the mailbox is created and so is the calendar. The calendar is also created in the language
that the users choose (if logged on through OWA). This will break the powershell command above. A Swedish user calendar
is named Kalender and in Russian is named Календарь. This will make the command fail unless You specify the correct
name for the calendar for example anders.green:Kalender

So to avoid both of them we let this script run in Task Scheduler :


$mailboxes = Get-Mailbox -OrganizationalUnit altitude365.com/MyUserAccounts -ResultSize unlimited

$Permission = "Reviewer"

foreach ($mbx in $mailboxes) {

$CalendarName = (($mbx.SamAccountName)+ ":" + (Get-MailboxFolderStatistics -Identity $mbx.SamAccountName -FolderScope Calendar | Select-Object -First 1).Name)

Add-MailboxFolderPermission -User "domainsvc_account" -AccessRights $Permission -Identity $CalendarName

}

 

The AccessRights parameter can be specified with the following roles:

  • None   FolderVisible
  • Owner   CreateItems, ReadItems, CreateSubfolders, FolderOwner, FolderContact, FolderVisible,
    EditOwnedItems, EditAllItems, DeleteOwnedItems, DeleteAllItems
  • PublishingEditor   CreateItems, ReadItems, CreateSubfolders, FolderVisible, EditOwnedItems,
    EditAllItems, DeleteOwnedItems, DeleteAllItems
  • Editor   CreateItems, ReadItems, FolderVisible, EditOwnedItems, EditAllItems, DeleteOwnedItems,
    DeleteAllItems
  • PublishingAuthor   CreateItems, ReadItems, CreateSubfolders, FolderVisible, EditOwnedItems,
    DeleteOwnedItems
  • Author   CreateItems, ReadItems, FolderVisible, EditOwnedItems, DeleteOwnedItems
  • NonEditingAuthor   CreateItems, ReadItems, FolderVisible
  • Reviewer   ReadItems, FolderVisible
  • Contributor   CreateItems, FolderVisible

 

The following roles apply specifically to calendar folders:

  • AvailabilityOnly   View only availability data
  • LimitedDetails   View availability data with subject and location

 

 

 

 

Submit a Comment

Your email address will not be published. Required fields are marked *

Starkare tillsammans

Bolag inom både publik och offentlig sektor efterfrågar en alltmer kostnadseffektiv, platsoberoende och säker digital arbetsplats. Därför går nu Altitude 365 och Uclarity samman och bildar ett gemensamt specialistbolag.
Fortsätt på Altitude 365Kolla in Exobe

Altitude 365 + Uclarity – Årets Modern Work Partner!

Vinnaren är ett bra exempel på hur en “Born in the Cloud” ständigt förbättrar sitt erbjudande, arbetar nära och proaktivt med Microsoft för att hjälpa kunderna på deras digitaliseringsresa. Plus att vi på Microsoft verkligen ser fram mot den nya bolags-konstellationen (Altitude 365 + Uclarity) för ett “Starkare Tillsammans”.

Uclarity och Altitude 365 - Starkare tillsammans

Uclarity är specialister på digitala möten, telefoni, kontaktcenter och digitalt arbetssätt. Altitude 365 är specialister på säkerhet, mobilitet och hur bolag kan optimera resan till Microsoft365. Nu gör vi gemensam sak och bildar bolag tillsammans.

– Pandemin har tydliggjort behoven av en modern digital arbetsplats och vi har diskuterat ett samgående med Altitude 365 under en längre tid. Våra kunder har behov av specialistkompetens och tillsammans blir vi en ledande specialist inom Digital Workplace-området, säger Niklas Olsson Hellström, VD Uclarity AB.

Tommy Clark, Partner, Altitude 365, kommenterar:
– Inget bolag köper det andra utan båda bolagen får lika stora delar i det nya bolaget. Vår ledstjärna är att vi blir starkare tillsammans och att vi kan hjälpa våra kunder under hela deras resa.
Målet med sammanslagningen är att kunna hjälpa kunder med både teknik och effektiva arbetssätt.

– Det är då våra kunder får önskad effekt av sin investering i den digitala arbetsplatsen, säger Niklas Olsson Hellström.

Båda bolagen har svenska och internationella kunder från både privat och offentlig sektor. Sammanslagningen resulterar i en organisation på 50+ anställda baserade i Stockholm, Örebro och Göteborg.

För frågor, vänligen kontakta;
Tommy Clarke, Partner, Altitude 365 AB, 0703-593854, tommy.clarke@altitude365.com
Niklas Olsson Hellström, VD, Uclarity AB, 0734-198016, niklas.olsson@uclarity.com

Fortsätt på Altitude 365Kolla in Exobe