How to get four years old calendar items

Mani 316 Reputation points
2025-01-24T18:00:07.6366667+00:00

Hello all,

We are in Hybrid mode and one of our user is trying to pull data from 4 years back calendar items but they can't find items in their calendar showing up.

Mailbox is not archived

And i had taken delegation to check recoverable items and there are only 65 items recent ones.

Please suggest how to get and export them.

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,702 questions
Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
2,210 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jake Zhang-MSFT 8,400 Reputation points Microsoft Vendor
    2025-01-27T02:42:17.26+00:00

    Hi @Mani,

    Welcome to the Microsoft Q&A platform!

    Based on your problem description, here are some steps you can follow to retrieve and export calendar items from 4 years ago:

    1. Make sure the calendar folder is not set to auto-archive. Sometimes, if auto-archive is enabled, older items may be moved to the archive folder.
    2. Since you have already checked the Recoverable Items folder, make sure you have checked all subfolders within the Recoverable Items folder. Sometimes, items may be stored in subfolders.
    3. You can use the eDiscovery tool in the Exchange Admin Center to search for old calendar items. This tool allows you to search across mailboxes and recover items that may not be visible in the user's mailbox.
    4. After retrieving the calendar items, you can export them. If you are using Outlook, you can export the calendar to a CSV file:
    • Go to File > Open & Export > Import/Export.
    • Select Export to File > Comma Separated Values.
    • Select the calendar folder and specify the date range.
    • Save the file to the desired location.
    1. If you are familiar with PowerShell, you can use it to export the calendar items. Here is a basic script to export calendar items to a CSV file:
    $Mailbox = "user@example.com"
    $StartDate = (Get-Date).AddYears(-4)
    $EndDate = (Get-Date)
    $CalendarItems = Get-MailboxFolderStatistics -Identity $Mailbox -FolderScope Calendar | Get-MailboxFolder -Recurse | Get-CalendarDiagnosticLog -StartDate $StartDate -EndDate $EndDate
    $CalendarItems | Export-Csv -Path "C:\CalendarItems.csv" -NoTypeInformation
    

    Adjust the $Mailbox, $StartDate, and $EndDate variables as needed.


    Please feel free to contact me for any updates. And if this helps, don't forget to mark it as an answer.

    Best,

    Jake Zhang

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.