get all the Shared link from SharePoint Library for all document in CSV file

Copper Contributor

Hi All, 

 

I need to fetch all the share link for each document from sharepoint library using powershell. We should not want to go again and again for each document and copy the link from each file. Is there anyway to copy the share link or generate the link and download it in CSV file from SharePoint Online. 

1 Reply
Nothing provided by default in the platform...this new capability might help: https://aka.ms/spoexternalaccessexpiration...but I would recommed you to take a look a the following sources:
- SPO PowerShell cmdlets
- PnP PowerShell cmdlets
- SPO APIs