Share via

Microsoft Graph Permissions, how to access only the files under a specific group only

Goksel Uyulmaz 0 Reputation points
2024-11-26T11:22:16.3466667+00:00

Hi,

I want to be able to access as Files.ReadWrite, only the files under a specific group. I dont want to allow access to all organization files or a specific user files, only to that specific group files.

I want to access this group files with a deamon app, that will run at background.

How can I achieve this at entra -> app registration -> api permissions.

Microsoft Security | Microsoft Graph
0 comments No comments

1 answer

Sort by: Most helpful
  1. Vasil Michev 127K Reputation points MVP Volunteer Moderator
    2024-11-26T17:27:16.5+00:00

    Use the Sites.Selected scope as detailed here: https://learn.microsoft.com/en-us/graph/permissions-selected-overview?tabs=http

    If you want to grant permissions to specific files only, use Files.SelectedOperations.Selected instead.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.