OneDrive Data Backups

The /BackupRepositories/{repositoryId}/OneDriveData resource collection represents backed-up OneDrives whose data is stored in a backup repository.

Get OneDrive Data by Repository ID

Returns a collection of backed-up OneDrives whose data is stored in a backup repository with the specified ID.

SecurityBearer
Request
path Parameters
repositoryId
required
string <uuid>

Specifies the identification number of the backup repository. For more information on how to get this parameter, see Get Backup Repositories.

query Parameters
limit
integer <int32>

Limits the maximum number of items that the server will return on a page. The maximum supported number of items per page is 10,000. The default value is 30.

offset
integer <int32>

Excludes from a response page the first N items of a collection resource. The default value is 0.

filter
string

Specifies a keyword to filter OneDrives.

organizationId
string

Specifies the identification number of the Microsoft 365 organization. For more information on how to get this parameter, see Get Organizations.

pointInTime
string <date-time>

Specifies point in time that you want to get from a backup repository.

Responses
200

OK

default

Operation failure response.

get/v8/BackupRepositories/{repositoryId}/OneDriveData
Request samples
Response samples
application/json
{
  • "offset": 0,
  • "limit": 0,
  • "setId": "83e19bc1-5428-42b5-88ea-b28354e481f3",
  • "results": [
    ],
  • "_links": {
    }
}

Get OneDrive Data by Repository and OneDrive ID

Returns a backed-up OneDrive with the specified ID whose data is stored in a backup repository with the specified ID.

SecurityBearer
Request
path Parameters
repositoryId
required
string <uuid>

Specifies the identification number of the backup repository. For more information on how to get this parameter, see Get Backup Repositories.

oneDriveId
required
string

Specifies the identification number of OneDrive. For more information on how to get this parameter, see Get OneDrive Data by Repository ID or Get OneDrives.

Responses
200

OK

default

Operation failure response.

get/v8/BackupRepositories/{repositoryId}/OneDriveData/{oneDriveId}
Request samples
Response samples
application/json
{
  • "id": "string",
  • "itemType": "Mailbox",
  • "repositoryId": "5aa3e9fa-2d0a-4c21-ad54-43217e2bc9c0",
  • "title": "string",
  • "url": "string",
  • "backedUpTime": "2019-08-24T14:15:22Z",
  • "organizationId": "00000000-0000-0000-0000-000000000000",
  • "backedUpOrganizationId": "string",
  • "_links": {
    }
}

Document updated 12/18/2025

Page content applies to build 8.3.0.2201