HomeAbout

Microsoft Booking - Remove Booking Page

By Denis Molodtsov
Published in Exchange Online
May 05, 2023
1 min read
Microsoft Booking - Remove Booking Page

Table Of Contents

01
Can't remove Microsoft Booking calendar from the Microsoft 365 admin center?
02
Remove Microsoft Booking calendar using PowerShell
03
Conclusion

Can’t remove Microsoft Booking calendar from the Microsoft 365 admin center?

Microsoft Bookings is a fantastic tool for small businesses and teams to manage their appointments.

If you played around with Microsoft Booking and created a few booking pages, You might have realized that there is no way to delete a booking page, even from the Microsoft 365 admin center.

  bookings

Each booking page is an Exchange mailbox behind the scenes. Perhaps, that’s why there is no way to delete it from the admin center.

At the time of writing it, the only way to remove a booking page is to use PowerShell.

Remove Microsoft Booking calendar using PowerShell

  1. Open PowerShell as an administrator.
  2. Uninstall the existing ExchangeOnlineManagement module (if any) by running the following command:
Uninstall-Module ExchangeOnlineManagement
  1. Install the ExchangeOnlineManagement module (version 3.1.0) by running the following command:
Install-Module ExchangeOnlineManagement -RequiredVersion 3.1.0 -Force
  1. Import the ExchangeOnlineManagement module by running the following command:
Import-Module ExchangeOnlineManagement
  1. Connect to Exchange Online PowerShell with your admin credentials by running the following command: Replace ”admin@example.com” with your Exchange Online admin or Global M365 admin email.
Connect-ExchangeOnline -UserPrincipalName admin@example.com
  1. Retrieve a mailbox with the specified display name filter and store it in the variable $mailbox by running the following commands:
$mailbox = Get-ExoMailbox -ResultSize Unlimited -Filter "DisplayName -like 'My test Booking Page*'"
  1. Verify the mailboxes that will be deleted. Run the following commands to display the mailbox information in the console:
Write-Host $mailbox
  1. After verifying the mailboxes to be deleted, uncomment the following lines by removing the ’#’ symbol at the beginning of each line, and then run the commands to remove the mailboxes:
Remove-Mailbox -Identity $mailbox.Id

Remember to replace ”admin@example.com” with the email address of your Exchange Online admin or Global M365 admin.

Conclusion

In this article, you learned how to remove a Microsoft Booking calendar using PowerShell.


Tags

ExchangeBookingPowerShellExchange OnlineMicrosoft 365Microsoft Booking

Share

Previous Article
How Canvas Apps Use Clipboard to Copy Controls
Denis Molodtsov

Denis Molodtsov

Microsoft 365 Architect

Related Posts

Run PnP PowerShell from Azure Automation
Run PnP PowerShell from Azure Automation
June 13, 2024
3 min

Quick Links

About

Social Media