Share via

Graph API - Create permission

Anil Kumar 6 Reputation points
2021-05-01T04:44:45.893+00:00

Hello

using https://graph.microsoft.com/Sites.Selected and adding creating permission (https://learn.microsoft.com/en-us/graph/api/site-post-permissions?view=graph-rest-1.0&tabs=http).
I am able to assign only one permission either read or write. can I assign both permissions?

Microsoft Security | Microsoft Graph
0 comments No comments

1 answer

Sort by: Most helpful
  1. Danstan Onyango 3,996 Reputation points Microsoft Employee
    2021-05-04T10:50:23.96+00:00

    I believe when you add read, the app will not have write permission to site content but when you assign write, it will have read too. So no, you 'cant add both' but write grants read too.

    Was this answer helpful?

    0 comments No comments

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.