AttackSimulation.Read.All
Allows the app to read attack simulation and training data for an organization without a signed-in user.
In short
AttackSimulation.Read.All is available as both an application permission and a delegated permission in the Microsoft Graph API, grouped under the AttackSimulation category. Allows the app to read attack simulation and training data for an organization without a signed-in user. It grants read-only access to resources. Application permissions always require admin consent.
Permission Details
Read attack simulation data of an organization
Allows the app to read attack simulation and training data for an organization without a signed-in user.
93283d0a-6322-4fa8-966b-8c121624760d
Read attack simulation data of an organization
Allows the app to read attack simulation and training data for an organization for the signed-in user.
104a7a4b-ca76-4677-b7e7-2f4bc482f381
Properties
Properties is shown from stable Microsoft Graph v1.0 metadata.
| Property | Type | Description |
|---|---|---|
content |
base64urlNullable |
The http content that has the data |
JSON Representation
JSON representation is shown from stable Microsoft Graph v1.0 metadata.
{
"content": "String"
}
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
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.Security.AttackSimulation.Operations["{attackSimulationOperation-id}"].GetAsync();
const options = {
authProvider,
};
const client = Client.init(options);
let attackSimulationOperation = await client.api('/security/attackSimulation/operations/f1b13829-3829-f1b1-2938-b1f12938b1a')
.get();
Import-Module Microsoft.Graph.Security
Get-MgSecurityAttackSimulationOperation -AttackSimulationOperationId $attackSimulationOperationId
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
result = await graph_client.security.attack_simulation.operations.by_attack_simulation_operation_id('attackSimulationOperation-id').get()
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 AttackSimulation.Read.All
Grant Admin Consent
Application permissions always require admin consent.
Frequently asked questions
What is the AttackSimulation.Read.All Microsoft Graph permission?
AttackSimulation.Read.All is available as both an application permission and a delegated permission in the Microsoft Graph API, grouped under the AttackSimulation category. Allows the app to read attack simulation and training data for an organization 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 report resource type. 61 documented Microsoft Graph REST methods require it. 45 Microsoft Graph PowerShell commands are documented for it.
Is AttackSimulation.Read.All an application or a delegated permission?
AttackSimulation.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 AttackSimulation.Read.All require admin consent?
Application permissions always require admin consent.
What is the permission ID (GUID) for AttackSimulation.Read.All?
For AttackSimulation.Read.All, the application (app role) ID is 93283d0a-6322-4fa8-966b-8c121624760d, and the delegated (OAuth2 scope) ID is 104a7a4b-ca76-4677-b7e7-2f4bc482f381. These are the real Microsoft Graph identifiers and can be used directly in an app registration manifest.