{"id":1290,"date":"2016-03-08T15:24:00","date_gmt":"2016-03-08T21:24:00","guid":{"rendered":"http:\/\/it.thelibrarie.com\/weblog\/?p=1290"},"modified":"2016-03-08T15:24:00","modified_gmt":"2016-03-08T21:24:00","slug":"calendar-permissions-office365-powershell","status":"publish","type":"post","link":"https:\/\/it.thelibrarie.com\/weblog\/2016\/03\/calendar-permissions-office365-powershell\/","title":{"rendered":"Calendar Permissions Office365 Powershell"},"content":{"rendered":"<p>I needed to change permissions on who could access the CEO&#8217;s calendar as his personal assistant was going on a month-long vacation and the backup needed the same permissions.<\/p>\n<p><strong>Connect to your Office365 environment using Powershell<\/strong><br \/>\nOpen Powershell as an administrator<br \/>\n<code>$LiveCred = Get-Credential<\/code><br \/>\n<code>$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https:\/\/ps.outlook.com\/powershell\/ -Credential $LiveCred -Authentication Basic -AllowRedirection<\/code><br \/>\n<code>Import-PSSession $Session<\/code><br \/>\nLogin with an O365 admin account<\/p>\n<p><strong>List access on a specific account<\/strong><br \/>\n<code>Get-MailboxFolderPermission -Identity user1@domain.com:\\calendar<\/code><\/p>\n<p><strong>Add access to a specific user<\/strong><br \/>\n<code>Add-MailboxFolderPermission -Identity user1@domain.com:\\calendar -user user2@domain.com -AccessRights Editor<\/code><\/p>\n<p><strong>Remove access to a specific user<\/strong><br \/>\n<code>Remove-MailboxFolderPermission -Identity user1@domain.com:\\calendar -user user2@domain.com<\/code><\/p>\n<p><strong>Available Roles<\/strong><\/p>\n<blockquote><p>Owner<br \/>\nPublishingEditor<br \/>\nEditor<br \/>\nPublishingAuthor<br \/>\nAuthor<br \/>\nNonEditingAuthor<br \/>\nReviewer<br \/>\nContributor<br \/>\nAvailabilityOnly<br \/>\nLimitedDetails<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>I needed to change permissions on who could access the CEO&#8217;s calendar as his personal assistant was going on a month-long vacation and the backup needed the same permissions. Connect to your Office365 environment using Powershell Open Powershell as an administrator $LiveCred = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https:\/\/ps.outlook.com\/powershell\/ -Credential $LiveCred -Authentication Basic &hellip; <a href=\"https:\/\/it.thelibrarie.com\/weblog\/2016\/03\/calendar-permissions-office365-powershell\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Calendar Permissions Office365 Powershell<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-1290","post","type-post","status-publish","format-standard","hentry","category-microsoft"],"_links":{"self":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/1290","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/comments?post=1290"}],"version-history":[{"count":1,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/1290\/revisions"}],"predecessor-version":[{"id":1291,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/1290\/revisions\/1291"}],"wp:attachment":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/media?parent=1290"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/categories?post=1290"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/tags?post=1290"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}