Forum Discussion
Outlook Calendar not auto-accepting Bookings appointments
- Nov 09, 2022
We finally found a fix for this. Because of how long it takes for Exchange account updates to go through, I'm not completely sure which step fixed the issue.
For us the issue happened because of what people are calling "ghost delegates" in an account, where a previous delegate isn't being removed correctly. Note that we still have delegate access on the mailbox itself (which includes the calendar), but we have removed delegates from the calendar account itself (details in these steps):
- Remove all delegates from the Calendar itself, except for these two:
- In Powershell connect to Exchange online: `Connect-ExchangeOnline`
- Run `Get-Mailbox -Identity "[EMAIL]" | Get-MailboxPermission`
This will show any delegates you have on the mailbox itself. It's fine to keep these. - Run `Get-MailboxFolderPermission -Identity "[EMAIL]:\Calendar"`
This will show any calendar delegates you have on the mailbox itself. I think that this needs to just contain "Default" and "Anonymous". Even though we had "ghost delegates", they didn't show up here. - At this point, we created and cancelled a Bookings event. Only the cancellation message showed the following, which indicated that we must still have a "ghost delegate"
- Run `Remove-MailboxFolderPermission -Identity "[EMAIL]:\Calendar" -ResetDelegateUserCollection`
This cleans up the mailbox, and I believe it was this step that removed the "ghost delegate" - (optional) For some reason we didn't have "Anonymous" as one of the delegates, so we ran this as well:
`Add-MailboxFolderPermission -Identity "[EMAIL]:\Calendar" -User Anonymous -AccessRights None`
As a result of these changes, when a booking is created, it is now auto-accepted. And when it is cancelled, we no longer get the message about cancellation being "sent to your delegate(s)", so I hope these steps also help someone else.
- Remove all delegates from the Calendar itself, except for these two:
If this is the cause, is there a way to retain the "auto-accept", but still keeping the "read and manage" permissions for the mailbox?
- Kevin260Nov 09, 2022Copper Contributor
We finally found a fix for this. Because of how long it takes for Exchange account updates to go through, I'm not completely sure which step fixed the issue.
For us the issue happened because of what people are calling "ghost delegates" in an account, where a previous delegate isn't being removed correctly. Note that we still have delegate access on the mailbox itself (which includes the calendar), but we have removed delegates from the calendar account itself (details in these steps):
- Remove all delegates from the Calendar itself, except for these two:
- In Powershell connect to Exchange online: `Connect-ExchangeOnline`
- Run `Get-Mailbox -Identity "[EMAIL]" | Get-MailboxPermission`
This will show any delegates you have on the mailbox itself. It's fine to keep these. - Run `Get-MailboxFolderPermission -Identity "[EMAIL]:\Calendar"`
This will show any calendar delegates you have on the mailbox itself. I think that this needs to just contain "Default" and "Anonymous". Even though we had "ghost delegates", they didn't show up here. - At this point, we created and cancelled a Bookings event. Only the cancellation message showed the following, which indicated that we must still have a "ghost delegate"
- Run `Remove-MailboxFolderPermission -Identity "[EMAIL]:\Calendar" -ResetDelegateUserCollection`
This cleans up the mailbox, and I believe it was this step that removed the "ghost delegate" - (optional) For some reason we didn't have "Anonymous" as one of the delegates, so we ran this as well:
`Add-MailboxFolderPermission -Identity "[EMAIL]:\Calendar" -User Anonymous -AccessRights None`
As a result of these changes, when a booking is created, it is now auto-accepted. And when it is cancelled, we no longer get the message about cancellation being "sent to your delegate(s)", so I hope these steps also help someone else.
- Remove all delegates from the Calendar itself, except for these two: