Closed MathijsVerbeeck closed 1 month ago
Please check other commands that have some small naming corrections + additional site-relative URL for folderUrl
.
besides that LGTM.
@pnp/cli-for-microsoft-365-maintainers, anyone else?
Can I work on this issue?
All yours @Saurabh7019!
Usage
m365 spo folder sharinglink list [options]
Description
Lists all the sharing links of a specific folder
Options
-u, --webUrl <webUrl>
--folderUrl [folderUrl]
folderUrl
orfolderId
but not both--folderId [folderId]
folderUrl
orfolderId
but not both--scope [scope]
anonymous
,users
ororganization
. By default all sharing links are listedExamples
List sharing links of a folder by id
List sharing links of a folder by url
Default properties
Additional Info
To get the specified data, we will have to use the Graph API. More documentation can be found below: https://learn.microsoft.com/en-us/graph/api/resources/permission?view=graph-rest-1.0