Microsoft Dev Proxy is an open-source CLI tool published by Microsoft. In a Graph context, its GraphMinimalPermissionsGuidancePlugin intercepts requests issued from a developer's machine, compares the scopes present in the token to the scopes actually required, and reports unnecessary permissions at the end of a recording session.
It is a well-designed tool, actively maintained, and genuinely useful. Teams building Graph-based applications — whether .NET, Node.js, or PowerShell SDK — should use it as part of their development workflow. It closes a real gap: before Dev Proxy, mapping Graph endpoints to their minimal permission set was a manual, error-prone exercise.
If you are not using Dev Proxy during development, you probably should. It is free, open-source, and takes only a few minutes to set up.