BackupRestore-Search.Read.All
Allows the app to search all backup snapshots for Microsoft 365 resources, without a signed-in user.
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 units that are protected under a protection policy. |
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 units that are protected under a protection policy. |
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 mapped directly from refreshed Microsoft Learn PowerShell snippets.
Microsoft Graph PowerShell beta commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
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
// 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.GetAsync((requestConfiguration) =>
{
requestConfiguration.QueryParameters.Expand = new string []{ "protectionUnit($filter=id eq 'd234cf54-e0fb-49b7-9c8a-5bcd1439e853')" };
requestConfiguration.QueryParameters.Filter = "protectionDateTime lt 2024-05-12T10:01:00Z";
});
const options = {
authProvider,
};
const client = Client.init(options);
let restorePoints = await client.api('/solutions/backupRestore/restorePoints')
.filter('protectionDateTime lt 2024-05-12T10:01:00Z')
.expand('protectionUnit($filter=id eq \'d234cf54-e0fb-49b7-9c8a-5bcd1439e853\')')
.get();
Import-Module Microsoft.Graph.BackupRestore
Get-MgSolutionBackupRestorePoint -ExpandProperty "protectionUnit(`$filter=id eq 'd234cf54-e0fb-49b7-9c8a-5bcd1439e853')" -Filter "protectionDateTime lt 2024-05-12T10:01:00Z"
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
from msgraph.generated.solutions.backup_restore.restore_points.restore_points_request_builder import RestorePointsRequestBuilder
from kiota_abstractions.base_request_configuration import RequestConfiguration
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
query_params = RestorePointsRequestBuilder.RestorePointsRequestBuilderGetQueryParameters(
expand = ["protectionUnit($filter=id eq 'd234cf54-e0fb-49b7-9c8a-5bcd1439e853')"],
filter = "protectionDateTime lt 2024-05-12T10:01:00Z",
)
request_configuration = RequestConfiguration(
query_parameters = query_params,
)
result = await graph_client.solutions.backup_restore.restore_points.get(request_configuration = request_configuration)
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.