microsoft-graph-explorer-v4 icon indicating copy to clipboard operation
microsoft-graph-explorer-v4 copied to clipboard

The Modify Permissions tab fails to populate and shows "Permissions for the query are missing on this tab"

Open markwiese opened this issue 1 year ago • 3 comments

Describe the bug For every endpoint in the Graph API Explorer, the Modify Permissions tab fails to populate with a list of the permissions required for the endpoint and instead, an error message is shown "Permissions for the query are missing on this tab".

To Reproduce Steps to reproduce the behavior:

  1. Go to Graph API Explorer
  2. Click on any endpoint
  3. Click on Modify Permissions tab
  4. See error

Expected behavior Expected behaviour is to see a list of permissions required for the endpoint based on data fetched from https://devxapi-func-prod-eastus.azurewebsites.net/permissions?method=GET&scopeType=DelegatedWork&requesturl={request URL here}

For example, for the /me endpoint, the required permissions should be returned by this URL: https://devxapi-func-prod-eastus.azurewebsites.net/permissions?method=GET&scopeType=DelegatedWork&requesturl=/me

Screenshots Screenshot of the error attached. Screenshot 2024-12-11 145728

Desktop (please complete the following information):

  • OS: Windows 11 24H2
  • Browser: Chrome
  • Version: 131.0.6778.109

Additional context Calls to https://devxapi-func-prod-eastus.azurewebsites.net/permissions?method=GET&scopeType=DelegatedWork work and seem to return a list of all permissions used by Graph API Explorer. However, when the requesturl parameter is included in the query string (as is included by the Graph Explorer UI), the result is always a status code 404 Not Found.

markwiese avatar Dec 11 '24 04:12 markwiese

Hi @markwiese , the team is looking into this

ElinorW avatar Dec 11 '24 14:12 ElinorW

Hi @markwiese, we followed up with the API team and this is now fixed. Thank you for raising this issue.

Mnickii avatar Dec 18 '24 14:12 Mnickii

Most endpoints seem to be working, now. Thank you. However, I have found at least these 2 that are still returning a 404 status:

  • https://devxapi-func-prod-eastus.azurewebsites.net/permissions?scopeType=DelegatedWork&requesturl=/sites/root/drives&method=GET
  • https://devxapi-func-prod-eastus.azurewebsites.net/permissions?scopeType=DelegatedWork&requesturl=/sites/{sites-id}/{server-relative-path}&method=GET

markwiese avatar Dec 18 '24 21:12 markwiese