{"id":24660,"date":"2025-09-04T00:54:30","date_gmt":"2025-09-04T07:54:30","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/?p=24660"},"modified":"2025-09-04T00:54:30","modified_gmt":"2025-09-04T07:54:30","slug":"dev-proxy-v1-1-with-improved-support-for-microsoft-graph-batching","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/dev-proxy-v1-1-with-improved-support-for-microsoft-graph-batching\/","title":{"rendered":"Dev Proxy v1.1 with improved support for Microsoft Graph batching"},"content":{"rendered":"<p>We&#8217;re excited to announce the release of Dev Proxy v1.1. This update delivers critical fixes for Microsoft Graph batch request simulation, resolves authentication plugin issues, and enhances the MinimalPermissionsGuidancePlugin with new reporting capabilities.<\/p>\n<p>In this version:<\/p>\n<ul>\n<li>Fixed Microsoft Graph batch response handling<\/li>\n<li>Resolved authentication plugin initialization issues<\/li>\n<li>Enhanced MinimalPermissionsGuidancePlugin with markdown and text reports<\/li>\n<li>Added scope filtering for permissions guidance<\/li>\n<li>Performance optimizations for MSGraphDb generation<\/li>\n<\/ul>\n<h2>Fixed Microsoft Graph batch response handling<\/h2>\n<p>We&#8217;ve addressed a critical issue where the <strong>GraphRandomErrorPlugin<\/strong> incorrectly returned HTTP status code <strong>424<\/strong> instead of <strong>200<\/strong>\u00a0for Microsoft Graph batch requests containing failed individual requests.<\/p>\n<p><strong>What changed:<\/strong><\/p>\n<ul>\n<li>Batch responses now correctly return <strong>HTTP 200 OK<\/strong> as per Microsoft Graph specifications<\/li>\n<li>Individual requests within batches maintain their proper error codes (e.g., 429 for throttling)<\/li>\n<li>Fixed exception handling that was silently swallowing errors during batch processing<\/li>\n<\/ul>\n<p>This fix ensures your applications receive the correct response patterns when testing Microsoft Graph batch operations, helping you build more reliable integrations.<\/p>\n<h2>Resolved authentication plugin initialization issues<\/h2>\n<p>The <strong>AuthPlugin<\/strong> was experiencing initialization problems where the &#8216;Enabled&#8217; property was being incorrectly overridden to &#8216;false&#8217;, preventing proper authentication simulation regardless of your configuration settings.<\/p>\n<p><strong>The fix:<\/strong><\/p>\n<ul>\n<li>Removed the hardcoded &#8216;Enabled = false&#8217; override in the plugin initialization<\/li>\n<li>Your authentication configuration settings are now properly respected<\/li>\n<li>Authentication simulation works correctly across all supported flows<\/li>\n<\/ul>\n<p>If you&#8217;ve been experiencing authentication issues since version 0.29.0, this update will restore the expected functionality.<\/p>\n<h2>Enhanced MinimalPermissionsGuidancePlugin with new reporting<\/h2>\n<p>We&#8217;ve significantly improved the <strong>MinimalPermissionsGuidancePlugin<\/strong> to provide more actionable insights for your Microsoft Graph applications:<\/p>\n<p><strong>New features:<\/strong><\/p>\n<ul>\n<li><strong>Markdown and plain text report formats<\/strong> for better documentation integration<\/li>\n<li><strong>Scope filtering capabilities<\/strong>\u00a0to ignore specific permissions in your analysis<\/li>\n<li><strong>Performance optimizations<\/strong> for faster MSGraphDb generation<\/li>\n<\/ul>\n<p>These enhancements make it easier to understand and document the minimal permissions your applications actually need, helping you follow the principle of least privilege more effectively.<\/p>\n<h2>Dev Proxy Toolkit<\/h2>\n<p><a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=garrytrinder.dev-proxy-toolkit\">Dev Proxy Toolkit<\/a> is an extension that makes it easier to work with Dev Proxy from within Visual Studio Code. Alongside the new release of Dev Proxy, we\u2019ve also released a new version of the toolkit, v1.2.0.<\/p>\n<p>In this version, we\u2019ve:<\/p>\n<ul>\n<li>Updated all JSON snippets to use v1.1.0 schemas<\/li>\n<li>Added new YAML snippets for <a href=\"https:\/\/github.com\/marketplace\/actions\/dev-proxy-actions\">Dev Proxy GitHub Actions<\/a><\/li>\n<\/ul>\n<p>Checkout out the <a href=\"https:\/\/marketplace.visualstudio.com\/items\/garrytrinder.dev-proxy-toolkit\/changelog\">changelog<\/a> for more information on changes and bug fixes.<\/p>\n<h2>Try it now<\/h2>\n<p>Download <strong>Dev Proxy v1.1.0<\/strong> today and experience more accurate Microsoft Graph simulation and improved authentication testing! Thanks to <a href=\"https:\/\/github.com\/bartizan\">Artem Azaraev<\/a> for contributing to this release.<\/p>\n<p>Got feedback or ideas? <a href=\"https:\/\/github.com\/dotnet\/dev-proxy\/discussions\">Join us<\/a> and be part of the conversation.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introducing Dev Proxy v1.1 with critical fixes for Microsoft Graph batch request simulation, resolved authentication plugin issues, and enhanced the MinimalPermissionsGuidancePlugin with new reporting capabilities.<\/p>\n","protected":false},"author":74222,"featured_media":24661,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[186,289],"class_list":["post-24660","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-365-developer","tag-net","tag-dev-proxy"],"acf":[],"blog_post_summary":"<p>Introducing Dev Proxy v1.1 with critical fixes for Microsoft Graph batch request simulation, resolved authentication plugin issues, and enhanced the MinimalPermissionsGuidancePlugin with new reporting capabilities.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/24660","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/users\/74222"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/comments?post=24660"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/24660\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media\/24661"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media?parent=24660"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/categories?post=24660"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/tags?post=24660"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}