To Import Office 365 Mailboxes, the Office 365 Import Wizard is used.
The following steps are required to Import from Office 365:
The Folder Filter allows you to include or exclude certain directories and/or subdirectories during an Import cycle.
Make sure that the selected path information corresponds with previously entered subdirectories.
The folder needs to be entered relatively to the folder that was set in the path settings.
Never begin an entry with a slash (/).
A star (*) is the only symbol allowed and can be used as a wildcard
All mails found in the selected directory will be imported.
Any further filter settings will be ignored.
Only Import the specified folders
Only the listed folder names in the selected directory will be imported.
Exclude the specified folders
The folder names listed here will be excluded from the Import.
Confirms which folders should be included in or excluded from the import.
The previously entered filter settings will be analyzed
All directories selected for an import will be listed together with the corresponding filter.
Under the column State, you can see if the folder will be included in or excluded from the import.
The folder structure is loaded when performing verify filter the first time.
If the folder structure is altered, you need to modify the task again to update the changes (and the folder structure).
With the Message Filter, it is possible to exclude mails which meet certain criteria, such as certain dates or size restrictions.
Only archive messages newer than
Only mails created after a certain date and time will be archived.
Only archive messages older than
Only mails created before a certain date and time will be archived.
Only archive messages with size
Only mails which are larger than the size entered will be archived.
Only mails which are smaller than the size entered will be archived.
The following steps are required to create a list of available mailboxes via Powershell:
Get-MSOLUser | select userprincipalname | Export-CSV C:\temp\Import.txt