Share via

Import Calender .pst to o365 all users

Jemin Prajapati 16 Reputation points
2023-01-03T10:56:01.057+00:00

Hello Team,

Previously, we were using an on-prem exchange server, and every year we imported the organization holiday in all users outlook calender as given below from exchange managment shell,

New-MailboxImportRequest -Mailbox amb-FilePath \constoso\hol.pst -IncludeFolders "#Calendar#" -Priority Highest

Can anyone please help me import only calendar items for the O365 users?

Thank you.

Exchange Online
Exchange Online

A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.

Exchange | Exchange Server | Development
Exchange | Exchange Server | Management
Exchange | Exchange Server | Management

The administration and maintenance of Microsoft Exchange Server to ensure secure, reliable, and efficient email and collaboration services across an organization.

Exchange | Hybrid management
Exchange | Hybrid management

The administration of a hybrid deployment that connects on-premises Exchange Server with Exchange Online, enabling seamless integration and centralized control.


1 answer

Sort by: Most helpful
  1. Vasil Michev 126K Reputation points MVP Volunteer Moderator
    2023-01-03T12:17:15.787+00:00

    You cannot use this method with Exchange Online. You can however use a script based on the EWS or Graph API to import calendar items from a file. Here's a sample script you can adapt: https://github.com/David-Barrett-MS/PowerShell-EWS-Scripts/blob/master/Legacy/Import-CalendarCSV.ps1


Your answer

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