This is a simple method of “moving” a users email from their Office 365 account to a “Target Folder” in another users account using PowerShell. If you are unable to access their email in any other way this will work well.
Firstly ensure the user connecting to Exchange Online is a member of the Discovery Management Group. Certain PowerShell cmdlets are NOT available otherwise. For example Search-Mailbox
- Connect to Exchange Online with PowerShell
$UserCredential = Credential email@example.com
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
- Run the below script to search and copy over mail from user A to user B
Search-Mailbox -Identity “user A” -TargetMailbox “user B” -TargetFolder “inbox” -LogLevel Full
If, on the other hand, you do have access to their Office 365 OWA account then simply login, right click the top level folder and choose permissions.
Proceed to add the user who requires permissions and select permission level. The users mailbox will show up in the target users mail profile at which point they can then choose to export to .pst