question

saipranav avatar image
0 Votes"
saipranav asked Danstan-MSFT answered

Graph API - Create permission

Hello

using https://graph.microsoft.com/Sites.Selected and adding creating permission (https://docs.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-graph-sdk
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Danstan-MSFT avatar image
0 Votes"
Danstan-MSFT answered

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.











5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.