Forum Discussion
How to manage a bookings site after the owner leaves the organization
Thomps_0 ,
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).
- MichaelOlivFeb 01, 2023Iron Contributor
Thanks. I missed that one :
Add-RecipientPermission -Identity <bookingmailbox@emailaddress> -Trustee <adminusers@emailaddress> -AccessRights SendAs -Confirm:$falseIn summary :
- Extract the list of all Bookings : get-mailbox -RecipientTypeDetails scheduling
- Add this permission : Add-MailboxPermission -Identity <bookingmailbox@emailaddress> -User <adminusers@emailaddress> -AccessRights FullAccess -Deny:$false -AutoMapping:$false
- Add this last permission : Add-RecipientPermission -Identity <bookingmailbox@emailaddress> -Trustee <adminusers@emailaddress> -AccessRights SendAs -Confirm:$false
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 } }
- MSCommunityFeb 02, 2023Copper Contributor
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.