@pnp/cli-microsoft365 9.0.0-beta.2f8dd1e → 9.0.0-beta.39e78b2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (187) hide show
  1. package/.eslintrc.cjs +1 -0
  2. package/allCommands.json +1 -1
  3. package/allCommandsFull.json +1 -1
  4. package/dist/Auth.js +10 -18
  5. package/dist/Command.js +50 -5
  6. package/dist/chili/chili.js +0 -23
  7. package/dist/cli/cli.js +100 -100
  8. package/dist/config.js +1 -1
  9. package/dist/m365/app/commands/permission/permission-add.js +9 -9
  10. package/dist/m365/cli/commands/cli-consent.js +3 -7
  11. package/dist/m365/commands/login.js +49 -96
  12. package/dist/m365/commands/setup.js +0 -4
  13. package/dist/m365/commands/status.js +2 -2
  14. package/dist/m365/connection/commands/connection-remove.js +6 -2
  15. package/dist/m365/connection/commands/connection-set.js +4 -1
  16. package/dist/m365/connection/commands/connection-use.js +25 -4
  17. package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-add.js +13 -13
  18. package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-get.js +18 -18
  19. package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-list.js +1 -1
  20. package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-remove.js +123 -0
  21. package/dist/m365/entra/commands/group/group-set.js +256 -0
  22. package/dist/m365/entra/commands/group/group-user-list.js +4 -4
  23. package/dist/m365/entra/commands/m365group/m365group-conversation-post-list.js +4 -4
  24. package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-list.js +3 -3
  25. package/dist/m365/entra/commands/m365group/m365group-set.js +66 -29
  26. package/dist/m365/entra/commands/m365group/m365group-user-add.js +109 -32
  27. package/dist/m365/entra/commands/m365group/m365group-user-list.js +6 -9
  28. package/dist/m365/entra/commands/m365group/m365group-user-set.js +159 -84
  29. package/dist/m365/entra/commands/multitenant/MultitenantOrganization.js +2 -0
  30. package/dist/m365/entra/commands/multitenant/multitenant-add.js +65 -0
  31. package/dist/m365/entra/commands/multitenant/multitenant-get.js +32 -0
  32. package/dist/m365/entra/commands/multitenant/multitenant-remove.js +118 -0
  33. package/dist/m365/entra/commands/multitenant/multitenant-set.js +72 -0
  34. package/dist/m365/entra/commands.js +7 -0
  35. package/dist/m365/external/commands/connection/connection-doctor.js +10 -24
  36. package/dist/m365/flow/commands/flow-get.js +1 -1
  37. package/dist/m365/flow/commands/flow-list.js +23 -24
  38. package/dist/m365/graph/commands/subscription/subscription-add.js +4 -2
  39. package/dist/m365/onenote/commands/notebook/notebook-add.js +132 -0
  40. package/dist/m365/onenote/commands.js +1 -0
  41. package/dist/m365/outlook/commands/message/message-get.js +11 -11
  42. package/dist/m365/pa/commands/app/app-export.js +13 -7
  43. package/dist/m365/spe/ContainerTypeProperties.js +2 -0
  44. package/dist/m365/spe/commands/containertype/containertype-list.js +49 -0
  45. package/dist/m365/spe/commands.js +2 -1
  46. package/dist/m365/spfx/commands/project/DeployWorkflow.js +1 -1
  47. package/dist/m365/spfx/commands/project/base-project-command.js +36 -126
  48. package/dist/m365/spfx/commands/project/project-github-workflow-add.js +1 -10
  49. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-get.js +16 -22
  50. package/dist/m365/spo/commands/cdn/cdn-get.js +12 -15
  51. package/dist/m365/spo/commands/cdn/cdn-set.js +6 -4
  52. package/dist/m365/spo/commands/commandset/commandset-get.js +31 -17
  53. package/dist/m365/spo/commands/contenttype/contenttype-field-list.js +124 -0
  54. package/dist/m365/spo/commands/field/field-list.js +1 -1
  55. package/dist/m365/spo/commands/file/file-copy.js +55 -34
  56. package/dist/m365/spo/commands/file/file-roleassignment-add.js +1 -1
  57. package/dist/m365/spo/commands/file/file-roleinheritance-break.js +1 -1
  58. package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +1 -1
  59. package/dist/m365/spo/commands/folder/folder-retentionlabel-ensure.js +1 -1
  60. package/dist/m365/spo/commands/folder/folder-set.js +0 -4
  61. package/dist/m365/spo/commands/folder/folder-sharinglink-get.js +86 -0
  62. package/dist/m365/spo/commands/folder/folder-sharinglink-list.js +110 -0
  63. package/dist/m365/spo/commands/group/group-member-add.js +103 -99
  64. package/dist/m365/spo/commands/list/ListInstance.js +6 -1
  65. package/dist/m365/spo/commands/list/list-get.js +9 -3
  66. package/dist/m365/spo/commands/list/list-list.js +1 -4
  67. package/dist/m365/spo/commands/list/list-roleassignment-add.js +46 -21
  68. package/dist/m365/spo/commands/list/list-roleassignment-remove.js +48 -46
  69. package/dist/m365/spo/commands/page/page-clientsidewebpart-add.js +2 -3
  70. package/dist/m365/spo/commands/page/page-text-add.js +2 -3
  71. package/dist/m365/spo/commands/site/site-appcatalog-remove.js +48 -24
  72. package/dist/m365/spo/commands/site/site-get.js +12 -16
  73. package/dist/m365/spo/commands/site/site-remove.js +1 -7
  74. package/dist/m365/spo/commands/spo-search.js +3 -4
  75. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-get.js +19 -5
  76. package/dist/m365/spo/commands/tenant/tenant-commandset-get.js +20 -6
  77. package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-restore.js +2 -22
  78. package/dist/m365/spo/commands.js +3 -1
  79. package/dist/m365/teams/commands/meeting/meeting-attendancereport-get.js +119 -0
  80. package/dist/m365/teams/commands/message/message-remove.js +112 -0
  81. package/dist/m365/teams/commands/message/message-restore.js +106 -0
  82. package/dist/m365/teams/commands.js +3 -0
  83. package/dist/m365/viva/commands/engage/engage-community-add.js +166 -0
  84. package/dist/m365/viva/commands/engage/engage-group-list.js +0 -5
  85. package/dist/m365/viva/commands/engage/engage-group-user-add.js +0 -5
  86. package/dist/m365/viva/commands/engage/engage-group-user-remove.js +0 -5
  87. package/dist/m365/viva/commands/engage/engage-message-add.js +0 -5
  88. package/dist/m365/viva/commands/engage/engage-message-get.js +0 -5
  89. package/dist/m365/viva/commands/engage/engage-message-like-set.js +0 -5
  90. package/dist/m365/viva/commands/engage/engage-message-list.js +0 -5
  91. package/dist/m365/viva/commands/engage/engage-message-remove.js +0 -5
  92. package/dist/m365/viva/commands/engage/engage-network-list.js +0 -5
  93. package/dist/m365/viva/commands/engage/engage-report-activitycounts.js +0 -8
  94. package/dist/m365/viva/commands/engage/engage-report-activityusercounts.js +0 -8
  95. package/dist/m365/viva/commands/engage/engage-report-activityuserdetail.js +0 -8
  96. package/dist/m365/viva/commands/engage/engage-report-deviceusagedistributionusercounts.js +0 -8
  97. package/dist/m365/viva/commands/engage/engage-report-deviceusageusercounts.js +0 -8
  98. package/dist/m365/viva/commands/engage/engage-report-deviceusageuserdetail.js +0 -8
  99. package/dist/m365/viva/commands/engage/engage-report-groupsactivitycounts.js +0 -8
  100. package/dist/m365/viva/commands/engage/engage-report-groupsactivitydetail.js +0 -8
  101. package/dist/m365/viva/commands/engage/engage-report-groupsactivitygroupcounts.js +0 -8
  102. package/dist/m365/viva/commands/engage/engage-search.js +0 -5
  103. package/dist/m365/viva/commands/engage/engage-user-get.js +0 -5
  104. package/dist/m365/viva/commands/engage/engage-user-list.js +0 -5
  105. package/dist/m365/viva/commands.js +1 -0
  106. package/dist/utils/drive.js +61 -0
  107. package/dist/utils/formatting.js +30 -1
  108. package/dist/utils/spo.js +143 -6
  109. package/dist/utils/teams.js +49 -0
  110. package/dist/utils/validation.js +19 -0
  111. package/dist/utils/zod.js +124 -0
  112. package/docs/docs/cmd/app/permission/permission-add.mdx +5 -5
  113. package/docs/docs/cmd/cli/cli-consent.mdx +1 -1
  114. package/docs/docs/cmd/connection/connection-use.mdx +8 -2
  115. package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-add.mdx +12 -12
  116. package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-get.mdx +14 -14
  117. package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-list.mdx +5 -5
  118. package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-remove.mdx +65 -0
  119. package/docs/docs/cmd/entra/group/group-add.mdx +0 -4
  120. package/docs/docs/cmd/entra/group/group-set.mdx +89 -0
  121. package/docs/docs/cmd/entra/group/group-user-list.mdx +7 -7
  122. package/docs/docs/cmd/entra/m365group/m365group-conversation-post-list.mdx +5 -5
  123. package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-list.mdx +3 -3
  124. package/docs/docs/cmd/entra/m365group/m365group-set.mdx +37 -7
  125. package/docs/docs/cmd/entra/m365group/m365group-user-add.mdx +28 -10
  126. package/docs/docs/cmd/entra/m365group/m365group-user-list.mdx +1 -1
  127. package/docs/docs/cmd/entra/m365group/m365group-user-set.mdx +35 -11
  128. package/docs/docs/cmd/entra/multitenant/multitenant-add.mdx +107 -0
  129. package/docs/docs/cmd/entra/multitenant/multitenant-get.mdx +94 -0
  130. package/docs/docs/cmd/entra/multitenant/multitenant-remove.mdx +58 -0
  131. package/docs/docs/cmd/entra/multitenant/multitenant-set.mdx +53 -0
  132. package/docs/docs/cmd/external/connection/connection-doctor.mdx +9 -9
  133. package/docs/docs/cmd/flow/flow-get.mdx +149 -283
  134. package/docs/docs/cmd/flow/flow-list.mdx +114 -56
  135. package/docs/docs/cmd/graph/subscription/subscription-add.mdx +18 -0
  136. package/docs/docs/cmd/onenote/notebook/notebook-add.mdx +169 -0
  137. package/docs/docs/cmd/outlook/message/message-get.mdx +5 -5
  138. package/docs/docs/cmd/pa/app/app-export.mdx +15 -9
  139. package/docs/docs/cmd/planner/plan/plan-remove.mdx +1 -1
  140. package/docs/docs/cmd/spe/containertype/containertype-list.mdx +102 -0
  141. package/docs/docs/cmd/spfx/project/project-github-workflow-add.mdx +11 -12
  142. package/docs/docs/cmd/spo/app/app-uninstall.mdx +1 -1
  143. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-get.mdx +88 -38
  144. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-list.mdx +22 -28
  145. package/docs/docs/cmd/spo/cdn/cdn-set.mdx +3 -3
  146. package/docs/docs/cmd/spo/commandset/commandset-get.mdx +75 -24
  147. package/docs/docs/cmd/spo/commandset/commandset-list.mdx +26 -32
  148. package/docs/docs/cmd/spo/contenttype/contenttype-field-list.mdx +172 -0
  149. package/docs/docs/cmd/spo/contenttype/contenttype-list.mdx +3 -3
  150. package/docs/docs/cmd/spo/field/field-list.mdx +3 -3
  151. package/docs/docs/cmd/spo/file/file-copy.mdx +119 -12
  152. package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +1 -1
  153. package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +2 -2
  154. package/docs/docs/cmd/spo/file/file-roleassignment-remove.mdx +1 -1
  155. package/docs/docs/cmd/spo/file/file-roleinheritance-break.mdx +1 -1
  156. package/docs/docs/cmd/spo/file/file-roleinheritance-reset.mdx +1 -1
  157. package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.mdx +2 -2
  158. package/docs/docs/cmd/spo/folder/folder-set.mdx +0 -6
  159. package/docs/docs/cmd/spo/folder/folder-sharinglink-get.mdx +110 -0
  160. package/docs/docs/cmd/spo/folder/folder-sharinglink-list.mdx +114 -0
  161. package/docs/docs/cmd/spo/group/group-member-add.mdx +34 -27
  162. package/docs/docs/cmd/spo/list/list-get.mdx +6 -0
  163. package/docs/docs/cmd/spo/list/list-list.mdx +5 -7
  164. package/docs/docs/cmd/spo/list/list-roleassignment-add.mdx +15 -3
  165. package/docs/docs/cmd/spo/list/list-roleassignment-remove.mdx +15 -3
  166. package/docs/docs/cmd/spo/listitem/listitem-retentionlabel-ensure.mdx +4 -4
  167. package/docs/docs/cmd/spo/listitem/listitem-retentionlabel-remove.mdx +1 -1
  168. package/docs/docs/cmd/spo/listitem/listitem-roleassignment-add.mdx +9 -9
  169. package/docs/docs/cmd/spo/listitem/listitem-roleassignment-remove.mdx +7 -7
  170. package/docs/docs/cmd/spo/site/site-appcatalog-remove.mdx +11 -2
  171. package/docs/docs/cmd/spo/site/site-recyclebinitem-list.mdx +1 -1
  172. package/docs/docs/cmd/spo/site/site-remove.mdx +0 -3
  173. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-get.mdx +79 -30
  174. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.mdx +20 -19
  175. package/docs/docs/cmd/spo/tenant/tenant-commandset-get.mdx +84 -38
  176. package/docs/docs/cmd/spo/tenant/tenant-commandset-list.mdx +20 -19
  177. package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-restore.mdx +2 -49
  178. package/docs/docs/cmd/spo/web/web-roleassignment-add.mdx +1 -1
  179. package/docs/docs/cmd/spo/web/web-roleassignment-remove.mdx +1 -1
  180. package/docs/docs/cmd/teams/meeting/meeting-attendancereport-get.mdx +138 -0
  181. package/docs/docs/cmd/teams/meeting/meeting-list.mdx +7 -3
  182. package/docs/docs/cmd/teams/message/message-remove.mdx +64 -0
  183. package/docs/docs/cmd/teams/message/message-restore.mdx +62 -0
  184. package/docs/docs/cmd/viva/engage/engage-community-add.mdx +168 -0
  185. package/npm-shrinkwrap.json +986 -1326
  186. package/package.json +27 -24
  187. package/dist/m365/viva/commands/engage/yammerCommands.js +0 -25
@@ -0,0 +1,110 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
4
+
5
+ # spo folder sharinglink get
6
+
7
+ Gets details about a specific sharing link on a folder
8
+
9
+ ## Usage
10
+
11
+ ```sh
12
+ m365 spo folder sharinglink get [options]
13
+ ```
14
+
15
+ ## Options
16
+
17
+ ```md definition-list
18
+ `-u, --webUrl <webUrl>`
19
+ : The URL of the site where the folder is located.
20
+
21
+ `--folderUrl [folderUrl]`
22
+ : The server- or site-relative decoded URL of the folder. Specify either `folderUrl` or `folderId` but not both.
23
+
24
+ `--folderId [folderId]`
25
+ : The Unique ID (GUID) of the folder. Specify either `folderUrl` or `folderId` but not both.
26
+
27
+ `-i, --id <id>`
28
+ : The sharing link ID.
29
+ ```
30
+
31
+ <Global />
32
+
33
+ ## Examples
34
+
35
+ Gets a specific sharing link of a folder by id.
36
+
37
+ ```sh
38
+ m365 spo folder sharinglink get --webUrl https://contoso.sharepoint.com/sites/demo --id 45fa6aed-362f-48b1-b04e-6da85a526506 --folderId daebb04b-a773-4baa-b1d1-3625418e3234
39
+ ```
40
+
41
+ Gets a specific sharing link of a folder by url.
42
+
43
+ ```sh
44
+ m365 spo folder sharinglink get --webUrl https://contoso.sharepoint.com/sites/demo --id 45fa6aed-362f-48b1-b04e-6da85a526506 --folderUrl "/sites/demo/shared documents/folder"
45
+ ```
46
+
47
+ ## Response
48
+
49
+ <Tabs>
50
+ <TabItem value="JSON">
51
+
52
+ ```json
53
+ {
54
+ "id": "d6f6a428-9857-471f-9635-edd68d5aa6c1",
55
+ "roles": [
56
+ "write"
57
+ ],
58
+ "shareId": "u!aHR0cHM6Ly9uYWNoYW4zNjUuc2hhcmVwb2ludC5jb20vOmY6L3MvU1BEZW1vL0VxXzlYcXRIdks1RW9wd3NfX1kteko0QlNybFFNUy1qUTBFOWJsazhVLVNTdVE",
59
+ "hasPassword": false,
60
+ "grantedToIdentitiesV2": [],
61
+ "grantedToIdentities": [],
62
+ "link": {
63
+ "scope": "anonymous",
64
+ "type": "edit",
65
+ "webUrl": "https://contoso.sharepoint.com/:f:/s/demo/Eq_9XqtHvK5Eopws__Y-zJ4BSrlQMS-jQ0E9blk8U-SSuQ",
66
+ "preventsDownload": false
67
+ }
68
+ }
69
+ ```
70
+
71
+ </TabItem>
72
+ <TabItem value="Text">
73
+
74
+ ```text
75
+ grantedToIdentities : []
76
+ grantedToIdentitiesV2 : []
77
+ hasPassword : false
78
+ id : d6f6a428-9857-471f-9635-edd68d5aa6c1
79
+ link : {"scope":"anonymous","type":"edit","webUrl":"https://contoso.sharepoint.com/:f:/s/demo/Eq_9XqtHvK5Eopws__Y-zJ4BSrlQMS-jQ0E9blk8U-SSuQ","preventsDownload":false}
80
+ roles : ["write"]
81
+ shareId : u!aHR0cHM6Ly9uYWNoYW4zNjUuc2hhcmVwb2ludC5jb20vOmY6L3MvU1BEZW1vL0VxXzlYcXRIdks1RW9wd3NfX1kteko0QlNybFFNUy1qUTBFOWJsazhVLVNTdVE
82
+ ```
83
+
84
+ </TabItem>
85
+ <TabItem value="CSV">
86
+
87
+ ```csv
88
+ id,shareId,hasPassword
89
+ d6f6a428-9857-471f-9635-edd68d5aa6c1,u!aHR0cHM6Ly9uYWNoYW4zNjUuc2hhcmVwb2ludC5jb20vOmY6L3MvU1BEZW1vL0VxXzlYcXRIdks1RW9wd3NfX1kteko0QlNybFFNUy1qUTBFOWJsazhVLVNTdVE,
90
+ ```
91
+
92
+ </TabItem>
93
+ <TabItem value="Markdown">
94
+
95
+ ```md
96
+ # spo folder sharinglink get --webUrl "https://contoso.sharepoint.com/sites/demo" --id "d6f6a428-9857-471f-9635-edd68d5aa6c1" --folderUrl "/sites/demo/shared documents/Test"
97
+
98
+ Date: 5/2/2024
99
+
100
+ ## d6f6a428-9857-471f-9635-edd68d5aa6c1
101
+
102
+ Property | Value
103
+ ---------|-------
104
+ id | d6f6a428-9857-471f-9635-edd68d5aa6c1
105
+ shareId | u!aHR0cHM6Ly9uYWNoYW4zNjUuc2hhcmVwb2ludC5jb20vOmY6L3MvU1BEZW1vL0VxXzlYcXRIdks1RW9wd3NfX1kteko0QlNybFFNUy1qUTBFOWJsazhVLVNTdVE
106
+ hasPassword | false
107
+ ```
108
+
109
+ </TabItem>
110
+ </Tabs>
@@ -0,0 +1,114 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
4
+
5
+ # spo folder sharinglink list
6
+
7
+ Lists all the sharing links of a specific folder
8
+
9
+ ## Usage
10
+
11
+ ```sh
12
+ m365 spo folder sharinglink list [options]
13
+ ```
14
+
15
+ ## Options
16
+
17
+ ```md definition-list
18
+ `-u, --webUrl <webUrl>`
19
+ : The URL of the site where the folder is located.
20
+
21
+ `--folderUrl [folderUrl]`
22
+ : The server- or site-relative decoded URL of the folder. Specify either `folderUrl` or `folderId` but not both.
23
+
24
+ `--folderId [folderId]`
25
+ : The UniqueId (GUID) of the folder. Specify either `folderUrl` or `folderId` but not both.
26
+
27
+ `-s, --scope [scope]`
28
+ : Filter the results to only sharing links of a given scope: `anonymous`, `users` or `organization`. By default all sharing links are listed.
29
+ ```
30
+
31
+ <Global />
32
+
33
+ ## Examples
34
+
35
+ List sharing links of a folder by id.
36
+
37
+ ```sh
38
+ m365 spo folder sharinglink list --webUrl https://contoso.sharepoint.com/sites/demo --folderId daebb04b-a773-4baa-b1d1-3625418e3234
39
+ ```
40
+
41
+ List sharing links of a folder by url.
42
+
43
+ ```sh
44
+ m365 spo folder sharinglink list --webUrl https://contoso.sharepoint.com/sites/demo --folderUrl "/sites/demo/shared documents/folder"
45
+ ```
46
+
47
+ List anonymous sharing links of a folder by url.
48
+
49
+ ```sh
50
+ m365 spo folder sharinglink list --webUrl https://contoso.sharepoint.com/sites/demo --folderUrl "/sites/demo/shared documents/folder" --scope anonymous
51
+ ```
52
+
53
+ ## Response
54
+
55
+ <Tabs>
56
+ <TabItem value="JSON">
57
+
58
+ ```json
59
+ [
60
+ {
61
+ "id": "e6100f73-981c-4bde-986b-eed262f04659",
62
+ "roles": [
63
+ "write"
64
+ ],
65
+ "shareId": "u!aHR0cHM6Ly83NTY2YXZhLnNoYXJlcG9pbnQuY29tLzpmOi9nL0V2QVFpdnpLV2ZoT3ZJOHJiNm1UVEhjQmQzUUxCOXVsUGIyQTQ1UG81ZmRuYWc",
66
+ "hasPassword": false,
67
+ "grantedToIdentitiesV2": [],
68
+ "grantedToIdentities": [],
69
+ "link": {
70
+ "scope": "anonymous",
71
+ "type": "edit",
72
+ "webUrl": "https://contoso.sharepoint.com/:f:/g/EvAQivzKWfhOvI8rb6mTTHcBd3QLB9ulPb2A45Po5fdnag",
73
+ "preventsDownload": false
74
+ }
75
+ }
76
+ ]
77
+ ```
78
+
79
+ </TabItem>
80
+ <TabItem value="Text">
81
+
82
+ ```text
83
+ id scope roles link
84
+ ------------------------------------ ------------ ----- -----------------------------------------------------------------------------------
85
+ e6100f73-981c-4bde-986b-eed262f04659 anonymous write https://contoso.sharepoint.com/:f:/g/EvAQivzKWfhOvI8rb6mTTHcBd3QLB9ulPb2A45Po5fdnag
86
+ ```
87
+
88
+ </TabItem>
89
+ <TabItem value="CSV">
90
+
91
+ ```csv
92
+ id,shareId,hasPassword
93
+ e6100f73-981c-4bde-986b-eed262f04659,u!aHR0cHM6Ly83NTY2YXZhLnNoYXJlcG9pbnQuY29tLzpmOi9nL0V2QVFpdnpLV2ZoT3ZJOHJiNm1UVEhjQmQzUUxCOXVsUGIyQTQ1UG81ZmRuYWc,
94
+ ```
95
+
96
+ </TabItem>
97
+ <TabItem value="Markdown">
98
+
99
+ ```md
100
+ # spo folder sharinglink list --webUrl "https://contoso.sharepoint.com/" --folderUrl "/shared documents/folder1"
101
+
102
+ Date: 24/04/2024
103
+
104
+ ## e6100f73-981c-4bde-986b-eed262f04659
105
+
106
+ Property | Value
107
+ ---------|-------
108
+ id | e6100f73-981c-4bde-986b-eed262f04659
109
+ shareId | u!aHR0cHM6Ly83NTY2YXZhLnNoYXJlcG9pbnQuY29tLzpmOi9nL0V2QVFpdnpLV2ZoT3ZJOHJiNm1UVEhjQmQzUUxCOXVsUGIyQTQ1UG81ZmRuYWc
110
+ hasPassword | false
111
+ ```
112
+
113
+ </TabItem>
114
+ </Tabs>
@@ -110,17 +110,21 @@ m365 spo group member add --webUrl https://contoso.sharepoint.com/sites/SiteA --
110
110
  ```json
111
111
  [
112
112
  {
113
- "AllowedRoles": [
114
- 0
115
- ],
116
- "CurrentRole": 0,
117
- "DisplayName": "John Doe",
118
- "Email": "john.doe@contoso.onmicrosoft.com",
119
- "InvitationLink": null,
120
- "IsUserKnown": true,
121
- "Message": null,
122
- "Status": true,
123
- "User": "i:0#.f|membership|john.doe@contoso.onmicrosoft.com"
113
+ "Id": 11,
114
+ "IsHiddenInUI": false,
115
+ "LoginName": "i:0#.f|membership|adelev@contoso.onmicrosoft.com",
116
+ "Title": "Adele Vance",
117
+ "PrincipalType": 1,
118
+ "Email": "Adele.Vance@contoso.onmicrosoft.com",
119
+ "Expiration": "",
120
+ "IsEmailAuthenticationGuestUser": false,
121
+ "IsShareByEmailGuestUser": false,
122
+ "IsSiteAdmin": false,
123
+ "UserId": {
124
+ "NameId": "10032001f5ac2029",
125
+ "NameIdIssuer": "urn:federation:microsoftonline"
126
+ },
127
+ "UserPrincipalName": "adelev@contoso.onmicrosoft.com"
124
128
  }
125
129
  ]
126
130
  ```
@@ -129,39 +133,42 @@ m365 spo group member add --webUrl https://contoso.sharepoint.com/sites/SiteA --
129
133
  <TabItem value="Text">
130
134
 
131
135
  ```text
132
- DisplayName Email
133
- ----------- ---------------------------------
134
- John Doe john.doe@contoso.onmicrosoft.com
136
+ Title UserPrincipalName
137
+ ----------- -------------------------------------
138
+ Adele Vance Adele.Vance@contoso.onmicrosoft.com
135
139
  ```
136
140
 
137
141
  </TabItem>
138
142
  <TabItem value="CSV">
139
143
 
140
144
  ```csv
141
- DisplayName,Email
142
- John Doe,john.doe@contoso.onmicrosoft.com
145
+ Id,IsHiddenInUI,LoginName,Title,PrincipalType,Email,Expiration,IsEmailAuthenticationGuestUser,IsShareByEmailGuestUser,IsSiteAdmin,UserPrincipalName
146
+ 11,,i:0#.f|membership|adelev@contoso.onmicrosoft.com,Adele Vance,1,Adele.Vance@contoso.onmicrosoft.com,,,,,adelev@contoso.onmicrosoft.com
143
147
  ```
144
148
 
145
149
  </TabItem>
146
150
  <TabItem value="Markdown">
147
151
 
148
152
  ```md
149
- # spo group member add --webUrl "https://contoso.sharepoint.com" --groupId "5" --aadGroupIds "f2fb2f10-cfd2-4054-8ffd-64533657a5ab"
153
+ # spo group member add --webUrl "https://contoso.sharepoint.com/sites/Marketing" --groupId "5" --userNames "AdeleV@contoso.onmicrosoft.com"
150
154
 
151
- Date: 13/2/2023
155
+ Date: 10/07/2024
152
156
 
153
- ## All Company Members
157
+ ## Adele Vance (11)
154
158
 
155
159
  Property | Value
156
160
  ---------|-------
157
- CurrentRole | 0
158
- DisplayName | All Company Members
159
- Email | allcompany@contoso.onmicrosoft.com
160
- InvitationLink | null
161
- IsUserKnown | true
162
- Message | null
163
- Status | true
164
- User | c:0o.c\|federateddirectoryclaimprovider\|f2fb2f10-cfd2-4054-8ffd-64533657a5ab
161
+ Id | 11
162
+ IsHiddenInUI | false
163
+ LoginName | i:0#.f\|membership\|adelev@contoso.onmicrosoft.com
164
+ Title | Adele Vance
165
+ PrincipalType | 1
166
+ Email | Adele.Vance@contoso.onmicrosoft.com
167
+ Expiration |
168
+ IsEmailAuthenticationGuestUser | false
169
+ IsShareByEmailGuestUser | false
170
+ IsSiteAdmin | false
171
+ UserPrincipalName | adelev@contoso.onmicrosoft.com
165
172
  ```
166
173
 
167
174
  </TabItem>
@@ -91,6 +91,11 @@ m365 spo list get --title Documents --webUrl https://contoso.sharepoint.com/site
91
91
 
92
92
  ```json
93
93
  {
94
+ "VersionPolicies": {
95
+ "DefaultExpireAfterDays": 0,
96
+ "DefaultTrimMode": 0,
97
+ "DefaultTrimModeValue": "NoExpiration"
98
+ },
94
99
  "AllowContentTypes": true,
95
100
  "BaseTemplate": 100,
96
101
  "BaseType": 0,
@@ -210,6 +215,7 @@ m365 spo list get --title Documents --webUrl https://contoso.sharepoint.com/site
210
215
  ServerTemplateCanCreateFolders : true
211
216
  TemplateFeatureId : 00bfea71-de22-43b2-a848-c05709900100
212
217
  Title : Test
218
+ VersionPolicies : {"DefaultExpireAfterDays": 0,"DefaultTrimMode": 0,"DefaultTrimModeValue": "NoExpiration"}
213
219
  ```
214
220
 
215
221
  </TabItem>
@@ -126,8 +126,7 @@ m365 spo list list --webUrl https://contoso.sharepoint.com/sites/project-x --fil
126
126
  "ParserDisabled": false,
127
127
  "ServerTemplateCanCreateFolders": false,
128
128
  "TemplateFeatureId": "00000000-0000-0000-0000-000000000000",
129
- "Title": "Theme Gallery",
130
- "Url": "/_catalogs/theme"
129
+ "Title": "Theme Gallery"
131
130
  }
132
131
  ]
133
132
  ```
@@ -136,17 +135,17 @@ m365 spo list list --webUrl https://contoso.sharepoint.com/sites/project-x --fil
136
135
  <TabItem value="Text">
137
136
 
138
137
  ```text
139
- Id Url
138
+ Id Title
140
139
  ------------------------------------ ----------------
141
- 66e5148c-7060-4479-88e7-636d79579148 /_catalogs/theme
140
+ 66e5148c-7060-4479-88e7-636d79579148 Theme Gallery
142
141
  ```
143
142
 
144
143
  </TabItem>
145
144
  <TabItem value="CSV">
146
145
 
147
146
  ```csv
148
- Id,Url
149
- Theme Gallery,/_catalogs/theme,66e5148c-7060-4479-88e7-636d79579148
147
+ Id,Title
148
+ 66e5148c-7060-4479-88e7-636d79579148,Theme Gallery
150
149
  ```
151
150
 
152
151
  </TabItem>
@@ -211,7 +210,6 @@ m365 spo list list --webUrl https://contoso.sharepoint.com/sites/project-x --fil
211
210
  ServerTemplateCanCreateFolders | true
212
211
  TemplateFeatureId | 00000000-0000-0000-0000-000000000000
213
212
  Title | Theme Gallery
214
- Url | //\_catalogs/theme
215
213
  ```
216
214
 
217
215
  </TabItem>
@@ -26,13 +26,19 @@ m365 spo list roleassignment add [options]
26
26
  : Relative URL of the list. Specify either `listId`, `listTitle`, or `listUrl` but not multiple.
27
27
 
28
28
  `--principalId [principalId]`
29
- : SharePoint ID of principal it may be either user id or group id we want to add permissions to. Specify either `principalId`, `upn`, or `groupName` but not multiple.
29
+ : SharePoint ID of principal it may be either user id or group id we want to add permissions to. Specify either `principalId`, `upn`, `groupName`, `entraGroupId`, or `entraGroupName`.
30
30
 
31
31
  `--upn [upn]`
32
- : The upn/email of user to assign role to. Specify either `principalId`, `upn`, or `groupName` but not multiple.
32
+ : The upn/email of user to assign role to. Specify either `principalId`, `upn`, `groupName`, `entraGroupId`, or `entraGroupName`.
33
+
34
+ `--entraGroupId [entraGroupId]`
35
+ : ID of the Microsoft Entra group to assign permissions to. Specify either `principalId`, `upn`, `groupName`, `entraGroupId`, or `entraGroupName`.
36
+
37
+ `--entraGroupName [entraGroupName]`
38
+ : Display name of the Microsoft Entra group to assign permissions to. Specify either `principalId`, `upn`, `groupName`, `entraGroupId`, or `entraGroupName`.
33
39
 
34
40
  `--groupName [groupName]`
35
- : The group name of Microsoft Entra or SharePoint group. Specify either `principalId`, `upn`, or `groupName` but not multiple.
41
+ : The group name of the SharePoint group. Specify either `principalId`, `upn`, `groupName`, `entraGroupId`, or `entraGroupName`.
36
42
 
37
43
  `--roleDefinitionId [roleDefinitionId]`
38
44
  : ID of role definition. Specify either `roleDefinitionId` or `roleDefinitionName` but not both.
@@ -81,6 +87,12 @@ Adds role assignment to list by title located in a specific site for given princ
81
87
  m365 spo list roleassignment add --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "someList" --principalId 11 --roleDefinitionName "Full Control"
82
88
  ```
83
89
 
90
+ Adds role assignment to list for a Microsoft Entra group specified by display name.
91
+
92
+ ```sh
93
+ m365 spo list roleassignment add --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "someList" --entraGroupName "Marketing" --roleDefinitionName "Full Control"
94
+ ```
95
+
84
96
  ## Response
85
97
 
86
98
  The command won't return a response on success.
@@ -26,13 +26,19 @@ m365 spo list roleassignment remove [options]
26
26
  : Relative URL of the list. Specify either `listId`, `listTitle`, or `listUrl` but not multiple.
27
27
 
28
28
  `--principalId [principalId]`
29
- : SharePoint ID of principal it may be either user id or group id you want to remove permissions. Specify either `principalId`, `upn`, or `groupName` but not multiple.
29
+ : SharePoint ID of principal it may be either user id or group id you want to remove permissions. Specify either `principalId`, `upn`, `groupName`, `entraGroupId`, or `entraGroupName`.
30
30
 
31
31
  `--upn [upn]`
32
- : The upn/email of user. Specify either `principalId`, `upn`, or `groupName` but not multiple.
32
+ : The upn/email of user. Specify either `principalId`, `upn`, `groupName`, `entraGroupId`, or `entraGroupName`.
33
33
 
34
34
  `--groupName [groupName]`
35
- : The group name of Microsoft Entra or SharePoint group. Specify either `principalId`, `upn`, or `groupName` but not multiple.
35
+ : The group name of the SharePoint group. Specify either `principalId`, `upn`, `groupName`, `entraGroupId`, or `entraGroupName`.
36
+
37
+ `--entraGroupId [entraGroupId]`
38
+ : ID of the Microsoft Entra group. Specify either `principalId`, `upn`, `groupName`, `entraGroupId`, or `entraGroupName`.
39
+
40
+ `--entraGroupName [entraGroupName]`
41
+ : Display name of the Microsoft Entra group. Specify either `principalId`, `upn`, `groupName`, `entraGroupId`, or `entraGroupName`.
36
42
 
37
43
  `-f, --force`
38
44
  : Don't prompt for confirming removing the role assignment.
@@ -60,6 +66,12 @@ Remove roleassignment from list by url based on principal Id.
60
66
  m365 spo list roleassignment remove --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --listUrl '/sites/contoso-sales/lists/Events' --principalId 2
61
67
  ```
62
68
 
69
+ Remove roleassignment from Microsoft Entra group specified by display name.
70
+
71
+ ```sh
72
+ m365 spo list roleassignment remove --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --listUrl '/sites/contoso-sales/lists/Events' --entraGroupName "Sales Team"
73
+ ```
74
+
63
75
  ## Response
64
76
 
65
77
  The command won't return a response on success.
@@ -14,19 +14,19 @@ m365 spo listitem retentionlabel ensure [options]
14
14
 
15
15
  ```md definition-list
16
16
  `-u, --webUrl <webUrl>`
17
- : URL of the site where the retentionlabel from a listitem to apply is located
17
+ : URL of the site where the retentionlabel from a list item to apply is located.
18
18
 
19
19
  `--listItemId <listItemId>`
20
20
  : The ID of the list item for which the retention label should be applied.
21
21
 
22
22
  `--listId [listId]`
23
- : ID of the list where the retention label should be applied. Specify either `listTitle`, `listId` or `listUrl`
23
+ : ID of the list where the retention label should be applied. Specify either `listTitle`, `listId` or `listUrl`.
24
24
 
25
25
  `--listTitle [listTitle]`
26
- : Title of the list where the retention label should be applied. Specify either `listTitle`, `listId` or `listUrl`
26
+ : Title of the list where the retention label should be applied. Specify either `listTitle`, `listId` or `listUrl`.
27
27
 
28
28
  `--listUrl [listUrl]`
29
- : Server- or site-relative URL of the list. Specify either `listTitle`, `listId` or `listUrl`
29
+ : Server- or site-relative URL of the list. Specify either `listTitle`, `listId` or `listUrl`.
30
30
 
31
31
  `-n, --name [name]`
32
32
  : The name of the retention label. Specify either `name` or `id`.
@@ -14,7 +14,7 @@ m365 spo listitem retentionlabel remove [options]
14
14
 
15
15
  ```md definition-list
16
16
  `-u, --webUrl <webUrl>`
17
- : URL of the site where the retentionlabel from a listitem to remove is located
17
+ : URL of the site where the retentionlabel from a list item to remove is located
18
18
 
19
19
  `-i, --listItemId <listItemId>`
20
20
  : The ID of the list item for which the retention label should be removed.
@@ -14,7 +14,7 @@ m365 spo listitem roleassignment add [options]
14
14
 
15
15
  ```md definition-list
16
16
  `-u, --webUrl <webUrl>`
17
- : URL of the site where the listitem is located
17
+ : URL of the site where the list item is located
18
18
 
19
19
  `--listId [listId]`
20
20
  : ID of the list. Specify either `listId`, `listTitle` or `listUrl` but not multiple.
@@ -26,7 +26,7 @@ m365 spo listitem roleassignment add [options]
26
26
  : Relative URL of the list. Specify either `listId`, `listTitle` or `listUrl` but not multiple.
27
27
 
28
28
  `--listItemId <listItemId>`
29
- : Id of the listitem to assign the role to.
29
+ : Id of the list item to assign the role to.
30
30
 
31
31
  `--principalId [principalId]`
32
32
  : The SharePoint Id of the principal. It may be either a user id or group id to add a role assignment for. Specify either `upn`, `groupName` or `principalId`.
@@ -35,7 +35,7 @@ m365 spo listitem roleassignment add [options]
35
35
  : The upn/email of user to assign role to. Specify either `upn`, `groupName` or `principalId`.
36
36
 
37
37
  `--groupName [groupName]`
38
- : The group name of Microsoft Entra or SharePoint group. Specify either `upn`, `groupName` or `principalId`.
38
+ : The group name of the SharePoint group Specify either `upn`, `groupName` or `principalId`.
39
39
 
40
40
  `--roleDefinitionId [roleDefinitionId]`
41
41
  : ID of role definition. Specify either `roleDefinitionId` or `roleDefinitionName` but not both.
@@ -48,37 +48,37 @@ m365 spo listitem roleassignment add [options]
48
48
 
49
49
  ## Examples
50
50
 
51
- Add role assignment to specified listitem in specified list located in specified site for specified principal id and specified role definition id.
51
+ Add role assignment to specified list item in specified list located in specified site for specified principal id and specified role definition id.
52
52
 
53
53
  ```sh
54
54
  m365 spo listitem roleassignment add --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "someList" --listItemId 1 --principalId 11 --roleDefinitionId 1073741829
55
55
  ```
56
56
 
57
- Add role assignment to specified listitem in specified list located in specified site for specified principal id and specified role definition id.
57
+ Add role assignment to specified list item in specified list located in specified site for specified principal id and specified role definition id.
58
58
 
59
59
  ```sh
60
60
  m365 spo listitem roleassignment add --webUrl "https://contoso.sharepoint.com/sites/project-x" --listId "0CD891EF-AFCE-4E55-B836-FCE03286CCCF" --listItemId 1 --principalId 11 --roleDefinitionId 1073741829
61
61
  ```
62
62
 
63
- Add role assignment to specified listitem in specified list located in specified site for specified principal id and specified role definition id.
63
+ Add role assignment to specified list item in specified list located in specified site for specified principal id and specified role definition id.
64
64
 
65
65
  ```sh
66
66
  m365 spo listitem roleassignment add --webUrl "https://contoso.sharepoint.com/sites/project-x" --listUrl "sites/documents" --listItemId 1 --principalId 11 --roleDefinitionId 1073741829
67
67
  ```
68
68
 
69
- Add role assignment to specified listitem in specified list located in specified site for specified upn and specified role definition id.
69
+ Add role assignment to specified list item in specified list located in specified site for specified upn and specified role definition id.
70
70
 
71
71
  ```sh
72
72
  m365 spo listitem roleassignment add --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "someList" --listItemId 1 --upn "someaccount@tenant.onmicrosoft.com" --roleDefinitionId 1073741829
73
73
  ```
74
74
 
75
- Add role assignment to specified listitem in specified list located in specified site for specified group and specified role definition id.
75
+ Add role assignment to specified list item in specified list located in specified site for specified group and specified role definition id.
76
76
 
77
77
  ```sh
78
78
  m365 spo listitem roleassignment add --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "someList" --listItemId 1 --groupName "someGroup" --roleDefinitionId 1073741829
79
79
  ```
80
80
 
81
- Add role assignment to specified listitem in specified list located in specified site for specified principal id and specified role definition name.
81
+ Add role assignment to specified list item in specified list located in specified site for specified principal id and specified role definition name.
82
82
 
83
83
  ```sh
84
84
  m365 spo listitem roleassignment add --webUrl "https://contoso.sharepoint.com/sites/project-x" --listTitle "someList" --listItemId 1 --principalId 11 --roleDefinitionName "Full Control"
@@ -14,7 +14,7 @@ m365 spo listitem roleassignment remove [options]
14
14
 
15
15
  ```md definition-list
16
16
  `-u, --webUrl <webUrl>`
17
- : URL of the site where the listitem is located.
17
+ : URL of the site where the list item is located.
18
18
 
19
19
  `-i, --listId [listId]`
20
20
  : ID of the list. Specify either `listId`, `listTitle`, or `listUrl` but not multiple.
@@ -26,7 +26,7 @@ m365 spo listitem roleassignment remove [options]
26
26
  : Relative URL of the list. Specify either `listId`, `listTitle`, or `listUrl` but not multiple.
27
27
 
28
28
  `--listItemId <listItemId>`
29
- : Id of the listitem to remove the role from.
29
+ : Id of the list item to remove the role from.
30
30
 
31
31
  `--principalId [principalId]`
32
32
  : SharePoint ID of principal it may be either user id or group id we want to remove permissions. Specify either `principalId`, `upn`, or `groupName` but not multiple.
@@ -35,7 +35,7 @@ m365 spo listitem roleassignment remove [options]
35
35
  : The upn/email of user. Specify either `principalId`, `upn`, or `groupName` but not multiple.
36
36
 
37
37
  `--groupName [groupName]`
38
- : The group name of Microsoft Entra or SharePoint group. Specify either `principalId`, `upn`, or `groupName` but not multiple.
38
+ : The group name of the SharePoint group Specify either `principalId`, `upn`, or `groupName` but not multiple.
39
39
 
40
40
  `-f, --force`
41
41
  : Don't prompt for confirming removing the role assignment.
@@ -45,26 +45,26 @@ m365 spo listitem roleassignment remove [options]
45
45
 
46
46
  ## Examples
47
47
 
48
- Remove roleassignment from listitem getting list by title based on group name
48
+ Remove roleassignment from list item getting list by title based on group name
49
49
 
50
50
  ```sh
51
51
  m365 spo listitem roleassignment remove --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --listTitle "someList" --listItemId 1 --groupName "saleGroup"
52
52
  ```
53
53
 
54
- Remove roleassignment from listitem getting list by title based on principal Id
54
+ Remove roleassignment from list item getting list by title based on principal Id
55
55
 
56
56
  ```sh
57
57
  m365 spo listitem roleassignment remove --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --listTitle "Events" --listItemId 1 --principalId 2
58
58
  ```
59
59
 
60
- Remove roleassignment from listitem getting list by url based on principal Id
60
+ Remove roleassignment from list item getting list by url based on principal Id
61
61
 
62
62
  ```sh
63
63
  m365 spo listitem roleassignment remove --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --listUrl '/sites/contoso-sales/lists/Events' --listItemId 1 --principalId 2
64
64
  ```
65
65
 
66
66
 
67
- Remove roleassignment from listitem getting list by url based on principal Id without prompting for confirmation
67
+ Remove roleassignment from list item getting list by url based on principal Id without prompting for confirmation
68
68
 
69
69
  ```sh
70
70
  m365 spo listitem roleassignment remove --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --listUrl '/sites/contoso-sales/lists/Events' --listItemId 1 --principalId 2 --force
@@ -14,7 +14,10 @@ m365 spo site appcatalog remove [options]
14
14
 
15
15
  ```md definition-list
16
16
  `-u, --siteUrl <siteUrl>`
17
- : URL of the site collection containing the app catalog to disable
17
+ : URL of the site collection containing the app catalog to disable.
18
+
19
+ `-f, --force`
20
+ : Don't prompt for confirmation.
18
21
  ```
19
22
 
20
23
  <Global />
@@ -31,12 +34,18 @@ To use this command you have to have permissions to access the tenant admin site
31
34
 
32
35
  ## Examples
33
36
 
34
- Remove the site collection app catalog from specified site
37
+ Remove the site collection app catalog from specified site.
35
38
 
36
39
  ```sh
37
40
  m365 spo site appcatalog remove --siteUrl https://contoso.sharepoint/sites/site
38
41
  ```
39
42
 
43
+ Remove the site collection app catalog from specified site without prompting for confirmation.
44
+
45
+ ```sh
46
+ m365 spo site appcatalog remove --siteUrl https://contoso.sharepoint/sites/site --force
47
+ ```
48
+
40
49
  ## Response
41
50
 
42
51
  The command won't return a response on success.
@@ -19,7 +19,7 @@ m365 spo site recyclebinitem list [options]
19
19
  : URL of the site for which to retrieve the recycle bin items
20
20
 
21
21
  `--type [type]`
22
- : Type of items which should be retrieved (listItems, folders, files)
22
+ : Type of items which should be retrieved. Valid values: `listItems`, `folders`, `files`.
23
23
 
24
24
  `--secondary`
25
25
  : Use this switch to retrieve items from secondary recycle bin