BackupRestore-Control.ReadWrite.All
Allows the app to update or read the status of M365 backup service (enable/disable), without signed in user
Permission Details
Update or read the status of the M365 backup service
Allows the app to update or read the status of M365 backup service (enable/disable), without signed in user
fb240865-88f8-4a1d-923f-98dbc7920860
Update or read the status of the M365 backup service
Allows the app to update or read the status of M365 backup service (enable/disable), on behalf of the signed in user.
96d46335-d92d-41b8-bc9f-273a692381ea
Properties
Properties is shown from stable Microsoft Graph v1.0 metadata.
| Property | Type | Description |
|---|---|---|
application |
identity |
The Entra ID application ID. |
effectiveDateTime |
DateTimeOffsetNullable |
Timestamp of the effective activation of the service app. |
id |
String |
The unique identifier of the service app. |
lastModifiedBy |
identitySet |
Identity of the person who last modified the entity. |
lastModifiedDateTime |
DateTimeOffsetNullable |
Timestamp of the last modification of the entity. |
registrationDateTime |
DateTimeOffsetNullable |
Timestamp of the creation of the service app entity. |
status |
serviceAppStatus |
The status of the service app. This value indicates whether or not the application can be used to control the backup service. The possible values are: inactive, active, pendingActive, pendingInactive, unknownFutureValue. |
JSON Representation
JSON representation is shown from stable Microsoft Graph v1.0 metadata.
{
"@odata.type": "#microsoft.graph.serviceApp",
"id": "String (identifier)",
"status": "String",
"registrationDateTime": "String (timestamp)",
"effectiveDateTime": "String (timestamp)",
"lastModifiedDateTime": "String (timestamp)",
"lastModifiedBy": {
"@odata.type": "microsoft.graph.identitySet"
},
"application": {
"@odata.type": "microsoft.graph.identity"
}
}
Relationships
Relationships metadata is not available for this permission mapping.
View resource documentationGraph 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.
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.
Code Examples
// Code snippets are only available for the latest version. Current version is 5.x
// Dependencies
using Microsoft.Graph.Solutions.BackupRestore.Enable;
var requestBody = new EnablePostRequestBody
{
AppOwnerTenantId = "23014d8c-71fe-4d00-a01a-31850bc5b42a",
};
// 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.Enable.PostAsync(requestBody);
const options = {
authProvider,
};
const client = Client.init(options);
const serviceStatus = {
appOwnerTenantId: '23014d8c-71fe-4d00-a01a-31850bc5b42a'
};
await client.api('/solutions/backupRestore/enable')
.post(serviceStatus);
Import-Module Microsoft.Graph.BackupRestore
$params = @{
appOwnerTenantId = "23014d8c-71fe-4d00-a01a-31850bc5b42a"
}
Enable-MgSolutionBackupRestore -BodyParameter $params
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
from msgraph.generated.solutions.backuprestore.enable.enable_post_request_body import EnablePostRequestBody
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
request_body = EnablePostRequestBody(
app_owner_tenant_id = "23014d8c-71fe-4d00-a01a-31850bc5b42a",
)
result = await graph_client.solutions.backup_restore.enable.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-Control.ReadWrite.All
Grant Admin Consent
Application permissions always require admin consent.