Open MathijsVerbeeck opened 3 months ago
m365 spo folder sharinglink get [options]
Gets details about a specific sharing link on a folder
-u, --webUrl <webUrl>
--folderUrl [folderUrl]
folderUrl
folderId
--folderId [folderId]
-i, --id <id>
Gets a specific sharing link of a folder by id
m365 spo folder sharinglink get --webUrl https://contoso.sharepoint.com/sites/demo --id 1 --folderId daebb04b-a773-4baa-b1d1-3625418e3234
Gets a specific sharing link of a folder by url
m365 spo folder sharinglink get --webUrl https://contoso.sharepoint.com/sites/demo --id 1 --folderUrl /sites/demo/shared%20documents/Folder
No response
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
Can I work on it?
Sure, thanks!
Usage
m365 spo folder sharinglink get [options]
Description
Gets details about a specific sharing link on a folder
Options
-u, --webUrl <webUrl>
--folderUrl [folderUrl]
folderUrl
orfolderId
but not both--folderId [folderId]
folderUrl
orfolderId
but not both-i, --id <id>
Examples
Gets a specific sharing link of a folder by id
Gets a specific sharing link of a folder by url
Default properties
No response
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