Exchange Ideas - Daniel Kenyon-Smith

I’m a Messaging consultant working for Microsoft Consultancy Services in the UK. Find out about all the latest technology, news, tips and tricks in the world of messaging and much more!

Enable a hosted (Personal) Archive for Office 365

Enable a hosted (Personal) Archive for Office 365

  • Comments 2
  • Likes



Configure the ‘Office 365 Tenant’ Organization Relationship

Get-OrganizationRelationship "Office 365 Tenant" | fl


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

Start a remote PowerShell session


$LiveCred = Get-Credential

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -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


Enable user archive

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


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)


Written by Daniel Kenyon-Smith

  • Under  what conditions should this be done? When should we decide to do this? We have ArchiveAccessEnabled set to false and we are able to enable archives.


  • Hi

    The archive is enabled to meet your compliance requirements, such as keeping email for 1 year and moving those items out of your primary mailbox and into your personal archive (see enabling retention policies for more details -

    The personal archive is only available online, so is not cached to your local .ost file like your primary mailbox. So in order for the .ost file not to grow too large that it will get corrupted (Outlook 2007 for example is 20GB, see for more details) you move items out of your primary mailbox and into personal archive.

    You also have to think about the storage on your local laptops and desktops as when you want to start moving items into your personal archive in order to keep the .ost file to a minimum.

    I also assume you are using running in hybrid mode (formally rich coexistence) and looking to have on-prem mailboxes with an personal archive in the cloud?

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment