CustomDetection.ReadWrite.All

CustomDetection.ReadWrite.All 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

Versionv126 Nov 2026
PropertyApplicationDelegated
Display nameRead and write all custom detection rulesRead and write custom detection rules
DescriptionAllows the app to read and write custom detection rules without a signed-in user.Allows the app to read and write custom detection rules on behalf of the signed-in user.
Permission IDe0fd9c8d-a12e-4cc9-9827-20c8c3cd6fb8c34088fb-0649-4714-af0b-bcbfec155897
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

5 roles

Request samples

16 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

  • DELETE
    /security/rules/detectionRulesNo matching Microsoft Graph PowerShell command
  • DELETE
    /security/rules/detectionRules/{id}No matching Microsoft Graph PowerShell command
  • GET
    /security/rules/detectionRulesNo matching Microsoft Graph PowerShell command
  • GET
    /security/rules/detectionRules/{id}No matching Microsoft Graph PowerShell command
  • PATCH
    /security/rules/detectionRulesNo matching Microsoft Graph PowerShell command
  • PATCH
    /security/rules/detectionRules/{id}No matching Microsoft Graph PowerShell command
  • POST
    /security/rules/detectionRulesNo matching Microsoft Graph PowerShell command
  • POST
    /security/rules/detectionRules/{id}No matching Microsoft Graph PowerShell command

delegated

  • DELETE
    /security/rules/detectionRulesNo matching Microsoft Graph PowerShell command
  • DELETE
    /security/rules/detectionRules/{id}No matching Microsoft Graph PowerShell command
  • GET
    /security/rules/detectionRulesNo matching Microsoft Graph PowerShell command
  • GET
    /security/rules/detectionRules/{id}No matching Microsoft Graph PowerShell command
  • PATCH
    /security/rules/detectionRulesNo matching Microsoft Graph PowerShell command
  • PATCH
    /security/rules/detectionRules/{id}No matching Microsoft Graph PowerShell command
  • POST
    /security/rules/detectionRulesNo matching Microsoft Graph PowerShell command
  • POST
    /security/rules/detectionRules/{id}No matching Microsoft Graph PowerShell command