locked
I need to remove a Calendar item (appointment) from all mailboxes RRS feed

  • Question

  • Hello,

    I need to remove a Calendar item (recurring appointment) from all mailboxes in organization. User which created this appointment already removed it from Calendar, but it still appears in other users Calendars.

    What is the best solution for Exchange 2010 SP1?

     

    Thank You.

    Monday, February 6, 2012 7:57 AM

Answers

All replies

  • Hi,

    Unfortunately there is no powershell cmdlet available to do this. What you could try is to remove the items individually from the ECP as a Exchange Organization Administrator.

    Otherwise you could call the .net object of the mailbox and then the appointment object to remove the item. See http://msdn.microsoft.com/en-us/library/microsoft.exchange.webservices.data.appointment%28v=exchg.80%29.aspx for more info.

     

    Unfortunately i have never done this before. Normally if the initiator of a meeting removes the original/first meeting of the recurrence schedule Outlook asks if you want to send an update to all invites.

    Good luck and keep me posted about your adventure ;).


    Technical Consultant Exchange | MCP, MCSA, MCSE, MCTS, MCITP | Blog: http://www.reinhard-online.nl | Follow me on twitter: correinhard
    • Proposed as answer by Jackzhou_5 Tuesday, February 7, 2012 8:02 AM
    • Unproposed as answer by Jackzhou_5 Wednesday, February 8, 2012 2:36 AM
    Monday, February 6, 2012 8:34 AM
  • You can use MFCMAPI Tool to remove the calendar.
    http://mfcmapi.codeplex.com/  

    Gulab Prasad,
    MCITP: Exchange Server 2010 | MCITP: Exchange Server 2007
    MCITP: Lync Server 2010 | MCITP: Windows Server 2008
    My Blog | Z-Hire Employee Provisioning App
    Skype: Exchange.Ranger

    • Proposed as answer by Jackzhou_5 Tuesday, February 7, 2012 8:02 AM
    • Marked as answer by Jackzhou_5 Monday, March 5, 2012 2:04 AM
    Monday, February 6, 2012 9:04 AM
  • Hi,

    Please try to use Exmerge for exchange 2010 and go to advance option. There you can able to delete the message....


    Exchange Queries
    Monday, February 6, 2012 10:39 AM
  • @Exchange Queries- Exmerge don't work on 2010

    Gulab Prasad,
    MCITP: Exchange Server 2010 | MCITP: Exchange Server 2007
    MCITP: Lync Server 2010 | MCITP: Windows Server 2008
    My Blog | Z-Hire Employee Provisioning App
    Skype: Exchange.Ranger

    Monday, February 6, 2012 10:41 AM
  • Removed with MFCMAPI. Will check if it is resolved a problem.

    1. Run MFCMAPI
    2. Go to Session, Logon and Display Store Table
    3. Select your profile
    4. Select Mailbox
    5. Expand “Root Container”
    6. Right click “Reminders” and select “Open Contents Table”
    7. New Window Launches with Title Reminders
    8. Find the corrupt reminder(s) then right click and select “Delete Message”
    9. Close MFCMAPI
    • Edited by AMindaugas Monday, February 6, 2012 10:56 AM
    Monday, February 6, 2012 10:53 AM
  • I think you can use search-mailbox cmdlet to achieve your goal:

    1. Assign Mailbox Export Import role to the admin account.(new-managementroleassignment -User administrator -Role "Mailbox Impoer Export")
    2. Provide admin account full access permission to the mailboxes
    3. Search-Mailbox -Identity "username" -SearchQuery 'Subject:"appointment subject" -DeleteContent

    http://technet.microsoft.com/en-us/library/dd298173.aspx

    http://blogs.technet.com/b/exchange/archive/2010/10/27/3411398.aspx


    Jack Zhou

    • Marked as answer by Jackzhou_5 Monday, March 5, 2012 2:05 AM
    Wednesday, February 8, 2012 8:42 AM
  • Yes I did that, but after some time user gets stucked Meeting Request again.

    By the way, Search-Mailbox could have "search in folder" (for exapmple \Calendar) functionality. 

    Wednesday, February 8, 2012 8:48 AM
  • I think there isn't a parameter for us to define the folder for searching till now. We just can search the whole mailbox.

    You mean after you delete the appointment for a user, some day it will appear again? If so, have you try MFCMAPI? Any update?


    Jack Zhou

    Friday, February 10, 2012 1:52 AM
  • Hi, I don't know if this is still an issue for you guys but this is how I handled a similar problem:

    Get-Mailbox –Server YourServerName –ResultSize unlimited | Search-Mailbox -SearchQuery 'subject:this is the content to match' –DeleteContent

    So there is no switch for select just calendar items, but the commandlett does process every mailbox on your server and delete any entity (mail message, Calender Item etc) that matches the subject line.

    Hope that this helps.

    Wednesday, April 10, 2013 8:06 AM