Aug 06 2021
- last edited on
Feb 01 2023
I have a powershell script that I use for Disabling user accounts. We have a hybrid on-premises Active Directory synchronizing with Azure Active Directory and O365. This script performs:
At this point in the process I would like to have the capability to Export the PST file directly to a local SMB/UNC path on-premises. I know there is currently no powershell cmdlet available to do this but at this time MUST use the web interface to copy the Export Key and use the eDiscovery Export Tool.
This is an EXTREMELY unfavourable way of doing this. We would like to be able to do this directly in PowerShell. We have MFA login connected to ExchangeOnline why can we not just export/download the PST passed an Export Key or some other cmdlet to get it? This is very time consuming and is slowing down our Off-Boarding process. This is my vote for adding this capability to PowerShell.
Aug 07 2021 02:10 AM
Aug 10 2021 07:32 AM
I would recommend following this guide if migrating multiple mailboxes: https://docs.microsoft.com/en-us/exchange/mailbox-migration/mailbox-migration.
As far as scripts to perform a migration of a single PST file from On-Premises Outlook to O365, it's not a single script activity. I would recommend the above and search/go from there.