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
- Install and import the module:
Install-Module -Name ExchangeOnlineManagement
Import-Module ExchangeOnlineManagement
- Connect to Exchange Online:
Connect-ExchangeOnline -UserPrincipalName navin@contoso.com -ShowProgress $true
- Set the calendar resource delegation:
Set-CalendarProcessing "FL ROOM1" -ResourceDelegates "John"
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.