microsoftgraph / microsoft-graph-explorer-v4

React/Redux version of Graph Explorer used to learn the Microsoft Graph Api
https://developer.microsoft.com/graph/graph-explorer
MIT License
213 stars 93 forks source link

Path does not contain permissions information. Does not seem to be documented anywhere #2242

Closed garport closed 1 year ago

garport commented 1 year ago

[[Describe the bug When I try to post to this URL: https://graph.microsoft.com/beta/deviceManagement/reports/getAppStatusOverviewReport With this body: { "filter": "(ApplicationId eq 'efd328e8-c746-4b70-ad10-38594c1f0e09')" } I get this error: { "error": { "code": "UnknownError", "message": "{\"ErrorCode\":\"Forbidden\",\"Message\":\"{\ \\"_version\\": 3,\ \\"Message\\": \\"An error has occurred - Operation ID (for customer support): 00000000-0000-0000-0000-000000000000 - Activity ID: 820c8b70-fa74-0303-b6b3-0166b70e2b10 - Url: https://fef.msua08.manage.microsoft.com/AppLifecycle_2211/StatelessAppMetadataFEService/deviceManagement/reports/microsoft.management.services.api.getAppStatusOverviewReport?api-version=5022-09-01\\",\ \\"CustomApiErrorPhrase\\": \\"\\",\ \\"RetryAfter\\": null,\ \\"ErrorSourceService\\": \\"\\",\ \\"HttpHeaders\\": \\"{\\\\"WWW-Authenticate\\\\":\\\\"Bearer realm=\\\\\\\\"urn:intune:service,9225b241-44e1-44a8-8bfe-c10e39177505,f0f3c450-59bf-4f0d-b1b2-0ef84ddfe3c7,3e9c57b9-808d-4aa0-9500-4b2d369279e7\\\\\\\\"\\\\"}\\"\}\",\"Target\":null,\"Details\":null,\"InnerError\":null,\"InstanceAnnotations\":[]}", "innerError": { "date": "2022-11-17T14:53:00", "request-id": "0a7d8080-29c0-43bc-816a-c7893a19f73e", "client-request-id": "820c8b70-fa74-0303-b6b3-0166b70e2b10" } } }

This query works on my admin account. I must be missing a permission, but it does not tell me which.

To Reproduce Steps to reproduce the behavior:

  1. In graph explorer, execute above query

Expected behavior Should show which permission is missing

Screenshots image

Desktop (please complete the following information):

Smartphone (please complete the following information): N/A

Additional context Add any other context about the problem here. ](https://graph.microsoft.com/beta/deviceManagement/reports/getAppStatusOverviewReport)](https://graph.microsoft.com/beta/deviceManagement/reports/getAppStatusOverviewReport)

ElinorW commented 1 year ago

Hi @garport , This seems like an issue with the Graph API and the API Documentation. We only handle Graph Explorer-related queries. For help with this issue, please post this question here: https://learn.microsoft.com/en-us/answers/products/graph where the appropriate team shall be able to offer more assistance.

ghost commented 1 year ago

Hello garport

Thank you for reporting your concern. Unfortunately, we in the Graph Explorer team do not have any ownership of the APIs that are causing you issues. If you report this issue in the Microsoft Q&A forum, it will get routed to the appropriate team for them to triage.

https://aka.ms/askgraph

ghost commented 1 year ago

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.