@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
@@ -14,28 +14,25 @@ m365 spfx project github workflow add [options]
14
14
 
15
15
  ```md definition-list
16
16
  `-n, --name [name]`
17
- : Name of the workflow that will be created. If none is specified a default name will be used 'Deploy Solution ${name of sppkg file}'
17
+ : Name of the workflow that will be created. If none is specified a default name will be used 'Deploy Solution ${name of sppkg file}'.
18
18
 
19
19
  `-b, --branchName [branchName]`
20
- : Specify the branch name which should trigger the workflow on push. If none is specified a default will be used which is 'main'
20
+ : Specify the branch name which should trigger the workflow on push. If none is specified a default will be used which is 'main'.
21
21
 
22
22
  `-m, --manuallyTrigger`
23
- : When specified a manual trigger option will be added to the workflow: `workflow_dispatch`
23
+ : When specified a manual trigger option will be added to the workflow: `workflow_dispatch`.
24
24
 
25
25
  `-l, --loginMethod [loginMethod]`
26
- : Specify the login method used for the login action. Possible options are: `user`, `application`. Default `application`'
26
+ : Specify the login method used for the login action. Possible options are: `user`, `application`. Default `application`.
27
27
 
28
28
  `-s, --scope [scope]`
29
- : Scope of the app catalog: `tenant`, `sitecollection`. Default is `tenant`
29
+ : Scope of the app catalog: `tenant`, `sitecollection`. Default is `tenant`.
30
30
 
31
31
  `-u, --siteUrl [siteUrl]`
32
- : The URL of the site collection where the solution package will be added. Required if scope is set to `sitecollection`
32
+ : The URL of the site collection where the solution package will be added. Required if scope is set to `sitecollection`.
33
33
 
34
34
  `--skipFeatureDeployment`
35
- : When specified and the app supports tenant-wide deployment, deploy it to the whole tenant
36
-
37
- `--overwrite`
38
- : When specified the workflow will overwrite the existing .sppkg if it is already deployed in the app catalog.
35
+ : When specified and the app supports tenant-wide deployment, deploy it to the whole tenant.
39
36
  ```
40
37
 
41
38
  <Global />
@@ -59,6 +56,8 @@ For the `user` login method you will need to create the following secrets in Git
59
56
 
60
57
  This method is perfect to test your workflow, in a dev context, for personal usage. It will not work for accounts with MFA.
61
58
 
59
+ The workflow will overwrite the existing .sppkg if it is already deployed in the app catalog. Overwriting your sppkg file on every deployment is required to make continuous delivery of the latest version of your app which is the aim of the continuous delivery pipeline.
60
+
62
61
  :::info
63
62
 
64
63
  Run this command in the SPFx solution folder.
@@ -67,7 +66,7 @@ Run this command in the SPFx solution folder.
67
66
 
68
67
  ## Examples
69
68
 
70
- Adds a GitHub workflow for a SharePoint Framework project with `application` login method triggered on push to main
69
+ Adds a GitHub workflow for a SharePoint Framework project with `application` login method triggered on push to main.
71
70
 
72
71
  ```sh
73
72
  m365 spfx project github workflow add
@@ -79,7 +78,7 @@ Adds a GitHub workflow for a SharePoint Framework project with `user` login meth
79
78
  m365 spfx project github workflow add --manuallyTrigger --loginMethod "user"
80
79
  ```
81
80
 
82
- Adds a GitHub workflow for a SharePoint Framework project with deployment to a site collection app catalog
81
+ Adds a GitHub workflow for a SharePoint Framework project with deployment to a site collection app catalog.
83
82
 
84
83
  ```sh
85
84
  m365 spfx project github workflow add --scope "sitecollection" --siteUrl "https://some.sharepoint.com/sites/someSite"
@@ -43,7 +43,7 @@ m365 spo app uninstall --id b2307a39-e878-458b-bc90-03bc578531d6 --siteUrl https
43
43
  Uninstall the app with the specified ID from the specified site without prompting for confirmation.
44
44
 
45
45
  ```sh
46
- m365 spo app uninstall --id b2307a39-e878-458b-bc90-03bc578531d6 --siteUrl https://contoso.sharepoint.com
46
+ m365 spo app uninstall --id b2307a39-e878-458b-bc90-03bc578531d6 --siteUrl https://contoso.sharepoint.com --force
47
47
  ```
48
48
 
49
49
  Uninstall the app with the specified ID from the specified site where the app is deployed to the site collection app catalog.
@@ -29,10 +29,17 @@ m365 spo applicationcustomizer get [options]
29
29
 
30
30
  `-s, --scope [scope]`
31
31
  : Scope of the application customizer. Allowed values: `Site`, `Web`, `All`. Defaults to `All`.
32
+
33
+ `-p, --clientSideComponentProperties`
34
+ : Only output the client-side component properties.
32
35
  ```
33
36
 
34
37
  <Global />
35
38
 
39
+ ## Remarks
40
+
41
+ This command can be used for retrieving an application customizer from a specific site. To retrieve an application customizer that's installed tenant-wide, view our dedicated [spo tenant applicationcustomizer get](../tenant/tenant-applicationcustomizer-get.mdx) command.
42
+
36
43
  ## Examples
37
44
 
38
45
  Retrieves an application customizer by title.
@@ -59,36 +66,44 @@ Retrieves an application customizer by title available at the site scope.
59
66
  m365 spo applicationcustomizer get --title "Some customizer" --webUrl https://contoso.sharepoint.com/sites/sales --scope site
60
67
  ```
61
68
 
62
- ## Remarks
69
+ Retrieves the client-side component properties of a application customizer.
63
70
 
64
- This command can be used for retrieving an application customizer from a specific site. To retrieve an application customizer that's installed tenant-wide, view our dedicated [spo tenant applicationcustomizer get](../tenant/tenant-applicationcustomizer-get.mdx) command.
71
+ ```sh
72
+ m365 spo applicationcustomizer get --id 14125658-a9bc-4ddf-9c75-1b5767c9a337 --webUrl https://contoso.sharepoint.com/sites/sales --clientSideComponentProperties
73
+ ```
65
74
 
66
75
  ## Response
67
76
 
77
+ ### Standard response
78
+
68
79
  <Tabs>
69
80
  <TabItem value="JSON">
70
81
 
71
82
  ```json
72
83
  {
73
- "ClientSideComponentId": "7096cded-b83d-4eab-96f0-df477ed7c0bc",
74
- "ClientSideComponentProperties": "",
84
+ "ClientSideComponentId": "9a8b100c-246b-4592-9454-67826523e159",
85
+ "ClientSideComponentProperties": "{\"testMessage\":\"Test message\"}",
75
86
  "CommandUIExtension": null,
76
87
  "Description": null,
77
88
  "Group": null,
78
- "Id": "14125658-a9bc-4ddf-9c75-1b5767c9a337",
89
+ "HostProperties": "",
90
+ "Id": "4a428b32-08cf-45c7-9986-17585af38806",
79
91
  "ImageUrl": null,
80
92
  "Location": "ClientSideExtension.ApplicationCustomizer",
81
- "Name": "Some customizer",
93
+ "Name": "{4a428b32-08cf-45c7-9986-17585af38806}",
82
94
  "RegistrationId": null,
83
95
  "RegistrationType": 0,
84
- "Rights": "{\"High\":0,\"Low\":0}",
96
+ "Rights": {
97
+ "High": 0,
98
+ "Low": 0
99
+ },
85
100
  "Scope": "Web",
86
101
  "ScriptBlock": null,
87
102
  "ScriptSrc": null,
88
- "Sequence": 0,
89
- "Title": "Some customizer",
103
+ "Sequence": 65536,
104
+ "Title": "HelloWorld",
90
105
  "Url": null,
91
- "VersionOfUserCustomAction": "16.0.1.0"
106
+ "VersionOfUserCustomAction": "1.0.1.0"
92
107
  }
93
108
  ```
94
109
 
@@ -96,65 +111,100 @@ This command can be used for retrieving an application customizer from a specifi
96
111
  <TabItem value="Text">
97
112
 
98
113
  ```text
99
- ClientSideComponentId : 7096cded-b83d-4eab-96f0-df477ed7c0bc
100
- ClientSideComponentProperties:
114
+ ClientSideComponentId : 9a8b100c-246b-4592-9454-67826523e159
115
+ ClientSideComponentProperties: {"testMessage":"Test message"}
101
116
  CommandUIExtension : null
102
117
  Description : null
103
118
  Group : null
104
- Id : 14125658-a9bc-4ddf-9c75-1b5767c9a337
119
+ HostProperties :
120
+ Id : 4a428b32-08cf-45c7-9986-17585af38806
105
121
  ImageUrl : null
106
122
  Location : ClientSideExtension.ApplicationCustomizer
107
- Name : Some customizer
123
+ Name : {4a428b32-08cf-45c7-9986-17585af38806}
108
124
  RegistrationId : null
109
125
  RegistrationType : 0
110
- Rights : {"High":0,"Low":0}
111
126
  Scope : Web
112
127
  ScriptBlock : null
113
128
  ScriptSrc : null
114
- Sequence : 0
115
- Title : Some customizer
129
+ Sequence : 65536
130
+ Title : HelloWorld
116
131
  Url : null
117
- VersionOfUserCustomAction : 16.0.1.0
132
+ VersionOfUserCustomAction : 1.0.1.0
118
133
  ```
119
134
 
120
135
  </TabItem>
121
136
  <TabItem value="CSV">
122
137
 
123
138
  ```csv
124
- ClientSideComponentId,ClientSideComponentProperties,CommandUIExtension,Description,Group,Id,ImageUrl,Location,Name,RegistrationId,RegistrationType,Rights,Scope,ScriptBlock,ScriptSrc,Sequence,Title,Url,VersionOfUserCustomAction
125
- 7096cded-b83d-4eab-96f0-df477ed7c0bc,,,,,14125658-a9bc-4ddf-9c75-1b5767c9a337,,ClientSideExtension.ApplicationCustomizer,Some customizer,,0,"{""High"":0,""Low"":0}",Web,,,0,Some customizer,,16.0.1.0
139
+ ClientSideComponentId,ClientSideComponentProperties,CommandUIExtension,Description,Group,Id,ImageUrl,Location,Name,RegistrationId,RegistrationType,Scope,ScriptBlock,ScriptSrc,Sequence,Title,Url,VersionOfUserCustomAction
140
+ 9a8b100c-246b-4592-9454-67826523e159,"{""testMessage"":""Test message""}",,,,4a428b32-08cf-45c7-9986-17585af38806,,ClientSideExtension.ApplicationCustomizer,Some customizer,,0,Web,,,0,Some customizer,,16.0.1.0
126
141
  ```
127
142
 
128
143
  </TabItem>
129
144
  <TabItem value="Markdown">
130
145
 
131
146
  ```md
132
- # spo applicationcustomizer get --title "Some customizer" --webUrl "https://contoso.sharepoint.com/sites/sales" --scope "Web"
147
+ # spo applicationcustomizer get --webUrl "https://contoso.sharepoint.com/sites/Marketing" --id "4a428b32-08cf-45c7-9986-17585af38806"
133
148
 
134
- Date: 3/6/2023
149
+ Date: 16/05/2024
135
150
 
136
- ## Some customizer (14125658-a9bc-4ddf-9c75-1b5767c9a337)
151
+ ## HelloWorld (4a428b32-08cf-45c7-9986-17585af38806)
137
152
 
138
153
  Property | Value
139
154
  ---------|-------
140
- ClientSideComponentId | 7096cded-b83d-4eab-96f0-df477ed7c0bc
141
- ClientSideComponentProperties |
142
- CommandUIExtension | null
143
- Description | null
144
- Group | null
145
- Id | 14125658-a9bc-4ddf-9c75-1b5767c9a337
146
- ImageUrl | null
155
+ ClientSideComponentId | 9a8b100c-246b-4592-9454-67826523e159
156
+ ClientSideComponentProperties | {"testMessage":"Test message"}
157
+ HostProperties |
158
+ Id | 4a428b32-08cf-45c7-9986-17585af38806
147
159
  Location | ClientSideExtension.ApplicationCustomizer
148
- Name | Some customizer
149
- RegistrationId | null
160
+ Name | {4a428b32-08cf-45c7-9986-17585af38806}
150
161
  RegistrationType | 0
151
162
  Scope | Web
152
- ScriptBlock | null
153
- ScriptSrc | null
154
- Sequence | 0
155
- Title | Some customizer
156
- Url | null
157
- VersionOfUserCustomAction | 16.0.1.0
163
+ Sequence | 65536
164
+ Title | HelloWorld
165
+ VersionOfUserCustomAction | 1.0.1.0
166
+ ```
167
+
168
+ </TabItem>
169
+ </Tabs>
170
+
171
+ ### `clientSideComponentProperties` response
172
+
173
+ <Tabs>
174
+ <TabItem value="JSON">
175
+
176
+ ```json
177
+ {
178
+ "testMessage": "Test message"
179
+ }
180
+ ```
181
+
182
+ </TabItem>
183
+ <TabItem value="Text">
184
+
185
+ ```txt
186
+ testMessage: Test message
187
+ ```
188
+
189
+ </TabItem>
190
+ <TabItem value="CSV">
191
+
192
+ ```csv
193
+ testMessage
194
+ Test message
195
+ ```
196
+
197
+ </TabItem>
198
+ <TabItem value="Markdown">
199
+
200
+ ```md
201
+ # spo applicationcustomizer get --title "Some customizer" --webUrl "https://contoso.sharepoint.com/sites/sales" --scope "Web" --clientSideComponentProperties "true"
202
+
203
+ Date: 15/05/2024
204
+
205
+ Property | Value
206
+ ---------|-------
207
+ testMessage | Test message
158
208
  ```
159
209
 
160
210
  </TabItem>
@@ -24,6 +24,10 @@ m365 spo applicationcustomizer list [options]
24
24
 
25
25
  <Global />
26
26
 
27
+ ## Remarks
28
+
29
+ This command can be used for retrieving a list of application customizers from a specific site. To retrieve a list of application customizers that are installed tenant-wide, view our dedicated [spo tenant applicationcustomizer list](../tenant/tenant-applicationcustomizer-list.mdx) command.
30
+
27
31
  ## Examples
28
32
 
29
33
  Retrieves a list of application customizers.
@@ -32,10 +36,6 @@ Retrieves a list of application customizers.
32
36
  m365 spo applicationcustomizer list --webUrl https://contoso.sharepoint.com/sites/sales
33
37
  ```
34
38
 
35
- ## Remarks
36
-
37
- This command can be used for retrieving a list of application customizers from a specific site. To retrieve a list of application customizers that are installed tenant-wide, view our dedicated [spo tenant applicationcustomizer list](../tenant/tenant-applicationcustomizer-list.mdx) command.
38
-
39
39
  ## Response
40
40
 
41
41
  <Tabs>
@@ -44,16 +44,16 @@ This command can be used for retrieving a list of application customizers from a
44
44
  ```json
45
45
  [
46
46
  {
47
- "ClientSideComponentId": "4358e70e-ec3c-4713-beb6-39c88f7621d1",
48
- "ClientSideComponentProperties": "{\"listTitle\":\"News\",\"listViewTitle\":\"Published News\"}",
47
+ "ClientSideComponentId": "9a8b100c-246b-4592-9454-67826523e159",
48
+ "ClientSideComponentProperties": "{\"testMessage\":\"Test message\"}",
49
49
  "CommandUIExtension": null,
50
50
  "Description": null,
51
51
  "Group": null,
52
52
  "HostProperties": "",
53
- "Id": "f405303c-6048-4636-9660-1b7b2cadaef9",
53
+ "Id": "4a428b32-08cf-45c7-9986-17585af38806",
54
54
  "ImageUrl": null,
55
55
  "Location": "ClientSideExtension.ApplicationCustomizer",
56
- "Name": "{f405303c-6048-4636-9660-1b7b2cadaef9}",
56
+ "Name": "{4a428b32-08cf-45c7-9986-17585af38806}",
57
57
  "RegistrationId": null,
58
58
  "RegistrationType": 0,
59
59
  "Rights": {
@@ -64,7 +64,7 @@ This command can be used for retrieving a list of application customizers from a
64
64
  "ScriptBlock": null,
65
65
  "ScriptSrc": null,
66
66
  "Sequence": 65536,
67
- "Title": "NewsTicker",
67
+ "Title": "HelloWorld",
68
68
  "Url": null,
69
69
  "VersionOfUserCustomAction": "1.0.1.0"
70
70
  }
@@ -75,47 +75,41 @@ This command can be used for retrieving a list of application customizers from a
75
75
  <TabItem value="Text">
76
76
 
77
77
  ```text
78
- Name Location Scope Id
79
- -------------------------------------- ----------------------------------------- ----- ------------------------------------
80
- {f405303c-6048-4636-9660-1b7b2cadaef9} ClientSideExtension.ApplicationCustomizer 3 f405303c-6048-4636-9660-1b7b2cadaef9
78
+ Id Location Name Scope
79
+ ------------------------------------ ----------------------------------------- -------------------------------------- -----
80
+ 4a428b32-08cf-45c7-9986-17585af38806 ClientSideExtension.ApplicationCustomizer {4a428b32-08cf-45c7-9986-17585af38806} 3
81
81
  ```
82
82
 
83
83
  </TabItem>
84
84
  <TabItem value="CSV">
85
85
 
86
86
  ```csv
87
- Name,Location,Scope,Id
88
- {f405303c-6048-4636-9660-1b7b2cadaef9},ClientSideExtension.ApplicationCustomizer,3,f405303c-6048-4636-9660-1b7b2cadaef9
87
+ ClientSideComponentId,ClientSideComponentProperties,CommandUIExtension,Description,Group,HostProperties,Id,ImageUrl,Location,Name,RegistrationId,RegistrationType,Scope,ScriptBlock,ScriptSrc,Sequence,Title,Url,VersionOfUserCustomAction
88
+ 9a8b100c-246b-4592-9454-67826523e159,"{""testMessage"":""Test message""}",,,,,4a428b32-08cf-45c7-9986-17585af38806,,ClientSideExtension.ApplicationCustomizer,{4a428b32-08cf-45c7-9986-17585af38806},,0,3,,,65536,HelloWorld,,1.0.1.0
89
89
  ```
90
90
 
91
91
  </TabItem>
92
92
  <TabItem value="Markdown">
93
93
 
94
94
  ```md
95
- # spo applicationcustomizer list --webUrl "https://contoso.sharepoint.com"
95
+ # spo applicationcustomizer list --webUrl "https://contoso.sharepoint.com/sites/Marketing"
96
96
 
97
- Date: 28/2/2023
97
+ Date: 16/05/2024
98
98
 
99
- ## NewsTicker (f405303c-6048-4636-9660-1b7b2cadaef9)
99
+ ## HelloWorld (4a428b32-08cf-45c7-9986-17585af38806)
100
100
 
101
101
  Property | Value
102
102
  ---------|-------
103
- ClientSideComponentId | 4358e70e-ec3c-4713-beb6-39c88f7621d1
104
- CommandUIExtension | null
105
- Description | null
106
- Group | null
103
+ ClientSideComponentId | 9a8b100c-246b-4592-9454-67826523e159
104
+ ClientSideComponentProperties | {"testMessage":"Test message"}
107
105
  HostProperties |
108
- Id | f405303c-6048-4636-9660-1b7b2cadaef9
109
- ImageUrl | null
106
+ Id | 4a428b32-08cf-45c7-9986-17585af38806
110
107
  Location | ClientSideExtension.ApplicationCustomizer
111
- RegistrationId | null
108
+ Name | {4a428b32-08cf-45c7-9986-17585af38806}
112
109
  RegistrationType | 0
113
110
  Scope | 3
114
- ScriptBlock | null
115
- ScriptSrc | null
116
111
  Sequence | 65536
117
- Title | NewsTicker
118
- Url | null
112
+ Title | HelloWorld
119
113
  VersionOfUserCustomAction | 1.0.1.0
120
114
  ```
121
115
 
@@ -17,10 +17,10 @@ m365 spo cdn set [options]
17
17
  : Set to true to enable CDN or to false to disable it. Allowed values: `true`, `false`.
18
18
 
19
19
  `-t, --type [type]`
20
- : Type of CDN to manage. Allowed values: `Public`, `Private`, `Both`. Defaults to `Public`.
20
+ : Type of CDN to update. Allowed values: `Public`, `Private`, `Both`. Defaults to `Public`.
21
21
 
22
22
  `--noDefaultOrigins`
23
- : pass to not create the default origins.
23
+ : Specify this flag to not create the default origins.
24
24
  ```
25
25
 
26
26
  <Global />
@@ -35,7 +35,7 @@ Using the `--noDefaultOrigins` option you can specify to skip the creation of th
35
35
 
36
36
  :::info
37
37
 
38
- To use this command you have to have permissions to access the tenant admin site.
38
+ To use this command you must be a Global or SharePoint administrator.
39
39
 
40
40
  :::
41
41
 
@@ -29,6 +29,9 @@ m365 spo commandset get [options]
29
29
 
30
30
  `-s, --scope [scope]`
31
31
  : Scope of the ListView Command Set. Allowed values: `Site`, `Web`, `All`. Defaults to `All`.
32
+
33
+ `-p, --clientSideComponentProperties`
34
+ : Only output the client-side component properties.
32
35
  ```
33
36
 
34
37
  <Global />
@@ -50,7 +53,7 @@ m365 spo commandset get --title "Some customizer" --webUrl https://contoso.share
50
53
  Retrieves a ListView Command Set by id with scope 'Web'.
51
54
 
52
55
  ```sh
53
- m365 spo commandset get --id 14125658-a9bc-4ddf-9c75-1b5767c9a337 --webUrl https://contoso.sharepoint.com/sites/sales -scope Web
56
+ m365 spo commandset get --id 14125658-a9bc-4ddf-9c75-1b5767c9a337 --webUrl https://contoso.sharepoint.com/sites/sales --scope Web
54
57
  ```
55
58
 
56
59
  Retrieves a ListView Command Set by clientSideComponentId with scope 'Site'.
@@ -59,23 +62,31 @@ Retrieves a ListView Command Set by clientSideComponentId with scope 'Site'.
59
62
  m365 spo commandset get --clientSideComponentId c1cbd896-5140-428d-8b0c-4873be19f5ac --webUrl https://contoso.sharepoint.com/sites/sales --scope Site
60
63
  ```
61
64
 
65
+ Retrieves the client-side component properties of a ListView Command Set.
66
+
67
+ ```sh
68
+ m365 spo commandset get --id 14125658-a9bc-4ddf-9c75-1b5767c9a337 --webUrl https://contoso.sharepoint.com/sites/sales --clientSideComponentProperties
69
+ ```
70
+
62
71
  ## Response
63
72
 
73
+ ### Standard response
74
+
64
75
  <Tabs>
65
76
  <TabItem value="JSON">
66
77
 
67
78
  ```json
68
79
  {
69
- "ClientSideComponentId": "c1cbd896-5140-428d-8b0c-4873be19f5ac",
80
+ "ClientSideComponentId": "53dd6a38-1461-44e0-9bf0-14883316a316",
70
81
  "ClientSideComponentProperties": "{\"sampleTextOne\":\"One item is selected in the list.\", \"sampleTextTwo\":\"This command is always visible.\"}",
71
82
  "CommandUIExtension": null,
72
83
  "Description": null,
73
84
  "Group": null,
74
85
  "HostProperties": "",
75
- "Id": "9a0674de-2f3d-4a26-ba79-62b460ddd327",
86
+ "Id": "bb26547d-c9b7-4ed1-b793-00cbe53388d6",
76
87
  "ImageUrl": null,
77
88
  "Location": "ClientSideExtension.ListViewCommandSet.CommandBar",
78
- "Name": "{9a0674de-2f3d-4a26-ba79-62b460ddd327}",
89
+ "Name": "{bb26547d-c9b7-4ed1-b793-00cbe53388d6}",
79
90
  "RegistrationId": "100",
80
91
  "RegistrationType": 1,
81
92
  "Rights": {
@@ -86,7 +97,7 @@ m365 spo commandset get --clientSideComponentId c1cbd896-5140-428d-8b0c-4873be19
86
97
  "ScriptBlock": null,
87
98
  "ScriptSrc": null,
88
99
  "Sequence": 65536,
89
- "Title": "Notification",
100
+ "Title": "HelloWorld",
90
101
  "Url": null,
91
102
  "VersionOfUserCustomAction": "1.0.1.0"
92
103
  }
@@ -96,16 +107,16 @@ m365 spo commandset get --clientSideComponentId c1cbd896-5140-428d-8b0c-4873be19
96
107
  <TabItem value="Text">
97
108
 
98
109
  ```text
99
- ClientSideComponentId : c1cbd896-5140-428d-8b0c-4873be19f5ac
110
+ ClientSideComponentId : 53dd6a38-1461-44e0-9bf0-14883316a316
100
111
  ClientSideComponentProperties: {"sampleTextOne":"One item is selected in the list.", "sampleTextTwo":"This command is always visible."}
101
112
  CommandUIExtension : null
102
113
  Description : null
103
114
  Group : null
104
115
  HostProperties :
105
- Id : 9a0674de-2f3d-4a26-ba79-62b460ddd327
116
+ Id : bb26547d-c9b7-4ed1-b793-00cbe53388d6
106
117
  ImageUrl : null
107
118
  Location : ClientSideExtension.ListViewCommandSet.CommandBar
108
- Name : {9a0674de-2f3d-4a26-ba79-62b460ddd327}
119
+ Name : {bb26547d-c9b7-4ed1-b793-00cbe53388d6}
109
120
  RegistrationId : 100
110
121
  RegistrationType : 1
111
122
  Rights : {"High":"0","Low":"0"}
@@ -113,7 +124,7 @@ m365 spo commandset get --clientSideComponentId c1cbd896-5140-428d-8b0c-4873be19
113
124
  ScriptBlock : null
114
125
  ScriptSrc : null
115
126
  Sequence : 65536
116
- Title : Notification
127
+ Title : HelloWorld
117
128
  Url : null
118
129
  VersionOfUserCustomAction : 1.0.1.0
119
130
  ```
@@ -122,40 +133,80 @@ m365 spo commandset get --clientSideComponentId c1cbd896-5140-428d-8b0c-4873be19
122
133
  <TabItem value="CSV">
123
134
 
124
135
  ```csv
125
- ClientSideComponentId,ClientSideComponentProperties,CommandUIExtension,Description,Group,HostProperties,Id,ImageUrl,Location,Name,RegistrationId,RegistrationType,Rights,Scope,ScriptBlock,ScriptSrc,Sequence,Title,Url,VersionOfUserCustomAction
126
- c1cbd896-5140-428d-8b0c-4873be19f5ac,"{""sampleTextOne"":""One item is selected in the list."", ""sampleTextTwo"":""This command is always visible.""}",,,,,9a0674de-2f3d-4a26-ba79-62b460ddd327,,ClientSideExtension.ListViewCommandSet.CommandBar,{9a0674de-2f3d-4a26-ba79-62b460ddd327},100,1,"{""High"":""0"",""Low"":""0""}",3,,,65536,Notification,,1.0.1.0
136
+ ClientSideComponentId,ClientSideComponentProperties,CommandUIExtension,Description,Group,HostProperties,Id,ImageUrl,Location,Name,RegistrationId,RegistrationType,Scope,ScriptBlock,ScriptSrc,Sequence,Title,Url,VersionOfUserCustomAction
137
+ 53dd6a38-1461-44e0-9bf0-14883316a316,"{""sampleTextOne"":""One item is selected in the list."", ""sampleTextTwo"":""This command is always visible.""}",,,,,bb26547d-c9b7-4ed1-b793-00cbe53388d6,,ClientSideExtension.ListViewCommandSet.CommandBar,{bb26547d-c9b7-4ed1-b793-00cbe53388d6},100,1,3,,,65536,HelloWorld,,1.0.1.0
127
138
  ```
128
139
 
129
140
  </TabItem>
130
141
  <TabItem value="Markdown">
131
142
 
132
143
  ```md
133
- # spo commandset get --webUrl "https://contoso.sharepoint.com/sites/sales" --id "9a0674de-2f3d-4a26-ba79-62b460ddd327"
144
+ # spo commandset get --webUrl "https://contoso.sharepoint.com/sites/sales" --id "bb26547d-c9b7-4ed1-b793-00cbe53388d6"
134
145
 
135
- Date: 27/02/2023
146
+ Date: 16/05/2024
136
147
 
137
- ## Notification (9a0674de-2f3d-4a26-ba79-62b460ddd327)
148
+ ## HelloWorld (bb26547d-c9b7-4ed1-b793-00cbe53388d6)
138
149
 
139
150
  Property | Value
140
151
  ---------|-------
141
- ClientSideComponentId | c1cbd896-5140-428d-8b0c-4873be19f5ac
142
- CommandUIExtension | null
143
- Description | null
144
- Group | null
152
+ ClientSideComponentId | 53dd6a38-1461-44e0-9bf0-14883316a316
153
+ ClientSideComponentProperties | {"sampleTextOne":"One item is selected in the list.", "sampleTextTwo":"This command is always visible."}
145
154
  HostProperties |
146
- Id | 9a0674de-2f3d-4a26-ba79-62b460ddd327
147
- ImageUrl | null
155
+ Id | bb26547d-c9b7-4ed1-b793-00cbe53388d6
148
156
  Location | ClientSideExtension.ListViewCommandSet.CommandBar
157
+ Name | {bb26547d-c9b7-4ed1-b793-00cbe53388d6}
149
158
  RegistrationId | 100
150
159
  RegistrationType | 1
151
160
  Scope | 3
152
- ScriptBlock | null
153
- ScriptSrc | null
154
161
  Sequence | 65536
155
- Title | Notification
156
- Url | null
162
+ Title | HelloWorld
157
163
  VersionOfUserCustomAction | 1.0.1.0
158
164
  ```
159
165
 
160
166
  </TabItem>
161
167
  </Tabs>
168
+
169
+ ### `clientSideComponentProperties` response
170
+
171
+ <Tabs>
172
+ <TabItem value="JSON">
173
+
174
+ ```json
175
+ {
176
+ "sampleTextOne": "One item is selected in the list.",
177
+ "sampleTextTwo": "This command is always visible."
178
+ }
179
+ ```
180
+
181
+ </TabItem>
182
+ <TabItem value="Text">
183
+
184
+ ```txt
185
+ sampleTextOne: One item is selected in the list.
186
+ sampleTextTwo: This command is always visible.
187
+ ```
188
+
189
+ </TabItem>
190
+ <TabItem value="CSV">
191
+
192
+ ```csv
193
+ sampleTextOne,sampleTextTwo
194
+ One item is selected in the list.,This command is always visible.
195
+ ```
196
+
197
+ </TabItem>
198
+ <TabItem value="Markdown">
199
+
200
+ ```md
201
+ # spo commandset get --webUrl "https://contoso.sharepoint.com/sites/sales" --id "9a0674de-2f3d-4a26-ba79-62b460ddd327" --clientSideComponentProperties "true"
202
+
203
+ Date: 15/05/2024
204
+
205
+ Property | Value
206
+ ---------|-------
207
+ sampleTextOne | One item is selected in the list.
208
+ sampleTextTwo | This command is always visible.
209
+ ```
210
+
211
+ </TabItem>
212
+ </Tabs>