--- title: "Review Consent Phishing Protection and Attack Simulation Policies in Microsoft 365" slug: "dex-wf-review-consent-phishing-attack-simulation" updated: 2026-11-30T16:15:47Z published: 2026-11-30T16:15:47Z canonical: "documentation.sysaid.com/dex-wf-review-consent-phishing-attack-simulation" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.sysaid.com/llms.txt > Use this file to discover all available pages before exploring further. # Review Consent Phishing Protection and Attack Simulation Policies in Microsoft 365 Audit user consent settings and phishing simulation campaigns across Entra ID and Microsoft Defender. **Complexity:** Intermediate. **Impact:** security + compliance + identity + phishing-defense + audit. ## Why use this workflow Consent phishing (also called *illicit consent grant* attacks) is a growing threat where attackers trick users into granting OAuth permissions to malicious applications, bypassing MFA entirely. Microsoft 365 provides two complementary defenses: - **User consent settings** in Entra ID, which restrict when and how end users can grant permissions to third-party apps. - **Attack Simulation Training** in Microsoft Defender for Office 365, which runs benign phishing campaigns against your users to measure and improve resilience. This workflow walks you through auditing both configurations so you know where they live, what state they are in, and whether your tenant is adequately protected. Run this workflow during any of the following: - Quarterly security posture reviews - Incident response after a suspected consent phishing event - Onboarding a new tenant or a new Defender license - Compliance audits (for example ISO 27001, SOC 2, or NIST CSF) ## Expected outcomes - The current `authorizationPolicy` and permission grant policy assignments for your tenant are documented. - You confirmed whether the **admin consent workflow** is enabled. - You have a list of active, scheduled, and historical attack simulations (or confirmation that none exist). - You know where each setting is managed in the Entra admin center and the Microsoft Defender portal. - You have actionable recommendations for tightening consent controls and scheduling baseline phishing simulations. ## Risks and considerations ### Things to watch out for - **Do not tighten consent settings without communication.** Moving from *Allow user consent for verified publishers* to *Do not allow user consent* can break legitimate apps that users have self-service onboarded. Enable the admin consent workflow first so users have a path to request access. - **Attack Simulation Training requires Microsoft Defender for Office 365 Plan 2.** If the Defender portal does not show the feature, verify licensing before you assume nothing is configured. - **Running a simulation without coordinating with HR and the help desk** can trigger a flood of phishing reports and user anxiety. Communicate the *program* (not the timing) in advance. - The `AttackSimulation.Read.All` permission is required to enumerate simulations through Graph. A 204 response may mean either "no simulations exist" or insufficient permissions. Verify both. - Changes to the authorization policy apply tenant-wide. Test in a pilot group where possible by using custom permission grant policies. ## Required permissions | Permission | Why it's needed | | --- | --- | | Policy.Read.All | Read the tenant authorizationPolicy and permission grant policy assignments. | | Policy.ReadWrite.Authorization | Required if you plan to modify user consent settings after the review. | | AttackSimulation.Read.All | Enumerate attack simulation campaigns and their status through the Security API. | | Directory.Read.All | Resolve tenant-level identity context when you inspect consent policies. | ## Ask Dex Paste the prompt into a Dex conversation. ### Prompt for IT admins ``` Audit our Microsoft 365 tenant for consent phishing protection and attack simulation coverage. Report the current user consent setting in Entra ID, which permission grant policies are assigned, whether the admin consent workflow is enabled, and list any active or scheduled Attack Simulation Training campaigns. Flag any gaps and recommend remediation. ``` ## Manual steps (admin center) ### Part 1: Review user consent settings (Entra admin center) 1. Sign in to the [Microsoft Entra admin center](https://entra.microsoft.com) with a Global Administrator or Security Administrator role. 2. Go to **Identity** > **Applications** > **Enterprise applications** > **Consent and permissions**. 3. Open the **User consent settings** tab and note the current selection: - *Do not allow user consent* (most restrictive) - *Allow user consent for apps from verified publishers, for selected permissions* (the Microsoft-recommended setting) - *Allow user consent for all apps* (least restrictive, not recommended) 4. Open the **Group owner consent settings** tab and confirm group-level consent is appropriately scoped. 5. Open the **Admin consent settings** tab and verify that **Users can request admin consent to apps they are unable to consent to** is set to `Yes`. Confirm that reviewers (a group or specific users) are configured. 6. Optionally, review which delegated permissions are classified as low risk under **Identity** > **Applications** > **Enterprise applications** > **Consent and permissions** > **Permission classifications**. ### Part 2: Review attack simulation policies (Microsoft Defender portal) 1. Sign in to the [Microsoft Defender portal](https://security.microsoft.com). 2. In the left navigation, go to **Email & collaboration** > **Attack simulation training**. 3. Review each tab: - **Overview:** summary dashboard of recent activity and repeat offenders. - **Simulations:** list of all simulations (Draft, In progress, Scheduled, Completed, Cancelled). - **Simulation automations:** recurring automated campaigns. - **Payload automations:** automated payload harvesting. - **Training:** assigned training modules and completion rates. - **Settings:** end-user notifications, excluded users, and repeat offender thresholds. 4. Record the count of active simulations and note any that are in a *Failed* or *Cancelled* state. 5. If no simulations exist and the feature is licensed, consider scheduling a baseline **Credential Harvest** simulation that targets a small pilot group. ## Microsoft Graph API Retrieve the tenant-wide authorization policy, which governs default user consent behavior. ``` GET https://graph.microsoft.com/v1.0/policies/authorizationPolicy ``` **Sample response (truncated):** ``` {  "id": "authorizationPolicy",  "allowInvitesFrom": "everyone",  "defaultUserRolePermissions": {    "permissionGrantPoliciesAssigned": [      "ManagePermissionGrantsForSelf.microsoft-user-default-recommended",      "ManagePermissionGrantsForSelf.microsoft-user-default-allow-consent-apps"    ]  } } ``` Interpret the `permissionGrantPoliciesAssigned` array: - `microsoft-user-default-low`: strictest, low-risk permissions only - `microsoft-user-default-recommended`: Microsoft-recommended baseline (verified publishers) - `microsoft-user-default-legacy`: legacy behavior, permissive - Empty array: user consent is disabled ### Inspect a specific permission grant policy ``` GET https://graph.microsoft.com/v1.0/policies/permissionGrantPolicies/microsoft-user-default-recommended ``` ### List attack simulations ``` GET https://graph.microsoft.com/beta/security/attackSimulation/simulations ``` **Response codes:** - `200 OK` with a `value` array: simulations exist. Inspect `status`, `launchDateTime`, and `completionDateTime` for each. - `204 No Content`: no simulations configured in the tenant. - `403 Forbidden`: missing `AttackSimulation.Read.All` scope. ### List simulation automations ``` GET https://graph.microsoft.com/beta/security/attackSimulation/simulationAutomations ``` ### Retrieve per-user simulation results ``` GET https://graph.microsoft.com/beta/security/attackSimulation/simulations/{id}/report/simulationUsers ``` ## PowerShell This approach is read-only. It performs no writes, so it is safe to run in any tenant. ### Prerequisites - PowerShell 7 or later (or Windows PowerShell 5.1 with the Microsoft.Graph module) - `Install-Module Microsoft.Graph -Scope CurrentUser` - An account with at minimum the **Security Reader** role ### Approach 1. Connect to Graph with the `Policy.Read.All` and `AttackSimulation.Read.All` scopes. 2. Read the tenant `authorizationPolicy` and decode the assigned permission grant policies into plain language. 3. List all attack simulations and automations, flagging whether any are currently active. 4. Output a summary to the console and optionally export it to CSV.