Office 365 – Add Calendar Permission CLI

Last updated on March 26th, 2018 at 09:46 am

$O365Cred = Get-Credential
$O365Session = New-PSSession –ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $O365Cred -Authentication Basic -AllowRedirection
Set-ExecutionPolicy RemoteSigned -force
Import-PSSession $O365Session


Add-MailboxFolderPermission [email protected]_domain.com:\calendar -User [email protected]_domain.com -AccessRights Editor

Access Levels:


autor
editor
owner