question

j586-7834 avatar image
0 Votes"
j586-7834 asked j586-7834 answered

Can't delete calendar item

Hi,

I have one calendar event that I can't delete.

What I have tried:

  • Delete through Outlook, get error ''the client operation failed''

  • Delete through OWA --> can delete, but when refresh the page it comes back.

  • Delete using the search-mailbox powershell command (search-mailbox -identity <mailbox> -searchquery 'Subject:"Subject"' -Deletecontent)

  • Delete using the remove calendarevent powershell command (remove-calendarevents -identity <mailbox> -cancelorganizedmeetings -querystartdate "5/26/2021" -querywindowindays 1)

I can't open the calendar event, get the following error --> there is currently a problem opening item. this may be temporary, but if it happens again, you may need to restart outlook. the client operation failed

The irritating part is that always a calender event reminder pops up in outlook.

Can someone help me assist in this?
thanks in advance.

office-exchange-server-administrationoffice-outlook-itpro
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Did you ever solve this problem?

I have the exact same problem you describe and I have tried all the same things you did.

0 Votes 0 ·
AndyDavid avatar image
0 Votes"
AndyDavid answered
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

j586-7834 avatar image
0 Votes"
j586-7834 answered AndyDavid commented

Unfortunately that doesn't help.

All steps done, all the same result, exept step 6.
When step 6 is executed, the event will be removed from the local outlook client, when i have enabled cache mode.
However, that change never get synced with exchange, i still see the same event in OWA.
Even after doing step 6, my outlook profile keeps crashing, can't open my mailbox on any client anymore.

Correction, can open my outlook profile



· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Have you created a new Outlook profile? Is the item still there after that? (Check OWA again and try to delete it if so)

0 Votes 0 ·
AlexC-8264 avatar image
0 Votes"
AlexC-8264 answered

Hi,
maybe I missed this information, but:
- is this an appointment or a meeting (requested by invitation)?
- did you try outlook.exe /cleanreminders? (https://support.microsoft.com/en-us/office/command-line-switches-for-microsoft-office-products-079164cd-4ef5-4178-b235-441737deb3a6#ID0EAABAAA=Outlook)
- did you try to decline, if it is a meeting?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

ZhengqiLou-MSFT avatar image
0 Votes"
ZhengqiLou-MSFT answered ZhengqiLou-MSFT edited

Hi @j586-7834 ,

Could it be canceled by the organizer if it's a meeting event?
Does this issue only occur on specific user? If so, please try disable calendar repair and then try deleting the event.

 Set-Mailbox -Identity <mailbox> -CalendarRepairDisabled $true

In addition to the methods provided by Andy and AlexC, I think you could also try moving this problematic user to another database or import this mailbox to another account to test.

As you couldn't delete it on OWA, I suspect this could be a server side error or the mailbox itself.

Best regards,
Lou


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

j586-7834 avatar image
0 Votes"
j586-7834 answered

As it turns out, I am able to open the calendar event when I use cache mode.
I can also delete the calendar event from outlook, but that never gets synced to exchange, because it keeps present in OWA.

When I use exchange online, I'm not able to open the event at all.

Unfortunately I tried creating a new outlook profile, didn't work.
also tried outlook.exe /cleanreminders --> nothing changes


Set-Mailbox -Identity <mailbox> -CalendarRepairDisabled $true --> Unfortunately also no change

I just received a message that another user has the same problem, so I have two users with this problem.
I got this problem also on a test account of me, only by accepting the calendar invite that doesn't want to be removed from the fist user. (it's the same calendar event)

I'm currently looking how to calendar event flow has happened with the user.

If you need more info, feel free to ask.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

j586-7834 avatar image
0 Votes"
j586-7834 answered ZhengqiLou-MSFT commented

I have looked a little deeper into it and it looks like the meeting was created from a shared mailbox, and the users where invited.
However, when looking at the event in the shared mailbox, I see that it is an appointment with no members.

I used the following command to get more info about the calendar event: get-calendardiagnosticobjects -identity <mailbox> -subject "<subject>"

Below is the information about the calendar event of a particular user:
108877-calendar-event-user.jpg


Here is the information from the same calendar event now from the shared mailbox
108899-calendar-event-shared-mailbox.jpg

After doing this, I noticed that the event is deleted from the shared mailbox. I don't know if a user did this on coincidence. --> turns out the user deleted the event on the shared mailbox.





· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @j586-7834 ,

Will your own mailbox be OK after deleting this event from shared mailbox?

And this event is on the shared mailbox right?

If your issue has been resolved, you could mark an answer as Accepted, also your own answer could be Accepted as the BEST so we can close this thread.

If it still exists, please let me know and I will go on researching and testing about this:)

Best regards,
Lou

0 Votes 0 ·
j586-7834 avatar image
0 Votes"
j586-7834 answered j586-7834 commented

Hi @ZhengqiLou-MSFT

My own mailbox is not OK after deleting the event from shared mailbox.
The event is still visible in my and the users mailbox, and can't be deleted.

So yeah, the issue still exists.

· 11
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Does it still show up using mfmcapi?

0 Votes 0 ·

after using mfmcapi the event is still available in OWA.
When I use exchange online mode (without caching), I still see the event and the reminders.

0 Votes 0 ·

Hi @j586-7834 ,

I noticed the create time of this event is 3/16/2021, and last modified time 3/10/2021 with LogTriggerAction: Create, which is to say the event was created on 3/10/2021, and no changed has been made by now.

I think you could run the remove-calendarevents with -QueryStartDate 3/16/2021 to test.

Best regards,
Lou

0 Votes 0 ·
Show more comments
ZhengqiLou-MSFT avatar image
0 Votes"
ZhengqiLou-MSFT answered ZhengqiLou-MSFT edited

Hi @j586-7834 ,

Thanks for sharing those information.
I did a research about the error messages but unfortunately the document has been deleted:
2714118 Calendar items that are copied are missing in Exchange Server 2007

I tried to reproduce the issue but no luck, so I may give you some suggestions based on my knowledge.
1. As you said, you deleted this event from your shared mailbox. Could it be canceled by the host?
2. Are there any users using the third-party mail clients with your shared mailbox? Such as gmail or hotmail?
3. And could you see this event in your shared mailbox using MFCMAPI?

Hope that could work for us.

Best regards,
Lou
Do the suggestions above help? If the issue has been resolved, please click “Accept as answer” to mark the helpful reply as an answer, this will make answer searching in the forum easier and be beneficial to other community members as well.

If you are still stuck in this issue, please feel free to post your questions.

Regards,
Lou


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

j586-7834 avatar image
0 Votes"
j586-7834 answered ZhengqiLou-MSFT commented

Hi @ZhengqiLou-MSFT ,

See the answers to your questions below:

  1. As you said, you deleted this event from your shared mailbox. Could it be canceled by the host?

  • the event was created on the shared mailbox, and there it is deleted, I can't cancel the event, because I see the event only on the particular user where I can't even open the event.

  1. Are there any users using the third-party mail clients with your shared mailbox? Such as gmail or hotmail?

  • I don't know exactly, but it is certainly possible they have connected the shared mailbox on other devices such as mobile.

  1. And could you see this event in your shared mailbox using MFCMAPI?

  • Using MFCMAPI I can't see the calendar event, thats probably because the event was already deleted from the shared mailbox.


Is there a way to delete this particular calendar event from exchange, even bij powershell or some other script?

Thanks for all your help so far

Kind regards

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @j586-7834 ,

Good day.

Thank you for sharing these.

Is the meeting organizer the shared mailbox?

Also please try to remove the shared mailbox permission for the infected users and re-apply it.

Best regards,
Lou

0 Votes 0 ·

Hi @ZhengqiLou-MSFT ,

The meeting orginazor is indeed the shared mailbox.
I just removed the shared mailbox permisions, tried to remove the event, didn't work.
Re-apply the permisions and also tried to remove the event, also same result, didn't work.

Edit:

Tried it in Outlook online mode and OWA

0 Votes 0 ·

Hi @j586-7834 ,

It seems like the event is binded with this mailbox.
Please try using the search-mailbox cmdlet to search and delete the event:

 Search-Mailbox -Identity "Joe" -SearchQuery "Subject:Project Hamilton" -DeleteContent

For more details: https://docs.microsoft.com/en-us/powershell/module/exchange/search-mailbox?view=exchange-ps

If that does not work, then I think you could try to export the pst file and import to a test account to see if this event still exist or not.

Best regards,
Lou

0 Votes 0 ·
j586-7834 avatar image
0 Votes"
j586-7834 answered

Hi @MichelMoes-9709 ,

The mailbox that has this particular calendar event has been ended, that's why I didn't investigate the issue any further.
But I want to add the following comment, so you and mayby others, don't have to struggle this much as I did so far.

I don't know how, but for some reason I managed to get this particular calendar event in my test mailbox.
The only way I ended up doing, to get rid of this event, is the following: (Credits to @ZhengqiLou-MSFT)

  1. Export mailbox to PST

  2. Remove mailbox

  3. Create new mailbox

  4. import PST

This is the only method that seemed to work for my test mailbox.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.