-
Notifications
You must be signed in to change notification settings - Fork 80
[BUG]: GraphMinimalPermissionsGuidancePlugin - Couldn't determine minimal permissions for the following URLs: - (No permissions found.) #1605
Copy link
Copy link
Labels
Description
Description
Running the devproxy with GraphMinimalPermissionsGuidancePlugin fails to output any result, stating Couldn't determine minimal permissions for the following URLs: - (No permissions found.)
info Dev Proxy API listening on http://127.0.0.1:8897...
info Dev Proxy listening on 127.0.0.1:8000...
Hotkeys: issue (w)eb request, (r)ecord, (s)top recording, (c)lear screen
Press CTRL+C to stop Dev Proxy
◉ Recording...
req ╭ GET https://graph.microsoft.com/v1.0/groups?$filter=groupTypes%2Fany%28groupType%3A%20groupType%20eq%20%27Unified%27%29
time │ 27/03/2026 07:52:02 +00:00
pass ╰ Passed through
req ╭ GET https://graph.microsoft.com/v1.0/groups/098c6369-2985-42ba-9606-41de065849d2/members
time │ 27/03/2026 07:52:03 +00:00
pass ╰ Passed through
req ╭ GET https://graph.microsoft.com/v1.0/teams/098c6369-2985-42ba-9606-41de065849d2
time │ 27/03/2026 07:52:06 +00:00
pass ╰ Passed through
req ╭ GET https://graph.microsoft.com/v1.0/groups/098c6369-2985-42ba-9606-41de065849d2/settings
time │ 27/03/2026 07:52:09 +00:00
pass ╰ Passed through
○ Stopped recording
warn This plugin is in preview and may not return the correct results.
Please review the permissions and test your app before using them in production.
If you have any feedback, please open an issue at https://aka.ms/devproxy/issue.
info Excluding the following permissions: profile, openid, offline_access, email
info Evaluating application permissions for: GET /groups
fail Couldn't determine minimal permissions for the following URLs: - (No permissions found.)
info DONE
Expected behaviour
Dev Proxy should return a list of permissions scopes that are unnecessary based on the intercepted requests.
Actual behaviour
info Excluding the following permissions: profile, openid, offline_access, email
info Evaluating application permissions for: GET /groups
fail Couldn't determine minimal permissions for the following URLs: - (No permissions found.)
info DONE
Steps to reproduce
- Start dev proxy
- Start recording
- Execute requests
- Stop recording
Dev Proxy Version
2.3.0
Operating system (environment)
Windows
Shell
PowerShell
Configuration file
{
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v2.3.0/rc.schema.json",
"urlsToWatch": ["https://graph.microsoft.com/*"],
"plugins": [
{
"name": "GraphMinimalPermissionsGuidancePlugin",
"enabled": true,
"pluginPath": "~appFolder/plugins/DevProxy.Plugins.dll",
"configSection": "graphMinimalPermissionsGuidancePlugin"
}
],
"graphMinimalPermissionsGuidancePlugin": {
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v2.3.0/graphminimalpermissionsguidanceplugin.schema.json",
"permissionsToExclude": ["profile", "openid", "offline_access", "email"]
}
}Additional Info
No response
Reactions are currently unavailable