This is an archive version of the document. To get the most up-to-date information, see the current version.

Required Permissions

The following table lists required permissions for user accounts to back up and restore Microsoft Exchange data.

Operation

Required Roles and Permissions

Backup

For more information, see:

Restore to Microsoft Office 365 and on-premises Microsoft Exchange from backups created in Veeam Backup & Replication and Veeam Backup for Microsoft Office 365

To restore data to Microsoft Office 365 and on-premises Microsoft Exchange, make sure to configure user accounts as follows:

Restore to a Public Folder

  • The account being used must own a mailbox on a target Microsoft Exchange server.
  • The account must be assigned the Organization Management role on a target Microsoft Exchange server. See Assigning Organization Management Role.
  • [For restore of In-Place Hold Items to the original location] If the In-Place Hold Items folder already exists, make sure the account being used can create, modify and delete items. If the In-Place Hold Items folder does not exist, the account being used must be able to create folders under the All Public Folders root node.

Restore to a Mailbox

  • If the account owns a mailbox, make sure it has Full Access.
  • If the account does not own a mailbox, then access must be granted through impersonation. See Granting Full Access.

Restore Using Modern App-Only Authentication Method

The account used to log in to Microsoft Office 365 must be assigned the following roles:

  • ApplicationImpersonation role. For more information, see this Microsoft article.
  • Global Administrator or Exchange Administrator role.

Also make sure that the required settings are specified for the Azure AD application used for restore. For more information, see the Required Azure AD Application Settings section of the Veeam Backup for Microsoft Office 365 User Guide.

 

Examples

Assigning Organization Management Role

To assign the Organization Management role, use the following cmdlet.

Add-RoleGroupMember “Organization Management” –Member “<user_account>”

For more information about the Add-RoleGroupMember cmdlet, see this Microsoft article.

Granting Full Access

To grant Full Access to the account that owns a mailbox, use the following cmdlet.

Add-MailboxPermission –Identity “<target_mailbox>” -User “<user_account>” -AccessRights FullAccess –InheritanceType All

For more information about the Add-MailboxPermission cmdlet, see this Microsoft article.

To grant Full Access to the account that do not own a mailbox (i.e. through impersonation), use the following cmdlet.

New-ManagementRoleAssignment -Name "<role_name>" -Role ApplicationImpersonation -User "<user_account>"

For more information about the New-ManagementRoleAssignment cmdlet, see this Microsoft article.

Recalling Given Permissions

To recall given access level, run either of the following cmdlets. 

Remove-ManagementRoleAssignment "<role_name>"

 

Remove-ManagementRoleAssignment -Identity <role_name>