Skip to content

Switches Graph permissions API to graph-devx-api.microsoft.com - #1900

Merged
garrytrinder merged 1 commit into
dotnet:mainfrom
waldekmastykarz:waldekmastykarz-switch-graph-permissions-api-host
Sep 29, 2026
Merged

garrytrinder merged 1 commit into
dotnet:mainfrom
waldekmastykarz:waldekmastykarz-switch-graph-permissions-api-host

Conversation

@waldekmastykarz

Copy link
Copy Markdown
Collaborator

The Graph permissions API host devxapi-func-prod-eastus.azurewebsites.net now returns 403 Access denied, so the minimal permissions plugins can't look up permissions. This PR switches them to graph-devx-api.microsoft.com, the host Graph Explorer uses.

Updated:

  • GraphUtils
  • GraphMinimalPermissionsPlugin
  • GraphMinimalPermissionsGuidancePlugin

Verified: the new host returns 200 with permission results for /permissions?scopeType=DelegatedWork. The old host returns 403.

The devxapi-func-prod-eastus.azurewebsites.net host returns 403 Access denied. Use the same host as Graph Explorer.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The focused host replacement is complete and consistent across all permission API call sites.

Review effort: Balanced
Findings: None

What changed in this PR

Switches Microsoft Graph permission lookups to the operational Graph DevX API host.

Changes:

  • Updates permission lookup URLs across Graph utilities and reporting plugins.
  • Preserves existing request parameters and payload behavior.
File Description
DevProxy.Plugins/​Utils/​GraphUtils.cs Updates per-endpoint permission lookups.
DevProxy.Plugins/​Reporting/​GraphMinimalPermissionsPlugin.cs Updates minimal-permissions queries.
DevProxy.Plugins/​Reporting/​GraphMinimalPermissionsGuidancePlugin.cs Updates permission-guidance queries.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@garrytrinder
garrytrinder merged commit 07c29b8 into dotnet:main Sep 29, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-bugfix Fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants