knockynguyen
Jul 12, 2021Copper Contributor
Status:
New
Graph API Scope 'Sites.Selected' should include read/write to selected site's lists
Scenario and Result My app has been given read/write permissions to a customer's Site. My app can read and write items in the selected site's default document library, which is as expected. But it ...
Relair
Apr 19, 2022Copper Contributor
Read or write roles are not adequate to create document library, that's why you need 'fullcontrol' permission.
You would ask "How to add it given that the API doesn't accept it while creating permission?", well there is a workaround when you create a permission with 'read' or 'write' role and then use patch (against permission ID) to change the role to 'fullcontrol'.
This probably should be better documented by Microsoft, but at least there is a way to make it work with 'Sites.Selected' scope.