Forum Discussion
How to manage a bookings site after the owner leaves the organization
Thomps_0 Ken_VUB You add a new or additional admin to the Bookings site by giving them Full Access permissions to the Bookings mailbox and they can then open the site through the Bookings web app:
Add-MailboxPermission -Identity <BookingsMailbox> -User <BookingsSiteAdminUser> -AccessRights FullAccess -InheritanceType All
- LisaJo48Mar 01, 2021Iron ContributorKreera,
I am an Intermediate PowerShell User at best. This sounds like what I need to do. Can you walk me through it in a bit more detail and/or refer me to a blog where it does?
Thanks- Kreera_HouseMar 01, 2021Steel Contributor
LisaJo48 With Get-Mailbox you can obtain the full name of the Scheduling mailbox the Bookings site uses. Then you can assign Full Access permissions with the cmdlet I posted above. Here is more detailed info on this cmdlet:
- Thomps_0Jul 31, 2020Brass Contributor
Kreera_House I struggled with initially to find the bookings mailbox name. To find it, go to the Bookings Page and under "Share your page" you can see the email account name created for your site in the share URL. The issue I had is these accounts don't show up in ECP, and initially I didn't realize they were a specific RecipientTypeDetails value.
With that, you can also use this to get all your Bookings mailboxes:
Get-Mailbox -ResultSize Unlimited | Where {$_.RecipientTypeDetails -eq 'SchedulingMailbox'}- j0rt3g4Feb 11, 2022Copper Contributor
- SreerejiFeb 16, 2022
Microsoft
Thomps_0 - Looks like your query is already answered. Summarizing the steps.
1) get-mailbox -RecipientTypeDetails scheduling
to retrieve the list of Bookings Mailboxes
2) Add-MailboxPermission -Identity <BookingsMailbox> -User <BookingsSiteAdminUser> -AccessRights FullAccess -InheritanceType All
to add admin and provide Full access permission
- John_GJul 28, 2021Copper ContributorJust a heads up, RecipientTypeDetails is filterable,
Get-Mailbox -ResultSize Unlimited -Filter{RecipientTypeDetails -eq 'SchedulingMailbox'}
Will run faster than a where-object... 🙂 - Kreera_HouseJul 31, 2020Steel Contributor
Thomps_0 Right. With that you'll get a list of all of your Bookings sites in your tenant.
If you're looking for just an individual mailbox to find out whether it's forwarded to anyone or what its mailbox address is so that you can construct the URL of the published site, you can also use Get-Mailbox or Get-Recipient with the Business Name in quotations marks and pull the PrimarySmtpAddress or ForwardingSmtpAddress.
If you want to find out if there are other admins of the site, use Get-MailboxPermission.
It would be great if Bookings had its own set of PowerShell cmdlets to manage and retrieve information about Bookings sites, but some of the information is retrievable with standard Exchange PowerShell cmdlets.