Least-privilege finder
Paste the calls your script or app makes: API paths, full Graph URLs, PowerShell cmdlets, or the code itself. You get the smallest set of permissions that covers all of them. Everything runs in your browser.
Capture every Graph call your script makes
Microsoft Graph PowerShell prints each raw request when debug output is on. Run your script that way, then paste the output here. The finder reads only the HTTP Method and Absolute Uri lines and ignores headers and response bodies.
1. Turn on debug output, run the script and copy the result to your clipboard:
$DebugPreference = 'Continue' .\MyScript.ps1 5>&1 | Out-String | Set-Clipboard $DebugPreference = 'SilentlyContinue'
For one command, add -Debug instead, for example Get-MgUser -All -Debug. To save to a file, use 5> graph-debug.txt.
2. Paste it into the box above. Each request is matched to its API, with IDs and email addresses in the URL treated as {id}.
Everything runs in your browser and nothing is uploaded. The share link holds only the API paths, not the IDs or names from your tenant.
| Permission | Covers |
|---|