Edit

Create sharePointBrowseSession

Namespace: microsoft.graph

Create a new sharePointBrowseSession object.

Permissions

Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.

Permission type Least privileged permissions Higher privileged permissions
Delegated (work or school account) BackupRestore-Restore.ReadWrite.All Not available.
Delegated (personal Microsoft account) Not supported. Not supported.
Application BackupRestore-Restore.ReadWrite.All Not available.

Note

In the delegated flow, only users with the SharePoint Backup Administrator role can access this API.

HTTP request

POST /solutions/backupRestore/sharePointBrowseSessions

Request headers

Name Description
Authorization Bearer {token}. Required. Learn more about authentication and authorization.
Content-Type application/json. Required.

Request body

In the request body, supply a JSON representation of the sharePointBrowseSession object.

You can specify the following properties when you create a sharePointBrowseSession.

Property Type Description
restorePointId String The ID of the restorePoint on which the user wants to create a browse session. Required.

Response

If successful, this method returns a 201 Created response code and a sharePointBrowseSession object in the response body.

Examples

Request

The following example shows a request.

POST https://graph.microsoft.com/v1.0/solutions/backupRestore/sharePointBrowseSessions
Content-Type: application/json

{
  "restorePointId": "TXpSbE5HUXpNR1l0TldZMFlpMDBNMk16TFdFeFl6WXRZall3TTJFeFl6Sm1OV000WHpFPV8xNzQ5NTY3MDAwXzE0XzE="
}

Response

The following example shows the response.

Note: The response object shown here might be shortened for readability.

HTTP/1.1 201 Created
Content-Type: application/json

{
    "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#solutions/backupRestore/sharePointBrowseSessions/$entity",
    "id": "m_RtZ8BiiUXOK69cuN6gwubfm9_yeVlDg8s6hci01_cVOAE",
    "restorePointDateTime": "2026-01-18T03:00:15Z",
    "status": "created",
    "createdDateTime": "2026-01-20T10:42:27Z",
    "expirationDateTime": "2026-01-23T10:42:24Z",
    "backupSizeInBytes": "584316",
    "siteId": "f3846f8d-80a6-4480-ae20-5966ebdf2009"
}