Fix Meeting Room Subjects (Office 365 - PowerShell)

Updated October 25, 2026

By default, Microsoft 365 and Exchange replace the subject of each meeting in a room mailbox with the organizer's name. The display shows that name. Most organizations change this setting so the display shows the meeting subject.

For more about this setting, read Display shows organizer’s name instead of subject.

Our free PowerShell utility can also fix subjects, and it sets up room mailboxes and room lists.

Before you start

You need an account with the Exchange Administrator or Global Administrator role. You can't make this change while signed in as the room mailbox.

  1. Install PowerShell 7.6 or later. Windows PowerShell 5.1 also works.
  2. Install the Exchange Online module: Install-Module -Name ExchangeOnlineManagement

Module version 3.10.0 and later need PowerShell 7.6 or later. Microsoft lists the requirements.

Fix subjects for all room mailboxes

  1. Open PowerShell.
  2. Run the script below.
  3. Sign in with your admin account when Microsoft asks. Multi-factor authentication works.
Connect-ExchangeOnline
Get-Mailbox -RecipientTypeDetails RoomMailbox | Set-CalendarProcessing -AddOrganizerToSubject $false -DeleteSubject $false -DeleteComments $false -RemovePrivateProperty $false
Get-Mailbox -RecipientTypeDetails RoomMailbox | Get-CalendarProcessing | fl
Read-Host -Prompt "Press Enter to Continue"

The last command lists the settings of each room mailbox. Check that AddOrganizerToSubject is False and DeleteSubject is False.

Fix subjects for one room mailbox

  1. Replace ResourceMailboxUPN@yourdomain.com with the email address of the room.
  2. Run the script below, then sign in with your admin account.
Connect-ExchangeOnline
$resource = "ResourceMailboxUPN@yourdomain.com";
Get-Mailbox -RecipientTypeDetails RoomMailbox -Identity $resource | Set-CalendarProcessing -AddOrganizerToSubject $false -DeleteSubject $false -DeleteComments $false -RemovePrivateProperty $false
Get-Mailbox -RecipientTypeDetails RoomMailbox -Identity $resource | Get-CalendarProcessing | fl
Read-Host -Prompt "Press Enter to Continue"

What the script changes

  • -AddOrganizerToSubject $false: the room keeps the meeting subject.
  • -DeleteSubject $false: the room doesn't delete the subject.
  • -DeleteComments $false: the room keeps the text in the body of the meeting request.
  • -RemovePrivateProperty $false: private meetings stay private.

The change applies only to meetings booked after you run the script. Meetings already on the room calendar keep the organizer's name.

Source: Set-CalendarProcessing on Microsoft Learn.