Office 365: restoring to a destination mailbox is denied
This page is intended for administrators who restore Office 365 (Microsoft 365) items from the web interface and find the restore refused. It explains each refusal message and what to do about it. It applies to the BeBackup 7 server.
Symptom
You have selected messages, contacts, tasks or events in the Office365 restore screen. The restore is refused, or an item cannot be opened, with one of the messages described below.
Before you start: choosing the destination
The screen offers two destinations:
Restore to the original mailbox (…);Restore to another mailbox.
From the web interface, Restore to another mailbox always requires the destination mailbox to be connected through its Microsoft account, whatever the storage mode (Single account or Multi account (tenant)). The server then writes into that connected mailbox.
Writing directly into another mailbox of the tenant via the storage's Azure application, without connecting the mailbox, is only possible through the server API, not from the restore screen.
Refusal messages
The destination mailbox is not connected
The destination mailbox is not authenticated. Connect it before starting the restore.
The screen also displays Destination mailbox not connected. or Connect to the destination mailbox first.
Connect the destination mailbox from the restore screen, then start again. The message Connection to the destination mailbox established (…) confirms the connection.
The storage is in delegated mode (restore via the API)
This storage is authenticated in delegated mode: it can only write into the connected mailbox, and "targetMailbox" cannot be honoured…
This message only concerns restores started through the server API with the targetMailbox parameter. The restore screen in the web interface never sends this parameter. A storage in Single account mode cannot write into a mailbox it has not connected: restore to another mailbox by connecting it (destination Restore to another mailbox), or use a storage in tenant mode.
Tenant mode is not configured
Tenant mode is not configured for this storage…
This message appears on the storage configuration page, when it loads the list of tenant users. The configuration of the storage's Azure application is incomplete. Complete it on the storage record, under Tenant configuration. See the page dedicated to Office 365 authentication.
For restores, the Azure application used for backup is the one that applies: there is no separate restore application to create from the interface.
The destination mailbox has no OneDrive
The destination mailbox does not yet have a OneDrive. A OneDrive only exists once its user has opened it for the first time, or once an administrator has pre-provisioned it: open it once, then start the restore again. No file has been written.
Microsoft only creates a user's OneDrive when it is first opened. Ask the user to open their OneDrive once, or have it pre-provisioned by a tenant administrator. Then start the restore again.
An entire calendar is selected
Restoring an ENTIRE calendar is not yet possible: the backup contains the expanded occurrences of recurring series, and rewriting them would create as many independent appointments. Select the events to restore.
Clear the calendar in the tree view. Select the events to restore one by one in the list on the right.
An attachment is missing
This attachment is not in the backup: its download had failed and will be retried on the next run.
This message is not a refusal of the restore: it appears when you open or download the attachment in the message preview. The download of this attachment failed during the backup. The report for that backup flagged it. The attachment will be retrieved during the next backup. Restore from a more recent backup at that point.
The restore session closes
Restore session stopped after the 30-minute inactivity timeout.
A restore session closes on its own 30 minutes after the last action. Reopen the restore screen to start a new one.
Timeout exceeded while starting an Office365 restore session.
The session could not start in time. The storage may be busy with a backup or a verification. Wait for the current job to finish, then try again.
As long as a restore session is open, the storage is busy. An Office 365 backup started during that time is refused. Close the restore screen when you have finished.
If the problem persists
Contact BeBackup support. Include the name of the storage, the destination mailbox, the items selected, and the full text of the message.
BeBackup is backup built for IT service providers
Backup and restore of workstations, servers, virtual machines and Microsoft 365, encrypted at source with a key we do not hold, on the hosting of your choice.