This article refers to the Barracuda ArchiveOne versions 6.5.3 and higher, and Microsoft Exchange Online.
If you have migrated to Office 365 and ArchiveOne is required to connect to primary user mailboxes hosted in Exchange Online, the ArchiveOne service account requires Full Access permissions to these mailboxes.
To apply Full Access permissions in Exchange Online,
- On the Archive server, open PowerShell, and type:
$UserCredential = Get-Credential
- When prompted, enter the Exchange Online Administrator account username and password.
In PowerShell, type:
$PSSession = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic –AllowRedirection
- A number of warnings display; this is expected. Type:
A number of warnings display; this is expected. You can now run any required PowerShell commands to administrate Exchange Online. To give the ArchiveOne service account Full Access permissions to online mailboxes, type:
Get-Mailbox | Add-MailboxPermission -User SERVICE_ACCOUNT -AccessRights FullAccess
-InheritanceType all -Automapping $false
where SERVICE_ACCOUNT is the ArchiveOne service account name.