How do I back up to OneDrive?
OneDrive works with Microsoft 365 work or school accounts only. You need an Entra ID app with the Microsoft Graph application permission Files.ReadWrite.All (with admin consent), plus its client ID, client secret and tenant ID. It has been tested against a mock only.
What you need
- A Microsoft 365 work or school tenant. Personal Microsoft accounts cannot sign in.
- An Entra ID app registration with the Microsoft Graph application permission
Files.ReadWrite.All, with admin consent granted. - The app's client ID, a client secret and the tenant ID or domain.
- Either the user whose OneDrive to use, or a drive ID (a drive or SharePoint library).
Add the destination
- Open Destinations and choose + Add destination, then OneDrive.
- Fill in:
- Display name (required).
- Application (client) ID.
- Client secret.
- Tenant ID or domain, for example
contoso.onmicrosoft.com. Do not usecommon. - OneDrive of user (a UPN or object ID such as
[email protected]), or Drive ID instead of a user. - Folder path, for example
/Backups(optional).
- Choose Add destination, then Test.
Status
OneDrive has been tested against a mock only and has never been run against a real Microsoft 365 tenant. Test it with a small job before you rely on it. Backups are stored as packs of about 32 MB, not as files you can browse in OneDrive. To read the data without BackupWall, copy the folder to a local disk with rclone and use bw-extract --local.
Still stuck? Open a ticket at portwall.net/billing or write to [email protected], and attach a support bundle. See Report a problem and make a support bundle.