4

Microsoft 365 Developer Proxy v0.9 with over-consenting guidance

 1 year ago
source link: https://devblogs.microsoft.com/microsoft365dev/microsoft-365-developer-proxy-v0-9-with-over-consenting-guidance/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Microsoft 365 Developer Proxy v0.9 with over-consenting guidance

IMG_3180-small-96x96.jpg

Waldek Mastykarz

Garry-Trinder-96x96.jpg

Garry Trinder

June 28th, 20230 0

In the latest preview version of the Microsoft 365 Developer Proxy, we are introducing the preview ability to detect over-consented apps that use Microsoft Graph.

Download Microsoft 365 Developer Proxy v0.9 and check if your apps properly handle API errors.

Detect over-consented apps that use Microsoft Graph

Previously, we introduced support for detecting minimal permissions for calling Microsoft Graph APIs. By recording a series of API requests, you can have the Developer Proxy automatically detect what minimal permissions your app needs to call these APIs. This feature is not only great for your productivity, but also helps you build apps that are secure.

In this version, we continued our work related to minimal permissions and introduce a new plugin which helps you find if your app has more permissions than what it needs (also known as over-consenting).

Similarly to the minimal permissions plugin we introduced previously, the new plugin uses the Developer Proxy’s recording mode to capture the series of Microsoft Graph API requests issued by your app. When you stop the recording, the plugin will compare the scopes/roles on the access token with the minimal permissions needed to call the captured APIs and warn you if your token uses more/broader permissions.

Terminal with Microsoft 365 Developer Proxy running and warning about over-consented app

We compare permissions from the access token with minimal permissions locally and are not uploading your access token to any external API.

This new plugin detects over-consenting for both application- and delegated permissions. For more information about how it works, see the documentation.

We’re releasing this feature in preview and will continue to improve its accuracy. We’d love to hear feedback on how it works and how we can make it better.

New name, the same awesome tool

Following our announcement in May, we’re releasing this version under the new name of Microsoft 365 Developer Proxy. We hope that it will make it clearer that you can use this tool with Microsoft Graph and any other API on Microsoft 365 and beyond.

As a part of the rename, we renamed the repository and moved it to the Microsoft organization on GitHub. We’ve also changed the name of the executable to m365proxy which you’ll now use to start the proxy on your machine.

Try it now

Download Microsoft 365 Developer Proxy v0.9 and check if your apps properly handle API errors.

We’re excited about this new version and can’t wait for you to try it out. We look forward to hearing from you about these improvements and how we can continue to make the Microsoft 365 Developer Proxy even better.

Follow us on Twitter @Microsoft365Dev to stay up to date on the latest developer news and announcements.

Happy coding!

Waldek Mastykarz Senior Developer Advocate for Microsoft 365, Microsoft 365 Advocacy

Follow

Garry Trinder Senior Cloud Advocate for Microsoft 365

Follow


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK