Setting up delegation using PowerShell

As an administrator, you can run the following PowerShell commands to add delegation permissions for a conference room:

Set the execution policy:

Set-ExecutionPolicy -ExecutionPolicy unrestricted

../_images/entrust14.png
Install and import the module:

Install-Module -Name ExchangeOnlineManagement

Import-Module ExchangeOnlineManagement

../_images/entrust15.png
Connect to Exchange Online:

Connect-ExchangeOnline -UserPrincipalName navin@contoso.com -ShowProgress $true

../_images/entrust16.png
Set the calendar resource delegation:

Set-CalendarProcessing "FL ROOM1" -ResourceDelegates "John"

../_images/entrust17.png

Note: Replace “navin@contoso.com” with your tenant’s admin account, “FL ROOM1” with the name of your created conference room, and “John” with the display name of the user to whom you want to delegate permissions.

click back