Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
markwiese opened this issue Dec 11, 2024 · 3 comments
Labels
ToTriage type:bug Something isn't working

Comments

@markwiese
Copy link

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.

@ElinorW ElinorW added the type:bug Something isn't working label Dec 11, 2024
@ElinorW
Copy link
Contributor

ElinorW commented Dec 11, 2024

Hi @markwiese , the team is looking into this

@Mnickii
Copy link
Contributor

Mnickii commented Dec 18, 2024

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

@markwiese
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ToTriage type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants