Forum Discussion
john john
May 20, 2023Steel Contributor
Using SharePoint REST API can we create a share link for specific users without sending invitation
Inside the SharePoint Online UI >> we can create a sharing link using "People you choose" + define View permission, as follow:- Where we define the user/s and the UI will send an imme...
May 21, 2023
Not with Rest API but Graph api can 🙂
https://learn.microsoft.com/en-us/graph/api/driveitem-createlink?view=graph-rest-1.0&tabs=http
https://learn.microsoft.com/en-us/graph/api/driveitem-createlink?view=graph-rest-1.0&tabs=http
- john johnMay 21, 2023Steel Contributor
Thanks for the reply.. Now i inspected the browser's network tab using browser developer tool >> and when i share a document using the "People you choose" option using the UI>> the browser will send these parameters, using a SharePoint end point named ShareLink:-
and using Power automate "Send http request to SharePoint', i were able to create such a sharing link:-
but i did not find any documentation from Microsoft regarding this end point and the parameters we can pass.. so can i guarantee that my above requests will work in the future?