@pnp/cli-microsoft365 7.0.0-beta.90ef876 → 7.0.0-beta.df9f285

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 (184) hide show
  1. package/dist/Command.js +1 -1
  2. package/dist/cli/Cli.js +23 -8
  3. package/dist/m365/aad/commands/user/user-get.js +7 -1
  4. package/dist/m365/aad/commands/user/user-list.js +3 -6
  5. package/dist/m365/aad/commands/user/user-set.js +20 -20
  6. package/dist/m365/booking/commands/business/business-get.js +14 -15
  7. package/dist/m365/cli/commands/config/config-set.js +1 -1
  8. package/dist/m365/pa/commands/app/app-consent-set.js +2 -2
  9. package/dist/m365/pa/commands/app/app-export.js +3 -3
  10. package/dist/m365/pa/commands/app/app-list.js +5 -5
  11. package/dist/m365/pa/commands/app/app-owner-set.js +115 -0
  12. package/dist/m365/pa/commands/app/app-permission-list.js +104 -0
  13. package/dist/m365/pa/commands.js +2 -0
  14. package/dist/m365/planner/commands/bucket/bucket-add.js +14 -10
  15. package/dist/m365/planner/commands/bucket/bucket-get.js +25 -19
  16. package/dist/m365/planner/commands/bucket/bucket-list.js +14 -10
  17. package/dist/m365/planner/commands/bucket/bucket-remove.js +26 -20
  18. package/dist/m365/planner/commands/bucket/bucket-set.js +26 -28
  19. package/dist/m365/planner/commands/roster/roster-member-add.js +3 -14
  20. package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-get.js +2 -2
  21. package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-list.js +2 -2
  22. package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-remove.js +3 -3
  23. package/dist/m365/pp/commands/card/card-clone.js +3 -3
  24. package/dist/m365/pp/commands/card/card-get.js +2 -2
  25. package/dist/m365/pp/commands/card/card-list.js +2 -2
  26. package/dist/m365/pp/commands/card/card-remove.js +3 -3
  27. package/dist/m365/pp/commands/chatbot/chatbot-get.js +2 -2
  28. package/dist/m365/pp/commands/chatbot/chatbot-list.js +3 -3
  29. package/dist/m365/pp/commands/chatbot/chatbot-remove.js +3 -3
  30. package/dist/m365/pp/commands/dataverse/dataverse-table-get.js +2 -2
  31. package/dist/m365/pp/commands/dataverse/dataverse-table-list.js +2 -2
  32. package/dist/m365/pp/commands/dataverse/dataverse-table-remove.js +2 -2
  33. package/dist/m365/pp/commands/dataverse/dataverse-table-row-list.js +2 -2
  34. package/dist/m365/pp/commands/dataverse/dataverse-table-row-remove.js +2 -2
  35. package/dist/m365/pp/commands/solution/solution-get.js +2 -2
  36. package/dist/m365/pp/commands/solution/solution-list.js +2 -2
  37. package/dist/m365/pp/commands/solution/solution-publish.js +3 -3
  38. package/dist/m365/pp/commands/solution/solution-publisher-add.js +2 -2
  39. package/dist/m365/pp/commands/solution/solution-publisher-get.js +2 -2
  40. package/dist/m365/pp/commands/solution/solution-publisher-list.js +2 -2
  41. package/dist/m365/pp/commands/solution/solution-publisher-remove.js +3 -3
  42. package/dist/m365/pp/commands/solution/solution-remove.js +3 -3
  43. package/dist/m365/purview/commands/retentionevent/retentionevent-remove.js +19 -17
  44. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-remove.js +19 -17
  45. package/dist/m365/search/commands/externalconnection/externalconnection-remove.js +35 -34
  46. package/dist/m365/spfx/commands/project/project-externalize/rules/DynamicRule.js +59 -51
  47. package/dist/m365/spo/commands/file/file-list.js +3 -14
  48. package/dist/m365/spo/commands/folder/folder-remove.js +30 -28
  49. package/dist/m365/spo/commands/list/list-add.js +0 -9
  50. package/dist/m365/spo/commands/list/list-retentionlabel-ensure.js +0 -4
  51. package/dist/m365/spo/commands/list/list-retentionlabel-get.js +0 -4
  52. package/dist/m365/spo/commands/list/list-roleassignment-add.js +9 -47
  53. package/dist/m365/spo/commands/list/list-set.js +0 -9
  54. package/dist/m365/spo/commands/listitem/listitem-attachment-list.js +4 -4
  55. package/dist/m365/spo/commands/page/page-remove.js +33 -31
  56. package/dist/m365/spo/commands/roledefinition/roledefinition-remove.js +25 -23
  57. package/dist/m365/spo/commands/site/site-apppermission-add.js +3 -3
  58. package/dist/m365/spo/commands/site/site-commsite-enable.js +9 -18
  59. package/dist/m365/spo/commands/site/site-set.js +10 -2
  60. package/dist/m365/spo/commands/tenant/tenant-appcatalog-add.js +13 -16
  61. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-set.js +80 -2
  62. package/dist/m365/spo/commands/tenant/tenant-commandset-set.js +107 -24
  63. package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-remove.js +48 -48
  64. package/dist/m365/spo/commands/theme/theme-get.js +1 -2
  65. package/dist/m365/spo/commands/user/user-get.js +5 -5
  66. package/dist/m365/spo/commands.js +0 -2
  67. package/dist/m365/teams/commands/chat/chat-get.js +4 -4
  68. package/dist/m365/teams/commands/chat/chat-member-add.js +117 -0
  69. package/dist/m365/teams/commands/chat/chat-message-send.js +4 -4
  70. package/dist/m365/teams/commands/meeting/meeting-get.js +16 -24
  71. package/dist/m365/teams/commands/meeting/meeting-list.js +2 -15
  72. package/dist/m365/teams/commands/team/team-app-list.js +1 -1
  73. package/dist/m365/teams/commands.js +1 -0
  74. package/dist/utils/spo.js +74 -0
  75. package/docs/docs/_clisettings.mdx +1 -1
  76. package/docs/docs/cmd/_global.mdx +1 -1
  77. package/docs/docs/cmd/aad/user/user-get.mdx +118 -25
  78. package/docs/docs/cmd/aad/user/user-list.mdx +0 -9
  79. package/docs/docs/cmd/aad/user/user-set.mdx +11 -11
  80. package/docs/docs/cmd/pa/app/app-consent-set.mdx +3 -3
  81. package/docs/docs/cmd/pa/app/app-export.mdx +3 -3
  82. package/docs/docs/cmd/pa/app/app-list.mdx +2 -2
  83. package/docs/docs/cmd/pa/app/app-owner-set.mdx +60 -0
  84. package/docs/docs/cmd/pa/app/app-permission-list.mdx +132 -0
  85. package/docs/docs/cmd/planner/bucket/bucket-add.mdx +21 -4
  86. package/docs/docs/cmd/planner/bucket/bucket-get.mdx +22 -5
  87. package/docs/docs/cmd/planner/bucket/bucket-list.mdx +21 -4
  88. package/docs/docs/cmd/planner/bucket/bucket-remove.mdx +21 -4
  89. package/docs/docs/cmd/planner/bucket/bucket-set.mdx +22 -5
  90. package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-get.mdx +4 -4
  91. package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-list.mdx +4 -4
  92. package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-remove.mdx +4 -4
  93. package/docs/docs/cmd/pp/card/card-clone.mdx +6 -6
  94. package/docs/docs/cmd/pp/card/card-get.mdx +6 -6
  95. package/docs/docs/cmd/pp/card/card-list.mdx +4 -4
  96. package/docs/docs/cmd/pp/card/card-remove.mdx +9 -9
  97. package/docs/docs/cmd/pp/chatbot/chatbot-get.mdx +6 -6
  98. package/docs/docs/cmd/pp/chatbot/chatbot-list.mdx +4 -4
  99. package/docs/docs/cmd/pp/chatbot/chatbot-remove.mdx +4 -4
  100. package/docs/docs/cmd/pp/dataverse/dataverse-table-get.mdx +2 -2
  101. package/docs/docs/cmd/pp/dataverse/dataverse-table-list.mdx +2 -2
  102. package/docs/docs/cmd/pp/dataverse/dataverse-table-remove.mdx +1 -1
  103. package/docs/docs/cmd/pp/dataverse/dataverse-table-row-list.mdx +5 -5
  104. package/docs/docs/cmd/pp/dataverse/dataverse-table-row-remove.mdx +5 -5
  105. package/docs/docs/cmd/pp/solution/solution-get.mdx +6 -6
  106. package/docs/docs/cmd/pp/solution/solution-list.mdx +4 -4
  107. package/docs/docs/cmd/pp/solution/solution-publish.mdx +4 -4
  108. package/docs/docs/cmd/pp/solution/solution-publisher-add.mdx +3 -3
  109. package/docs/docs/cmd/pp/solution/solution-publisher-get.mdx +6 -6
  110. package/docs/docs/cmd/pp/solution/solution-publisher-list.mdx +4 -4
  111. package/docs/docs/cmd/pp/solution/solution-publisher-remove.mdx +5 -5
  112. package/docs/docs/cmd/pp/solution/solution-remove.mdx +9 -9
  113. package/docs/docs/cmd/spo/file/file-list.mdx +6 -10
  114. package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +1 -1
  115. package/docs/docs/cmd/spo/list/list-add.mdx +0 -3
  116. package/docs/docs/cmd/spo/list/list-retentionlabel-ensure.mdx +0 -6
  117. package/docs/docs/cmd/spo/list/list-retentionlabel-get.mdx +0 -6
  118. package/docs/docs/cmd/spo/list/list-set.mdx +0 -3
  119. package/docs/docs/cmd/spo/listitem/listitem-attachment-list.mdx +7 -7
  120. package/docs/docs/cmd/spo/site/site-add.mdx +35 -0
  121. package/docs/docs/cmd/spo/site/site-appcatalog-add.mdx +5 -1
  122. package/docs/docs/cmd/spo/site/site-appcatalog-list.mdx +14 -0
  123. package/docs/docs/cmd/spo/site/site-appcatalog-remove.mdx +4 -0
  124. package/docs/docs/cmd/spo/site/site-apppermission-add.mdx +68 -0
  125. package/docs/docs/cmd/spo/site/site-apppermission-get.mdx +55 -0
  126. package/docs/docs/cmd/spo/site/site-apppermission-list.mdx +55 -0
  127. package/docs/docs/cmd/spo/site/site-apppermission-remove.mdx +4 -0
  128. package/docs/docs/cmd/spo/site/site-apppermission-set.mdx +66 -0
  129. package/docs/docs/cmd/spo/site/site-chrome-set.mdx +4 -0
  130. package/docs/docs/cmd/spo/site/site-commsite-enable.mdx +11 -1
  131. package/docs/docs/cmd/spo/site/site-ensure.mdx +70 -0
  132. package/docs/docs/cmd/spo/site/site-get.mdx +179 -0
  133. package/docs/docs/cmd/spo/site/site-groupify.mdx +54 -0
  134. package/docs/docs/cmd/spo/site/site-hubsite-connect.mdx +4 -0
  135. package/docs/docs/cmd/spo/site/site-hubsite-disconnect.mdx +4 -0
  136. package/docs/docs/cmd/spo/site/site-hubsite-theme-sync.mdx +5 -1
  137. package/docs/docs/cmd/spo/site/site-inplacerecordsmanagement-set.mdx +4 -0
  138. package/docs/docs/cmd/spo/site/site-list.mdx +303 -0
  139. package/docs/docs/cmd/spo/site/site-recyclebinitem-list.mdx +80 -0
  140. package/docs/docs/cmd/spo/site/site-recyclebinitem-restore.mdx +4 -0
  141. package/docs/docs/cmd/spo/site/site-remove.mdx +4 -0
  142. package/docs/docs/cmd/spo/site/site-rename.mdx +92 -0
  143. package/docs/docs/cmd/spo/site/site-set.mdx +13 -0
  144. package/docs/docs/cmd/spo/sitedesign/sitedesign-add.mdx +116 -0
  145. package/docs/docs/cmd/spo/sitedesign/sitedesign-apply.mdx +125 -0
  146. package/docs/docs/cmd/spo/sitedesign/sitedesign-get.mdx +117 -0
  147. package/docs/docs/cmd/spo/sitedesign/sitedesign-list.mdx +94 -0
  148. package/docs/docs/cmd/spo/sitedesign/sitedesign-remove.mdx +4 -0
  149. package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-grant.mdx +4 -0
  150. package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-list.mdx +54 -0
  151. package/docs/docs/cmd/spo/sitedesign/sitedesign-rights-revoke.mdx +4 -0
  152. package/docs/docs/cmd/spo/sitedesign/sitedesign-run-list.mdx +66 -0
  153. package/docs/docs/cmd/spo/sitedesign/sitedesign-run-status-get.mdx +65 -0
  154. package/docs/docs/cmd/spo/sitedesign/sitedesign-set.mdx +117 -0
  155. package/docs/docs/cmd/spo/sitedesign/sitedesign-task-get.mdx +61 -0
  156. package/docs/docs/cmd/spo/sitedesign/sitedesign-task-list.mdx +60 -0
  157. package/docs/docs/cmd/spo/sitedesign/sitedesign-task-remove.mdx +4 -0
  158. package/docs/docs/cmd/spo/sitescript/sitescript-add.mdx +75 -0
  159. package/docs/docs/cmd/spo/sitescript/sitescript-get.mdx +62 -0
  160. package/docs/docs/cmd/spo/sitescript/sitescript-list.mdx +60 -0
  161. package/docs/docs/cmd/spo/sitescript/sitescript-remove.mdx +4 -0
  162. package/docs/docs/cmd/spo/sitescript/sitescript-set.mdx +63 -0
  163. package/docs/docs/cmd/spo/storageentity/storageentity-get.mdx +53 -0
  164. package/docs/docs/cmd/spo/storageentity/storageentity-list.mdx +54 -0
  165. package/docs/docs/cmd/spo/storageentity/storageentity-remove.mdx +4 -0
  166. package/docs/docs/cmd/spo/storageentity/storageentity-set.mdx +4 -0
  167. package/docs/docs/cmd/spo/tenant/tenant-appcatalog-add.mdx +4 -0
  168. package/docs/docs/cmd/spo/tenant/tenant-appcatalogurl-get.mdx +35 -0
  169. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-set.mdx +12 -3
  170. package/docs/docs/cmd/spo/tenant/tenant-commandset-set.mdx +23 -11
  171. package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-list.mdx +67 -0
  172. package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-remove.mdx +4 -0
  173. package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-restore.mdx +50 -0
  174. package/docs/docs/cmd/spo/tenant/tenant-settings-list.mdx +729 -0
  175. package/docs/docs/cmd/spo/tenant/tenant-settings-set.mdx +5 -0
  176. package/docs/docs/cmd/spo/theme/theme-apply.mdx +35 -0
  177. package/docs/docs/cmd/spo/theme/theme-get.mdx +74 -0
  178. package/docs/docs/cmd/spo/theme/theme-list.mdx +52 -0
  179. package/docs/docs/cmd/spo/theme/theme-remove.mdx +4 -0
  180. package/docs/docs/cmd/spo/theme/theme-set.mdx +4 -0
  181. package/docs/docs/cmd/spo/user/user-get.mdx +6 -6
  182. package/docs/docs/cmd/teams/chat/chat-member-add.mdx +66 -0
  183. package/npm-shrinkwrap.json +212 -212
  184. package/package.json +10 -10
@@ -1,4 +1,6 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo storageentity get
4
6
 
@@ -31,6 +33,57 @@ Show the value, description and comment of the _AnalyticsId_ tenant property
31
33
  m365 spo storageentity get -k AnalyticsId
32
34
  ```
33
35
 
36
+ ## Response
37
+
38
+ <Tabs>
39
+ <TabItem value="JSON">
40
+
41
+ ```json
42
+ {
43
+ "Key": "AnalyticsId",
44
+ "Value": "123",
45
+ "Description": "Web analytics ID",
46
+ "Comment": "Use on all sites"
47
+ }
48
+ ```
49
+
50
+ </TabItem>
51
+ <TabItem value="Text">
52
+
53
+ ```text
54
+ Comment : Use on all sites
55
+ Description: Web analytics ID
56
+ Key : AnalyticsId
57
+ Value : 123
58
+ ```
59
+
60
+ </TabItem>
61
+ <TabItem value="CSV">
62
+
63
+ ```csv
64
+ Key,Value,Description,Comment
65
+ AnalyticsId,123,Web analytics ID,Use on all sites
66
+ ```
67
+
68
+ </TabItem>
69
+ <TabItem value="Markdown">
70
+
71
+ ```md
72
+ # spo storageentity get --key "AnalyticsId"
73
+
74
+ Date: 2023-06-22
75
+
76
+ Property | Value
77
+ ---------|-------
78
+ Key | AnalyticsId
79
+ Value | 123
80
+ Description | Web analytics ID
81
+ Comment | Use on all sites
82
+ ```
83
+
84
+ </TabItem>
85
+ </Tabs>
86
+
34
87
  ## More information
35
88
 
36
89
  - SharePoint Framework Tenant Properties: [https://docs.microsoft.com/en-us/sharepoint/dev/spfx/tenant-properties](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/tenant-properties)
@@ -1,4 +1,6 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo storageentity list
4
6
 
@@ -31,6 +33,58 @@ List all tenant properties stored in the _https://contoso.sharepoint.com/sites/a
31
33
  m365 spo storageentity list -u https://contoso.sharepoint.com/sites/appcatalog
32
34
  ```
33
35
 
36
+ ## Response
37
+
38
+ <Tabs>
39
+ <TabItem value="JSON">
40
+
41
+ ```json
42
+ [
43
+ {
44
+ "Key": "AnalyticsId",
45
+ "Value": "123",
46
+ "Description": "Web analytics ID",
47
+ "Comment": "Use on all sites"
48
+ }
49
+ ]
50
+ ```
51
+
52
+ </TabItem>
53
+ <TabItem value="Text">
54
+
55
+ ```text
56
+ Key Value Description Comment
57
+ ---------------------------------- ------------------------------------------------------------------ ------------------------------------ ----------------
58
+ AnalyticsId 123 Web analytics ID Use on all sites
59
+ ```
60
+
61
+ </TabItem>
62
+ <TabItem value="CSV">
63
+
64
+ ```csv
65
+ Key,Value,Description
66
+ AnalyticsId,123,Web analytics ID
67
+ ```
68
+
69
+ </TabItem>
70
+ <TabItem value="Markdown">
71
+
72
+ ```md
73
+ # spo storageentity list --appCatalogUrl "https://contoso.sharepoint.com/sites/apps"
74
+
75
+ Date: 2023-06-22
76
+
77
+ Property | Value
78
+ ---------|-------
79
+ Key | AnalyticsId
80
+ Value | 123
81
+ Description | Web analytics ID
82
+ Comment | Use on all sites
83
+ ```
84
+
85
+ </TabItem>
86
+ </Tabs>
87
+
34
88
  ## More information
35
89
 
36
90
  - SharePoint Framework Tenant Properties: [https://docs.microsoft.com/en-us/sharepoint/dev/spfx/tenant-properties](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/tenant-properties)
@@ -49,6 +49,10 @@ Remove the _AnalyticsId_ tenant property. Suppresses the confirmation prompt
49
49
  m365 spo storageentity remove -k AnalyticsId --force -u https://contoso.sharepoint.com/sites/appcatalog
50
50
  ```
51
51
 
52
+ ## Response
53
+
54
+ The command won't return a response on success.
55
+
52
56
  ## More information
53
57
 
54
58
  - SharePoint Framework Tenant Properties: [https://docs.microsoft.com/en-us/sharepoint/dev/spfx/tenant-properties](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/tenant-properties)
@@ -51,6 +51,10 @@ Set _123_ as the value of the _AnalyticsId_ tenant property. Also include a desc
51
51
  m365 spo storageentity set -k AnalyticsId -v 123 -d 'Web analytics ID' -c 'Use on all sites' -u https://contoso.sharepoint.com/sites/appcatalog
52
52
  ```
53
53
 
54
+ ## Response
55
+
56
+ The command won't return a response on success.
57
+
54
58
  ## More information
55
59
 
56
60
  - SharePoint Framework Tenant Properties: [https://docs.microsoft.com/en-us/sharepoint/dev/spfx/tenant-properties](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/tenant-properties)
@@ -64,3 +64,7 @@ Creates new app catalog and deletes existing app catalog and existing site at th
64
64
  ```sh
65
65
  m365 spo tenant appcatalog add --url https://contoso.sharepoint.com/sites/apps --owner admin@contoso.com --timeZone 4 --force
66
66
  ```
67
+
68
+ ## Response
69
+
70
+ The command won't return a response on success.
@@ -1,4 +1,6 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo tenant appcatalogurl get
4
6
 
@@ -29,3 +31,36 @@ Get the URL of the tenant app catalog
29
31
  ```sh
30
32
  m365 spo tenant appcatalogurl get
31
33
  ```
34
+
35
+ ## Response
36
+
37
+ <Tabs>
38
+ <TabItem value="JSON">
39
+
40
+ ```json
41
+ "https://contoso.sharepoint.com/sites/apps"
42
+ ```
43
+
44
+ </TabItem>
45
+ <TabItem value="Text">
46
+
47
+ ```text
48
+ https://contoso.sharepoint.com/sites/apps
49
+ ```
50
+
51
+ </TabItem>
52
+ <TabItem value="CSV">
53
+
54
+ ```csv
55
+ https://contoso.sharepoint.com/sites/apps
56
+ ```
57
+
58
+ </TabItem>
59
+ <TabItem value="Markdown">
60
+
61
+ ```md
62
+ https://contoso.sharepoint.com/sites/apps
63
+ ```
64
+
65
+ </TabItem>
66
+ </Tabs>
@@ -25,6 +25,9 @@ m365 spo tenant applicationcustomizer set [options]
25
25
  `--newTitle [newTitle]`
26
26
  : The updated title of the Application Customizer.
27
27
 
28
+ `--newClientSideComponentId [newClientSideComponentId]`
29
+ : The new Client Side Component Id (GUID) of the Application Customizer.
30
+
28
31
  `-p, --clientSideComponentProperties [clientSideComponentProperties]`
29
32
  : The Client Side Component properties of the Application Customizer.
30
33
 
@@ -55,7 +58,13 @@ When using the `--clientSideComponentProperties` option it's possible to enter a
55
58
  Updates the title of an Application Customizer that is deployed as a tenant-wide extension by its id
56
59
 
57
60
  ```sh
58
- m365 spo tenant applicationcustomizer set --id 3 --newTitle "Some customizer"
61
+ m365 spo tenant applicationcustomizer set --id 3 --newTitle "Some customizer"
62
+ ```
63
+
64
+ Updates the Client Side Component Id of an Application Customizer that is deployed as a tenant-wide extension by its id
65
+
66
+ ```sh
67
+ m365 spo tenant applicationcustomizer set --id 3 --newClientSideComponentId "b44a5182-9877-4029-baec-0181c70dacbc"
59
68
  ```
60
69
 
61
70
  Updates the properties of an Application Customizer that is deployed as a tenant-wide extension by its id
@@ -67,13 +76,13 @@ m365 spo tenant applicationcustomizer set --id 3 --clientSideComponentProperties
67
76
  Updates the title of an Application Customizer that is deployed as a tenant-wide extension by its title
68
77
 
69
78
  ```sh
70
- m365 spo tenant applicationcustomizer set --title "Some customizer" --newTitle "Updated customizer"
79
+ m365 spo tenant applicationcustomizer set --title "Some customizer" --newTitle "Updated customizer"
71
80
  ```
72
81
 
73
82
  Updates the title of an Application Customizer that is deployed as a tenant-wide extension by its clientSideComponentId
74
83
 
75
84
  ```sh
76
- m365 spo tenant applicationcustomizer set --clientSideComponentId "7f8fd1f2-9d26-4a4a-a607-bf4622d7ec11" --newTitle "Some customizer"
85
+ m365 spo tenant applicationcustomizer set --clientSideComponentId "7f8fd1f2-9d26-4a4a-a607-bf4622d7ec11" --newTitle "Some customizer"
77
86
  ```
78
87
 
79
88
  ## Response
@@ -13,19 +13,25 @@ m365 spo tenant commandset set [options]
13
13
  ## Options
14
14
 
15
15
  ```md definition-list
16
- `-i, --id <id>`
17
- : The id of the ListView Command Set
16
+ `-t, --title [title]`
17
+ : The title of the ListView Command Set to update. Specify either `title`, `id` or `clientSideComponentId`.
18
18
 
19
- `-t, --newTitle [newTitle]`
20
- : The updated title of the ListView Command Set
19
+ `-i, --id [id]`
20
+ : The id of the ListView Command Set to update. Specify either `title`, `id` or `clientSideComponentId`.
21
+
22
+ `-c, --clientSideComponentId [clientSideComponentId]`
23
+ : The Client Side Component Id (GUID) of the ListView Command Set to update. Specify either `title`, `id` or `clientSideComponentId`.
24
+
25
+ `--newTitle [newTitle]`
26
+ : The updated title of the ListView Command Set.
21
27
 
22
28
  `-l, --listType [listType]`
23
29
  : The list or library type to register the ListView Command Set on. Allowed values `List` or `Library`.
24
30
 
25
- `-c, --clientSideComponentId [clientSideComponentId]`
26
- : The Client Side Component Id (GUID) of the ListView Command Set.
31
+ `--newClientSideComponentId [newClientSideComponentId]`
32
+ : The updated Client Side Component Id (GUID) of the ListView Command Set.
27
33
 
28
- `-p, --clientSideComponentProperties [clientSideComponentProperties]`
34
+ `-p, --clientSideComponentProperties [clientSideComponentProperties]`
29
35
  : The Client Side Component properties of the ListView Command Set.
30
36
 
31
37
  `-w, --webTemplate [webTemplate]`
@@ -47,16 +53,22 @@ When using the `--clientSideComponentProperties` option it's possible to enter a
47
53
 
48
54
  ## Examples
49
55
 
50
- Updates the title of a ListView Command Set that's deployed tenant wide.
56
+ Updates the title of a ListView Command Set that's deployed tenant wide by its id.
57
+
58
+ ```sh
59
+ m365 spo tenant commandset set --id 4 --newTitle "Some customizer"
60
+ ```
61
+
62
+ Updates the properties of a ListView Command Set that's deployed tenant wide by its title.
51
63
 
52
64
  ```sh
53
- m365 spo tenant commandset set --id 4 --newTitle "Some customizer"
65
+ m365 spo tenant commandset set --title "Some Command Set" --clientSideComponentProperties '{ "someProperty": "Some value" }'
54
66
  ```
55
67
 
56
- Updates the properties of a ListView Command Set.
68
+ Updates the Client Side Component Id (GUID) of a ListView Command Set that's deployed tenant wide by its clientSideComponentId.
57
69
 
58
70
  ```sh
59
- m365 spo tenant commandset set --id 3 --clientSideComponentProperties '{ "someProperty": "Some value" }'
71
+ m365 spo tenant commandset set --clientSideComponentId "07ee7d3d-923e-49be-b050-86f53edb45fb" --newClientSideComponentId "b44a5182-9877-4029-baec-0181c70dacbc"
60
72
  ```
61
73
 
62
74
  ## Response
@@ -1,4 +1,6 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo tenant recyclebinitem list
4
6
 
@@ -29,3 +31,68 @@ Returns all modern and classic site collections in the tenant scoped recycle bin
29
31
  ```sh
30
32
  m365 spo tenant recyclebinitem list
31
33
  ```
34
+
35
+ ## Response
36
+
37
+ <Tabs>
38
+ <TabItem value="JSON">
39
+
40
+ ```json
41
+ [
42
+ {
43
+ "_ObjectType_": "Microsoft.Online.SharePoint.TenantAdministration.DeletedSiteProperties",
44
+ "_ObjectIdentity_": "ec4abfa0-00a9-6000-a541-3b7e72f845bb|908bed80-a04a-4433-b4a0-883d9847d110:1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4\\\nDeletedSiteProperties\\\nhttps%3a%2f%2fcontoso.sharepoint.com%2fteams%2fteam1",
45
+ "DaysRemaining": 21,
46
+ "DeletionTime": "/Date(2023,3,12,8,9,55,260)/",
47
+ "SiteId": "/Guid(0031a568-a081-4157-a3ab-0946a9da7f6e)/",
48
+ "Status": "Recycled",
49
+ "StorageMaximumLevel": 1048576,
50
+ "Url": "https://contoso.sharepoint.com/teams/team1",
51
+ "UserCodeMaximumLevel": 300
52
+ }
53
+ ]
54
+ ```
55
+
56
+ </TabItem>
57
+ <TabItem value="Text">
58
+
59
+ ```text
60
+ DaysRemaining DeletionTime Url
61
+ ------------- ---------------------------------------------------------------- -------------------------------------------------
62
+ 21 Wed Apr 12 2023 08:09:55 GMT+0200 (Central European Summer Time) https://contoso.sharepoint.com/teams/team1
63
+ ```
64
+
65
+ </TabItem>
66
+ <TabItem value="CSV">
67
+
68
+ ```csv
69
+ _ObjectType_,_ObjectIdentity_,DaysRemaining,SiteId,Status,StorageMaximumLevel,Url,UserCodeMaximumLevel
70
+ Microsoft.Online.SharePoint.TenantAdministration.DeletedSiteProperties,"044bbfa0-b029-6000-c2a5-1f2125b3d4e5|908bed80-a04a-4433-b4a0-883d9847d110:1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4
71
+ DeletedSiteProperties
72
+ https%3a%2f%2fcontoso.sharepoint.com%2fteams%2fteam1",21,/Guid(0031a568-a081-4157-a3ab-0946a9da7f6e)/,Recycled,1048576,https://contoso.sharepoint.com/teams/team1,300
73
+ ```
74
+
75
+ </TabItem>
76
+ <TabItem value="Markdown">
77
+
78
+ ```md
79
+ # spo tenant recyclebinitem list
80
+
81
+ Date: 2023-06-22
82
+
83
+ ## https://contoso.sharepoint.com/teams/team1
84
+
85
+ Property | Value
86
+ ---------|-------
87
+ \_ObjectType\_ | Microsoft.Online.SharePoint.TenantAdministration.DeletedSiteProperties
88
+ \_ObjectIdentity\_ | 7b4bbfa0-105c-6000-c2a5-147216eaad59\|908bed80-a04a-4433-b4a0-883d9847d110:1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4<br>DeletedSiteProperties<br>https%3a%2f%2fcontoso.sharepoint.com%2fteams%2fteam1
89
+ DaysRemaining | 21
90
+ SiteId | /Guid(0031a568-a081-4157-a3ab-0946a9da7f6e)/
91
+ Status | Recycled
92
+ StorageMaximumLevel | 1048576
93
+ Url | https://contoso.sharepoint.com/teams/team1
94
+ UserCodeMaximumLevel | 300
95
+ ```
96
+
97
+ </TabItem>
98
+ </Tabs>
@@ -48,3 +48,7 @@ Removes the specified deleted site collection from tenant recycle bin and wait f
48
48
  ```sh
49
49
  m365 spo tenant recyclebinitem remove --siteUrl https://contoso.sharepoint.com/sites/team --wait
50
50
  ```
51
+
52
+ ## Response
53
+
54
+ The command won't return a response on success.
@@ -1,4 +1,6 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # spo tenant recyclebinitem restore
4
6
 
@@ -45,3 +47,51 @@ Restore a deleted site collection from tenant recycle bin and wait for completio
45
47
  ```sh
46
48
  m365 spo tenant recyclebinitem restore --siteUrl https://contoso.sharepoint.com/sites/team --wait
47
49
  ```
50
+
51
+ ## Response
52
+
53
+ <Tabs>
54
+ <TabItem value="JSON">
55
+
56
+ ```json
57
+ {
58
+ "HasTimedout": false,
59
+ "IsComplete": true,
60
+ "PollingInterval": 15000
61
+ }
62
+ ```
63
+
64
+ </TabItem>
65
+ <TabItem value="Text">
66
+
67
+ ```text
68
+ HasTimedout : false
69
+ IsComplete : true
70
+ PollingInterval: 15000
71
+ ```
72
+
73
+ </TabItem>
74
+ <TabItem value="CSV">
75
+
76
+ ```csv
77
+ HasTimedout,IsComplete,PollingInterval
78
+ ,1,15000
79
+ ```
80
+
81
+ </TabItem>
82
+ <TabItem value="Markdown">
83
+
84
+ ```md
85
+ # spo tenant recyclebinitem restore --siteUrl "https://contoso.sharepoint.com/teams/team1"
86
+
87
+ Date: 2023-06-22
88
+
89
+ Property | Value
90
+ ---------|-------
91
+ HasTimedout | false
92
+ IsComplete | true
93
+ PollingInterval | 15000
94
+ ```
95
+
96
+ </TabItem>
97
+ </Tabs>