Avatar of patrick mylne
patrick mylne
 asked on

Exporting mailbox from office 365 using powershell

I have an on premise MS environment, but our email is hosted in 0365.  We synch our AD using AZURE directory services.I want to automate a user leaving via scripts attached to a OU in the AD.  One item is to archive their mailbox to a file server share, the other is to archive their One Drive data  to a file share.  The file share will be the users 'user profile' folder  Is this possible using powershell ? I've been told not.
PowershellMicrosoft OfficeMicrosoft 365

Avatar of undefined
Last Comment
patrick mylne

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Vasil Michev (MVP)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
Ajit Singh

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
patrick mylne

ASKER
thanks both.  very frustrating.  i guess I would have to install an exchange server to create a hybrid environment.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes