0
votes

Trying to retrieve files for an MS Team with the following query: https://graph.microsoft.com/v1.0/groups/{id}/drive … but I am receiving "Access Denied"

I have made sure to grant the following permissions (and then some): Files.Read, Files.ReadWrite, Files.Read.All, Files.ReadWrite.All, Sites.Read.All, Sites.ReadWrite.All

I am simply trying to list the files. Am I using the wrong API call? What other permissions do I need to grant? TIA.

1

1 Answers

0
votes

The permissions required for each operation/entity are listed on the documentation page.

https://docs.microsoft.com/en-us/graph/api/group-get?view=graph-rest-1.0