Technical case study · Cloud administration

Cleaning up the Exchange Online address list

A controlled bulk change hid 25 Microsoft Bookings scheduling mailboxes from the Global Address List, with no failed changes or remaining visible scheduling mailboxes.

Exchange OnlinePowerShellMicrosoft Bookings

01 / The problem

Microsoft Bookings creates scheduling mailboxes that may appear in the organisation’s Global Address List (GAL). The task was to remove unnecessary scheduling entries from address lists without deleting mailboxes or changing ordinary user mailboxes.

02 / Scoping the change

I used Exchange Online PowerShell to identify recipients of type SchedulingMailbox and checked their existing address-list visibility. There were 25 visible scheduling mailboxes and one that was already hidden. I also exported a CSV audit of the recipients before making changes.

When the first CSV export encountered a permissions error in the working directory, I redirected the export to a writable location.

03 / Dry run and controlled execution

I targeted only scheduling mailboxes that were not already hidden. I ran the proposed change with -WhatIf first, reviewed the output, then applied the change to the same scoped set.

Illustrative command
Set-Mailbox -Identity $Mailbox `
  -HiddenFromAddressListsEnabled $true -WhatIf

The dry run was followed by the actual change and a fresh verification query. Hiding a mailbox is not the same as deleting it.

04 / Verifying the outcome

The execution summary recorded 25 successful changes and zero failures. A follow-up query found 26 hidden scheduling mailboxes in total, including the mailbox already hidden before the work, and no remaining visible scheduling mailboxes.

The verification was at the Exchange Online configuration level. Address book clients can take time to reflect changes, so immediate visibility in every Outlook client was not claimed.

Client names, account identifiers and confidential details have been omitted. This account is based on my support notes. Example commands are illustrative.

← All case studiesNext: Intune template deployment →