Articles on: Common Questions

Configuring an Office 365 Service User with access to all Room Resource Mailboxes (PowerShell)

In a scenario where you are managing a large number of resource mailboxes, you may not want to assign delegation privileges on a mailbox by mailbox basis.

For Office 365 and Exchange environments, you can easily create a service user who has access to all Room Resource mailboxes on your tenant in just 2 lines of PowerShell.

PowerShell



Connect-ExchangeOnline -ShowBanner:$false -Device  

New-ManagementScope -Name "RoomMailboxes" -RecipientRestrictionFilter {RecipientTypeDetails -eq "RoomMailbox"}


The first line connects to Exchange Online as your service user.

The second line creates a named Management scope for your service user to manage Room mailboxes. Note: Equipment mailboxes and workspace mailboxes will not be managed by this rule.


You can read more here:

https://learn.microsoft.com/en-us/exchange/client-developer/exchange-web-services/how-to-configure-impersonation#to-configure-impersonation-for-all-users-in-an-organization

Updated on: 27/02/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!