Apr 08 2020 09:11 AM
I have done a bit of digging and cannot seem to find this anywhere, so I thought I would try here. I am looking to find out if there is a way to easily manage Bookings sites after a sole owner leaves the organization. I understand that these sites all have back-end mailboxes but I cannot find an easy way to add an owner through powershell or through the Bookings pages even as a Global Admin. Any help or insight would be great!
Apr 29 2020 06:09 PM
Jul 31 2020 06:42 AM
Jul 31 2020 08:18 AM
@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
Jul 31 2020 08:37 AM
@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'}
Jul 31 2020 09:01 AM
@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.
Mar 01 2021 09:48 AM
Mar 01 2021 10:01 AM
@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:
Jul 28 2021 07:38 AM
Feb 11 2022 10:29 AM
Feb 16 2022 02:03 AM
@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
Jan 27 2023 03:46 AM
Jan 30 2023 09:11 PM
Try adding a super user to a booking mailbox. Add staff to Bookings | Microsoft Learn
And then you can successfully delete a booking mailbox as superuser. (Remove-BookingMailbox -Identity SchoolAdmissionPortal2@testbookings22Dec.onmicrosoft.com)
You could also login to bookings UI and add other as staff as a superuser (this can be only done through UI or GRAPH).
Feb 01 2023 12:06 AM - edited Feb 01 2023 12:07 AM
Thanks. I missed that one :
Add-RecipientPermission -Identity <bookingmailbox@emailaddress> -Trustee <adminusers@emailaddress> -AccessRights SendAs -Confirm:$false
In summary :
And I create a little script to find booking without staff on it:
$AllBookingsMailbox = get-mailbox -RecipientTypeDetails scheduling
foreach ($BookingMailbox in $AllBookingsMailbox)
{
$Permissions = Get-MailboxPermission -Identity $BookingMailbox.Identity
$NbPermissions = $Permissions.Count
#If only 2 permissions that is the default ones
If ($NbPermissions -eq 2)
{
Get-MailboxPermission -Identity $BookingMailbox.Identity |Format-List
}
}
Feb 02 2023 12:09 PM
@SubhamKSinha I tried all that but when I try to apply any changes, they don't apply. I don't want to delete the site, I want to add someone else as admin. The only way I've been able to get close to what I want to do, is to make a copy of the site, and then everything works fine.