Jan 15 2020 01:23 AM
Hi,
I found the hidden list "Sharing Links" on a SharePoint site.
Oct 17 2022 10:52 AM - edited Oct 17 2022 10:54 AM
SharingDocId is Document UniqueId of the Document/folder in the document libraries
$SharingDocId = "<SharingDocId>"
$Ctx = Get-PnPContext
$file = $ctx.Web.GetFileById($SharingDocId)
$ctx.Load($file)
$ctx.ExecuteQuery()