Share via


Enable a hosted (Personal) Archive for Office 365

Steps

Action

Configure the ‘Office 365 Tenant’ Organization Relationship

Get-OrganizationRelationship "Office 365 Tenant" | fl

image

Run - Set-OrganizationRelationship "Office 365 Tenant" -ArchiveAccessEnabled $true

Start a remote PowerShell session

Run

$LiveCred = Get-Credential

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection

Import-PSSession $Session –AllowClobber

Configure the ‘On Prem’ Organization Relationship

Run - Get-OrganizationRelationship "On Prem" | fl

Then enable ArchivedAccessEnabled attribute by running - Run - Set-OrganizationRelationship "On Prem" -ArchiveAccessEnabled $true

image

Enable user archive

In EMC select the mailbox you want to enable, right click and select ‘Enabled Hosted Archive’

image

Select Yes to enable hosted archive message ‘The archive will created in the online tenant specified. An archive will be created for ‘MAILBOXNAME’. Would you like to proceed?’

Note the icon changes for the mailbox when the archive is enabled

Login to the user mailbox

Ensure the archive appears in the users profile (either Outlook 2010 or OWA)

image

Written by Daniel Kenyon-Smith