You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update README with script purposes and usage details
Clarified the purpose of each script and added details on their specific functions, including auditing and risk assessment for Microsoft Entra applications.
Enumerates all Microsoft Entra application registrations and enterprise application service principals visible to the current Microsoft Graph session. Exports separate application and service-principal reports, plus a normalized combined CSV inventory. Reuses an existing Graph session by default and supports optional interactive connection using Application.Read.All.
291
291
292
+
The three scripts now have separated purposes:
293
+
294
+
BulkMultiPermExploitability.ps1
295
+
Finds high-risk application and delegated permissions across the inventory.
296
+
297
+
Profile-App.ps1
298
+
Creates a complete governance profile for one application.
299
+
300
+
Audit-AppDelegationRisks.ps1
301
+
Performs a focused delegated-consent risk assessment for one application.
302
+
303
+
292
304
### `BulkMultiPermExploitability.ps1`
293
305
BulkMultiPermExploitability.ps1 reviews Microsoft Entra applications for granted Microsoft Graph permissions that match a configurable high-risk permission catalog.
294
306
The script evaluates both:
@@ -318,19 +330,18 @@ Run ad hoc when investigating findings from BulkMultiPermExploitability.ps1, rev
318
330
```
319
331
320
332
### `Audit-AppDelegationRisks.ps1`
321
-
-**Purpose:** Focuses on delegated OAuth2 grants. Profiles a single service principal to audit delegated permission grants and identify high‑risk delegated scopes (e.g., mail, calendars, device management).
322
-
-**Use Case:** Flags **tenant‑wide consents** with risky scopes and resolves who can access the app.
323
-
-**Frequency:** Run **ad‑hoc** when reviewing suspicious or high‑risk apps.
333
+
Audits delegated OAuth consent grants for a single Microsoft Entra application, expands each granted scope into an individual record, and identifies high-impact delegated permissions using a built-in or caller-supplied risk catalog.
334
+
335
+
Identifies tenant-wide AllPrincipals consent, privileged delegated scopes, missing ownership, and principals assigned to access an enterprise application. Intended for evidence-driven application reviews, consent investigations, and least-privilege validation.
336
+
337
+
Run ad hoc when investigating suspicious applications, validating findings from BulkMultiPermExploitability.ps1, or reviewing privileged third-party integrations.
324
338
325
-
All scripts rely on the **[Microsoft.Graph PowerShell SDK](https://learn.microsoft.com/powershell/microsoftgraph/overview)**
326
-
Before running the scripts, establish a Graph session with sufficient rights:
0 commit comments