HardDeletionSetting.ReadWrite.Enable

HardDeletionSetting.ReadWrite.Enable is available as both an application and a delegated permission in Microsoft Graph. Application access requires admin consent. Delegated access requires admin consent. See Microsoft's permissions reference.

Permission details

Versionv227 Oct 2026
PropertyApplicationDelegated
Display nameEnable hard deletion protection settingsEnable hard deletion protection settings
DescriptionAllows the app to enable hard deletion protection settings on users, applications, groups, and service principals without a signed-in user. Requires Global Administrator or Backup Administrator role.Allows the app to enable hard deletion protection settings on users, applications, groups, and service principals on behalf of the signed-in user. Requires Global Administrator or Backup Administrator role.
Permission ID87f25f46-ce1e-47ed-935c-9d70b296f060969ac762-bace-4685-8f56-a496211ea8e8
Admin consent requiredYesYes
Privilege levelLevel 3 · HighBroad or sensitive access that can significantly affect users or organizational data.Level 3 · HighBroad or sensitive access that can significantly affect users or organizational data.

Roles that support this permission

0 roles

No Microsoft Entra roles are mapped to this permission.

Request samples

8 samples
About these request samplesSome read operations use POST requests, such as searches that send query details in a request body. Samples and permission mappings are collated from multiple official Microsoft sources, including Microsoft Graph DevX and the PowerShell SDK. Differences between API versions and source metadata mean they may not always reflect actual endpoint behavior. Verify the current Microsoft Graph documentation before implementation.

application

  • PATCH
    /applications/{id}
    PowerShellUpdate-MgApplicationApplications
  • PATCH
    /groups/{id}
    PowerShellUpdate-MgGroupGroups
  • PATCH
    /serviceprincipals/{id}
    PowerShellUpdate-MgServicePrincipalApplications
  • PATCH
    /users/{id}
    PowerShellUpdate-MgUserUsers

delegated

  • PATCH
    /applications/{id}
    PowerShellUpdate-MgApplicationApplications
  • PATCH
    /groups/{id}
    PowerShellUpdate-MgGroupGroups
  • PATCH
    /serviceprincipals/{id}
    PowerShellUpdate-MgServicePrincipalApplications
  • PATCH
    /users/{id}
    PowerShellUpdate-MgUserUsers