Change SharePoint Permission via MSGraph
This is me tidying up notes from the old archives.
Use Microsoft Graph to change the SharePoint permission instead of clicking it by hand.
What changed later
In the roundup version of this post, the note on this row is now simply:
- MSGraph: now use Send HTTP to SharePoint
Replies and screenshots
Replies from the thread:
The screenshots from the thread show the basic flow:
- SharePoint manage access on the target folder
- a Flow with client ID, client secret, and tenant ID inputs
- an HTTP
POSTtohttps://graph.microsoft.com/beta/sites/root/drive/root:/Stuffed:/invite - the run output showing the permission grant
- the new user added to access
- the folder showing the shared access entry





The original tweet:
Discussions