Rest Api Generate Guest Link SharePoint Online

The CreateAnonymousLink method creates an anonymous link with option either to read or edit. It is quite useful to share documents with external users.

The drawback is that anyone with the link can view/edit the document shared without sign-in.

The method “CreateAnonymousLink ” accomplishes the same as “View Link – no sign-in required” and “Edit Link -no sign-in required” from the UI.createanonymouslink

Once the link is generated, it can be sent by email to the relevant individuals.