O365郵箱添加日曆權限 (Exchange類似)


O365日曆默認顯示爲忙/閒時間

 其他用戶無法查看詳細情況或修改:

wKiom1m_Ng6D78HxAACR2Lzi_Tw330.jpg-wh_50

遇到一個case,用戶的祕書需要查看該用戶日曆,有時候也需要修改其日曆,但是祕書不敢麻煩該用戶打開權限給她。

於是,我們作爲IT,可以使用Powershell來爲祕書打開權限:

1. 使用管理員身份打開Windows PowerShell ISE

2. 運行如下命令以連接至Exchange Online

Set-ExecutionPolicy RemoteSigned

$LiveCred = Get-Credential

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri  https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic –AllowRedirection

Import-PSSession $Session

期間需要輸入O365的管理員賬戶和密碼。

wKioL1m_N5mi6hyXAABA0Bb7Dng045.jpg-wh_50

3. 使用Cmdlet:Get-MailboxFolderPermission -Identity [email protected]:\calendar  查看用戶的權限:

wKiom1m_OPvQ7jSiAAAzk9K1nFg816.jpg-wh_50

4. 使用 Add-MailboxFolderPermission [email protected]:\Calendar -User [email protected] –Acce***ights editor

新增User2有Editor權限訪問User1日曆



Cmdlet: 


Get-MailboxFolderPermission -Identity [email protected]:\calendar 查詢User1用戶的日曆權限


Add-MailboxFolderPermission [email protected]:\Calendar -User [email protected] –Acce***ights editor 增加User2訪問User1的日曆權限爲Editor


Set-MailboxFolderPermission -Identity [email protected]:\Calendar -User [email protected] -Acce***ights Reviewer 修改爲Reviewer權限。




發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章