How to enable Office 365 Archiving and import a PST into the Office 365 Archive

How to enable Office 365 Archiving and import a PST into the Office 365 Archive
v.1.0
  1. Enable Remote Archive on the users account – Connect to JNFADCONNECT1 and open powershell as an admin and run:
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
./Enable-remotearchive.ps1 -identity firstname.lastname -archivename "Cloud Archive"
Ex: -   ./Enable-remotearchive.ps1 -identity pat.padilla -archivename "Cloud Archive"
                Run a delta sync:              Start-ADSyncSyncCycle -PolicyType delta
  1. If you check Exchange admin center looking up the user it should say Mailbox Type User (Archive) once archiving is enabled on that account:

  1. Login to protection.office.com and click on Information governance and choose Import
 
  1. Click Import PST Files
 

 
  1. Click New Import job
  2. Create a name for the job

 
  1. Choose Upload your data
 

 
  1. Download Azure Azcopy at this location and save it to the root of your HD
  2. Click Show network upload SAS URL and copy it to the clipboard:

  1. Run the following:
Azcopy.exe copy “PStfilename.pst” “SAS URL”
azcopy.exe copy "C:\Tova.pst" "https://fa3473ba28544f8296e83aa.blob.core.windows.net/ingestiondata?sv=2015-04-05&sr=c&si=IngestionSasForAzCopy202003022150191676&sig=tennSEO7vc4IzI7JI0%2BReRU2W0OvG8KFS2pEHWWuKSA%3D&se=2020-04-01T21%3A50%3A21Z"
  1. I have been getting that it failed but the file is showing up

 
  1. Create a .CSV file with the mappings – see example located in this folder:

  1. In this .CSV change the .PST name, Mailbox and TargetRootFolder
  2. Back to the Import Data page Check both the boxes on the bottom of the page and say next

  1. Here choose the mapping file which is the .csv file you created – click validate and Save
 

  1. If all goes well you should have a Upload to cloud Success message. Click Close

 
  1. The job should show up on the list with Analysis in progress

 
  1. Check back later when Analysis completed – click -  Ready to import to Office 365.

  1. Click Import to Office 365

  1. Since we know this is a archive choose No, I want to import everything.

 
  1. Click Import

 
  1. It will now start the Import

  1. You can monitor the status of the Import: