BackupRestore-Search.Read.All
Allows the app to search all backup snapshots for Microsoft 365 resources, without a signed-in user.
In short
BackupRestore-Search.Read.All is available as both an application permission and a delegated permission in the Microsoft Graph API, grouped under the BackupRestore-Search category. Allows the app to search all backup snapshots for Microsoft 365 resources, without a signed-in user. It grants read-only access to resources. Application permissions always require admin consent.
Permission Details
Search for metadata properties in all backup snapshots
Allows the app to search all backup snapshots for Microsoft 365 resources, without a signed-in user.
f6135c51-c766-4be1-9638-ed90c2ed2443
Search for metadata properties in backup snapshots
Allows the app to search the backup snapshots for Microsoft 365 resources, on behalf of the signed in user.
2b24830f-f435-446f-ab5a-b1e70d9a2eb5
Properties
Properties is shown from stable Microsoft Graph v1.0 metadata.
| Property | Type | Description |
|---|---|---|
id |
String |
ID of the restore point. |
protectionDateTime |
DateTimeOffsetNullable |
Date time when the restore point was created. |
expirationDateTime |
DateTimeOffsetNullable |
Expiration date time of the restore point. |
tags |
restorePointTags |
The type of the restore point. The possible values are: none, fastRestore, unknownFutureValue. |
protectionUnit |
object |
The site, drive, or mailbox unit protected under a protection policy. Supports $expand and $filter on protectionUnit/policyId using the eq operator. |
JSON Representation
JSON representation is shown from stable Microsoft Graph v1.0 metadata.
{
"@odata.type": "#microsoft.graph.restorePoint",
"id": "String (identifier)",
"protectionDateTime": "String (timestamp)",
"expirationDateTime": "String (timestamp)",
"tags": "String"
}
Relationships
Relationships is shown from stable Microsoft Graph v1.0 metadata.
| Relationship | Type | Description |
|---|---|---|
protectionUnit |
protectionUnitBase |
The site, drive, or mailbox unit protected under a protection policy. Supports $expand and $filter on protectionUnit/policyId using the eq operator. |
Graph Methods
Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
| Methods |
|---|
POST
/solutions/backupRestore/restorePoints/search
|
Microsoft Graph PowerShell v1.0 commands are not available from refreshed Microsoft Learn PowerShell snippets for this permission.
No deterministic PowerShell command map is available for this permission.
Browse PowerShell docsMicrosoft Graph PowerShell beta commands are not available from refreshed Microsoft Learn PowerShell snippets for this permission.
No deterministic PowerShell command map is available for this permission.
Browse PowerShell docsCode Examples
// Code snippets are only available for the latest version. Current version is 5.x
// Dependencies
using Microsoft.Graph.Beta.Solutions.BackupRestore.RestorePoints.Search;
using Microsoft.Graph.Beta.Models;
var requestBody = new SearchPostRequestBody
{
ProtectionUnitIds = new List<string>
{
"23014d8c-71fe-4d00-a01a-31850bc5b42a",
"43014d8c-71fe-4d00-a01a-31850bc5b42b",
"63014d8c-71fe-4d00-a01a-31850bc5b42c",
"83014d8c-71fe-4d00-a01a-31850bc5b42d",
},
ProtectionTimePeriod = new TimePeriod
{
StartDateTime = DateTimeOffset.Parse("2021-01-01T00:00:00Z"),
EndDateTime = DateTimeOffset.Parse("2021-01-08T00:00:00Z"),
},
RestorePointPreference = RestorePointPreference.Latest,
Tags = RestorePointTags.FastRestore,
};
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.Solutions.BackupRestore.RestorePoints.Search.PostAsync(requestBody);
const options = {
authProvider,
};
const client = Client.init(options);
const restorePointSearchResponse = {
protectionUnitIds: ['23014d8c-71fe-4d00-a01a-31850bc5b42a', '43014d8c-71fe-4d00-a01a-31850bc5b42b', '63014d8c-71fe-4d00-a01a-31850bc5b42c', '83014d8c-71fe-4d00-a01a-31850bc5b42d'],
protectionTimePeriod: {
startDateTime: '2021-01-01T00:00:00Z',
endDateTime: '2021-01-08T00:00:00Z'
},
restorePointPreference: 'latest',
tags: 'fastRestore'
};
await client.api('/solutions/backupRestore/restorePoints/search')
.version('beta')
.post(restorePointSearchResponse);
Import-Module Microsoft.Graph.Beta.BackupRestore
$params = @{
protectionUnitIds = @(
"23014d8c-71fe-4d00-a01a-31850bc5b42a"
"43014d8c-71fe-4d00-a01a-31850bc5b42b"
"63014d8c-71fe-4d00-a01a-31850bc5b42c"
"83014d8c-71fe-4d00-a01a-31850bc5b42d"
)
protectionTimePeriod = @{
startDateTime = [System.DateTime]::Parse("2021-01-01T00:00:00Z")
endDateTime = [System.DateTime]::Parse("2021-01-08T00:00:00Z")
}
restorePointPreference = "latest"
tags = "fastRestore"
}
Search-MgBetaSolutionBackupRestorePoint -BodyParameter $params
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph_beta import GraphServiceClient
from msgraph_beta.generated.solutions.backuprestore.restorepoints.search.search_post_request_body import SearchPostRequestBody
from msgraph_beta.generated.models.time_period import TimePeriod
from msgraph_beta.generated.models.restore_point_preference import RestorePointPreference
from msgraph_beta.generated.models.restore_point_tags import RestorePointTags
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
request_body = SearchPostRequestBody(
protection_unit_ids = [
"23014d8c-71fe-4d00-a01a-31850bc5b42a",
"43014d8c-71fe-4d00-a01a-31850bc5b42b",
"63014d8c-71fe-4d00-a01a-31850bc5b42c",
"83014d8c-71fe-4d00-a01a-31850bc5b42d",
],
protection_time_period = TimePeriod(
start_date_time = "2021-01-01T00:00:00Z",
end_date_time = "2021-01-08T00:00:00Z",
),
restore_point_preference = RestorePointPreference.Latest,
tags = RestorePointTags.FastRestore,
)
result = await graph_client.solutions.backup_restore.restore_points.search.post(request_body)
App Registration
Navigate to Azure Portal
Go to App registrations in Microsoft Entra admin center
Add API Permission
Select your app → API permissions → Add a permission → Microsoft Graph
Select Permission Type
Choose Application permissions or delegated permissions and search for BackupRestore-Search.Read.All
Grant Admin Consent
Application permissions always require admin consent.
Frequently asked questions
What is the BackupRestore-Search.Read.All Microsoft Graph permission?
BackupRestore-Search.Read.All is available as both an application permission and a delegated permission in the Microsoft Graph API, grouped under the BackupRestore-Search category. Allows the app to search all backup snapshots for Microsoft 365 resources, without a signed-in user. It grants read-only access to resources. Application permissions always require admin consent. It is mapped to the Microsoft Graph restorepoint resource type. 4 documented Microsoft Graph REST methods require it.
Is BackupRestore-Search.Read.All an application or a delegated permission?
BackupRestore-Search.Read.All is available as both an application permission (app-only access, no signed-in user) and a delegated permission (access on behalf of a signed-in user).
Does BackupRestore-Search.Read.All require admin consent?
Application permissions always require admin consent.
What is the permission ID (GUID) for BackupRestore-Search.Read.All?
For BackupRestore-Search.Read.All, the application (app role) ID is f6135c51-c766-4be1-9638-ed90c2ed2443, and the delegated (OAuth2 scope) ID is 2b24830f-f435-446f-ab5a-b1e70d9a2eb5. These are the real Microsoft Graph identifiers and can be used directly in an app registration manifest.