@pnp/cli-microsoft365 9.0.0-beta.2f8dd1e → 9.0.0-beta.33615bd

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 (118) 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 +49 -2
  6. package/dist/chili/chili.js +0 -23
  7. package/dist/cli/cli.js +61 -101
  8. package/dist/m365/app/commands/permission/permission-add.js +9 -9
  9. package/dist/m365/commands/login.js +44 -96
  10. package/dist/m365/commands/setup.js +0 -4
  11. package/dist/m365/connection/commands/connection-remove.js +6 -2
  12. package/dist/m365/connection/commands/connection-set.js +4 -1
  13. package/dist/m365/connection/commands/connection-use.js +25 -4
  14. package/dist/m365/entra/commands/group/group-user-list.js +4 -4
  15. package/dist/m365/entra/commands/m365group/m365group-conversation-post-list.js +4 -4
  16. package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-list.js +3 -3
  17. package/dist/m365/entra/commands/m365group/m365group-set.js +66 -29
  18. package/dist/m365/entra/commands/m365group/m365group-user-list.js +6 -9
  19. package/dist/m365/entra/commands/multitenant/MultitenantOrganization.js +2 -0
  20. package/dist/m365/entra/commands/multitenant/multitenant-add.js +65 -0
  21. package/dist/m365/entra/commands/multitenant/multitenant-get.js +32 -0
  22. package/dist/m365/entra/commands/multitenant/multitenant-remove.js +118 -0
  23. package/dist/m365/entra/commands/multitenant/multitenant-set.js +72 -0
  24. package/dist/m365/entra/commands.js +4 -0
  25. package/dist/m365/external/commands/connection/connection-doctor.js +10 -24
  26. package/dist/m365/flow/commands/flow-list.js +23 -24
  27. package/dist/m365/graph/commands/subscription/subscription-add.js +4 -2
  28. package/dist/m365/outlook/commands/message/message-get.js +11 -11
  29. package/dist/m365/spe/ContainerTypeProperties.js +2 -0
  30. package/dist/m365/spe/commands/containertype/containertype-list.js +49 -0
  31. package/dist/m365/spe/commands.js +2 -1
  32. package/dist/m365/spfx/commands/project/base-project-command.js +36 -126
  33. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-get.js +16 -21
  34. package/dist/m365/spo/commands/cdn/cdn-get.js +12 -15
  35. package/dist/m365/spo/commands/cdn/cdn-set.js +6 -4
  36. package/dist/m365/spo/commands/commandset/commandset-get.js +31 -17
  37. package/dist/m365/spo/commands/contenttype/contenttype-field-list.js +124 -0
  38. package/dist/m365/spo/commands/field/field-list.js +1 -1
  39. package/dist/m365/spo/commands/file/file-roleassignment-add.js +1 -1
  40. package/dist/m365/spo/commands/file/file-roleinheritance-break.js +1 -1
  41. package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +1 -1
  42. package/dist/m365/spo/commands/folder/folder-retentionlabel-ensure.js +1 -1
  43. package/dist/m365/spo/commands/group/group-member-add.js +103 -99
  44. package/dist/m365/spo/commands/list/list-list.js +1 -4
  45. package/dist/m365/spo/commands/list/list-roleassignment-add.js +46 -21
  46. package/dist/m365/spo/commands/list/list-roleassignment-remove.js +48 -46
  47. package/dist/m365/spo/commands/page/page-clientsidewebpart-add.js +2 -3
  48. package/dist/m365/spo/commands/page/page-text-add.js +2 -3
  49. package/dist/m365/spo/commands/site/site-appcatalog-remove.js +48 -24
  50. package/dist/m365/spo/commands/spo-search.js +3 -4
  51. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-get.js +19 -5
  52. package/dist/m365/spo/commands/tenant/tenant-commandset-get.js +20 -6
  53. package/dist/m365/spo/commands/tenant/tenant-recyclebinitem-restore.js +2 -22
  54. package/dist/m365/spo/commands.js +1 -0
  55. package/dist/m365/teams/commands/meeting/meeting-attendancereport-get.js +119 -0
  56. package/dist/m365/teams/commands/message/message-remove.js +112 -0
  57. package/dist/m365/teams/commands.js +2 -0
  58. package/dist/m365/viva/commands/engage/engage-community-add.js +166 -0
  59. package/dist/m365/viva/commands.js +1 -0
  60. package/dist/utils/formatting.js +30 -1
  61. package/dist/utils/spo.js +37 -6
  62. package/dist/utils/teams.js +49 -0
  63. package/dist/utils/validation.js +19 -0
  64. package/dist/utils/zod.js +124 -0
  65. package/docs/docs/cmd/app/permission/permission-add.mdx +5 -5
  66. package/docs/docs/cmd/connection/connection-use.mdx +8 -2
  67. package/docs/docs/cmd/entra/group/group-user-list.mdx +7 -7
  68. package/docs/docs/cmd/entra/m365group/m365group-conversation-post-list.mdx +5 -5
  69. package/docs/docs/cmd/entra/m365group/m365group-recyclebinitem-list.mdx +3 -3
  70. package/docs/docs/cmd/entra/m365group/m365group-set.mdx +37 -7
  71. package/docs/docs/cmd/entra/m365group/m365group-user-list.mdx +1 -1
  72. package/docs/docs/cmd/entra/multitenant/multitenant-add.mdx +107 -0
  73. package/docs/docs/cmd/entra/multitenant/multitenant-get.mdx +94 -0
  74. package/docs/docs/cmd/entra/multitenant/multitenant-remove.mdx +58 -0
  75. package/docs/docs/cmd/entra/multitenant/multitenant-set.mdx +53 -0
  76. package/docs/docs/cmd/external/connection/connection-doctor.mdx +9 -9
  77. package/docs/docs/cmd/flow/flow-list.mdx +114 -56
  78. package/docs/docs/cmd/graph/subscription/subscription-add.mdx +18 -0
  79. package/docs/docs/cmd/outlook/message/message-get.mdx +5 -5
  80. package/docs/docs/cmd/planner/plan/plan-remove.mdx +1 -1
  81. package/docs/docs/cmd/spe/containertype/containertype-list.mdx +102 -0
  82. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-get.mdx +87 -38
  83. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-list.mdx +22 -28
  84. package/docs/docs/cmd/spo/cdn/cdn-set.mdx +3 -3
  85. package/docs/docs/cmd/spo/commandset/commandset-get.mdx +75 -24
  86. package/docs/docs/cmd/spo/commandset/commandset-list.mdx +26 -32
  87. package/docs/docs/cmd/spo/contenttype/contenttype-field-list.mdx +172 -0
  88. package/docs/docs/cmd/spo/contenttype/contenttype-list.mdx +3 -3
  89. package/docs/docs/cmd/spo/field/field-list.mdx +3 -3
  90. package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +1 -1
  91. package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +2 -2
  92. package/docs/docs/cmd/spo/file/file-roleassignment-remove.mdx +1 -1
  93. package/docs/docs/cmd/spo/file/file-roleinheritance-break.mdx +1 -1
  94. package/docs/docs/cmd/spo/file/file-roleinheritance-reset.mdx +1 -1
  95. package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.mdx +2 -2
  96. package/docs/docs/cmd/spo/group/group-member-add.mdx +34 -27
  97. package/docs/docs/cmd/spo/list/list-list.mdx +5 -7
  98. package/docs/docs/cmd/spo/list/list-roleassignment-add.mdx +15 -3
  99. package/docs/docs/cmd/spo/list/list-roleassignment-remove.mdx +15 -3
  100. package/docs/docs/cmd/spo/listitem/listitem-retentionlabel-ensure.mdx +4 -4
  101. package/docs/docs/cmd/spo/listitem/listitem-retentionlabel-remove.mdx +1 -1
  102. package/docs/docs/cmd/spo/listitem/listitem-roleassignment-add.mdx +9 -9
  103. package/docs/docs/cmd/spo/listitem/listitem-roleassignment-remove.mdx +7 -7
  104. package/docs/docs/cmd/spo/site/site-appcatalog-remove.mdx +11 -2
  105. package/docs/docs/cmd/spo/site/site-recyclebinitem-list.mdx +1 -1
  106. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-get.mdx +79 -30
  107. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.mdx +20 -19
  108. package/docs/docs/cmd/spo/tenant/tenant-commandset-get.mdx +84 -38
  109. package/docs/docs/cmd/spo/tenant/tenant-commandset-list.mdx +20 -19
  110. package/docs/docs/cmd/spo/tenant/tenant-recyclebinitem-restore.mdx +2 -49
  111. package/docs/docs/cmd/spo/web/web-roleassignment-add.mdx +1 -1
  112. package/docs/docs/cmd/spo/web/web-roleassignment-remove.mdx +1 -1
  113. package/docs/docs/cmd/teams/meeting/meeting-attendancereport-get.mdx +138 -0
  114. package/docs/docs/cmd/teams/meeting/meeting-list.mdx +7 -3
  115. package/docs/docs/cmd/teams/message/message-remove.mdx +63 -0
  116. package/docs/docs/cmd/viva/engage/engage-community-add.mdx +168 -0
  117. package/npm-shrinkwrap.json +588 -1022
  118. package/package.json +7 -3
@@ -67,6 +67,24 @@ Create a subscription using the maximum allowed expiration for Group resources
67
67
  m365 graph subscription add --resource groups --changeTypes "updated" --notificationUrl "https://webhook.azurewebsites.net/api/send/myNotifyClient"
68
68
  ```
69
69
 
70
+ Create a subscription for Event Hub location if you are using Key Vault
71
+
72
+ ```sh
73
+ m365 graph subscription add --resource user --changeTypes "created,updated,deleted" --notificationUrl "EventHub:https://azureKeyVaultName.vault.azure.net/secrets/secretName?tenantId=contoso.com"
74
+ ```
75
+
76
+ Create a subscription for Event Hub location if you are using role-based access control
77
+
78
+ ```sh
79
+ m365 graph subscription add --resource user --changeTypes "created,updated,deleted" --notificationUrl "EventHub:https://eventHubNamespace.servicebus.windows.net/eventhubname/eventHubName?tenantId=contoso.com"
80
+ ```
81
+
82
+ Create a subscription for Event Grid Partner Topic.
83
+
84
+ ```sh
85
+ m365 graph subscription add --resource user --changeTypes "created,updated,deleted" --notificationUrl "EventGrid:?azuresubscriptionid=8A8A8A8A-4B4B-4C4C-4D4D-12E12E12E12E&resourcegroup=resourceGroupName&partnertopic=partnerTopicName&location=partnerTopicAzureRegionName"
86
+ ```
87
+
70
88
  ## Response
71
89
 
72
90
  <Tabs>
@@ -19,10 +19,10 @@ m365 outlook message get [options]
19
19
  : ID of the message.
20
20
 
21
21
  `--userId [userId]`
22
- : ID of the user from which to retrieve the message. Specify either `userId` or `userPrincipalName`, but not both. This option is required when using application permissions.
22
+ : ID of the user from which to retrieve the message. Specify either `userId` or `userName`, but not both. This option is required when using application permissions.
23
23
 
24
- `--userPrincipalName [userPrincipalName]`
25
- : UPN of the user from which to retrieve the message Specify either `userId` or `userPrincipalName`, but not both. This option is required when using application permissions.
24
+ `--userName [userName]`
25
+ : UPN of the user from which to retrieve the message Specify either `userId` or `userName`, but not both. This option is required when using application permissions.
26
26
  ```
27
27
 
28
28
  <Global />
@@ -38,7 +38,7 @@ m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYm
38
38
  Get a specific message using delegated permissions from a shared mailbox.
39
39
 
40
40
  ```sh
41
- m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAALvuv07AAA= --userPrincipalName sharedmailbox@tenant.com
41
+ m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAALvuv07AAA= --userName sharedmailbox@tenant.com
42
42
  ```
43
43
 
44
44
  Get a specific message from a specific user retrieved by user ID using application permissions.
@@ -50,7 +50,7 @@ m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYm
50
50
  Get a specific message from a specific user retrieved by user principal name using application permissions.
51
51
 
52
52
  ```sh
53
- m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAALvuv07AAA= --userPrincipalName user@tenant.com
53
+ m365 outlook message get --id AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OABGAAAAAAAiQ8W967B7TKBjgx9rVEURBwAiIsqMbYjsT5e-T7KzowPTAAAAAAEMAAAiIsqMbYjsT5e-T7KzowPTAALvuv07AAA= --userName user@tenant.com
54
54
  ```
55
55
 
56
56
  ## Response
@@ -13,7 +13,7 @@ m365 planner plan remove [options]
13
13
  ## Options
14
14
 
15
15
  ```md definition-list
16
- `i, --id [id]`
16
+ `-i, --id [id]`
17
17
  : ID of the plan to remove. Specify either `id` or `title` but not both.
18
18
 
19
19
  `-t, --title [title]`
@@ -0,0 +1,102 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
4
+
5
+ # spe containertype list
6
+
7
+ Lists all Container Types
8
+
9
+ ## Usage
10
+
11
+ ```sh
12
+ m365 spe containertype list [options]
13
+ ```
14
+
15
+ ## Options
16
+
17
+ <Global />
18
+
19
+ ## Examples
20
+
21
+ Retrieves a list of Container Types created for a SharePoint Embedded Application from the tenant.
22
+
23
+ ```sh
24
+ m365 spe containertype list
25
+ ```
26
+
27
+ ## Response
28
+
29
+ <Tabs>
30
+ <TabItem value="JSON">
31
+
32
+ ```json
33
+ [
34
+ {
35
+ "_ObjectType_": "Microsoft.Online.SharePoint.TenantAdministration.SPContainerTypeProperties",
36
+ "ApplicationRedirectUrl": null,
37
+ "AzureSubscriptionId": "/Guid(00000000-0000-0000-0000-000000000000)/",
38
+ "ContainerTypeId": "/Guid(073269af-f1d2-042d-2ef5-5bdd6ac83115)/",
39
+ "CreationDate": null,
40
+ "DisplayName": "test1",
41
+ "ExpiryDate": null,
42
+ "IsBillingProfileRequired": true,
43
+ "OwningAppId": "/Guid(df4085cc-9a38-4255-badc-5c5225610475)/",
44
+ "OwningTenantId": "/Guid(00000000-0000-0000-0000-000000000000)/",
45
+ "Region": null,
46
+ "ResourceGroup": null,
47
+ "SPContainerTypeBillingClassification": 0
48
+ }
49
+ ]
50
+ ```
51
+
52
+ </TabItem>
53
+ <TabItem value="Text">
54
+
55
+ ```text
56
+ ContainerTypeId DisplayName OwningAppId
57
+ -------------------------------------------- --------------------------------------------- --------------------------------------------
58
+ /Guid(073269af-f1d2-042d-2ef5-5bdd6ac83115)/ test1 /Guid(df4085cc-9a38-4255-badc-5c5225610475)/
59
+ ```
60
+
61
+ </TabItem>
62
+ <TabItem value="CSV">
63
+
64
+ ```csv
65
+ _ObjectType_,ApplicationRedirectUrl,AzureSubscriptionId,ContainerTypeId,CreationDate,DisplayName,ExpiryDate,IsBillingProfileRequired,OwningAppId,OwningTenantId,Region,ResourceGroup,SPContainerTypeBillingClassification
66
+ Microsoft.Online.SharePoint.TenantAdministration.SPContainerTypeProperties,,/Guid(00000000-0000-0000-0000-000000000000)/,/Guid(073269af-f1d2-042d-2ef5-5bdd6ac83115)/,,test1,,1,/Guid(df4085cc-9a38-4255-badc-5c5225610475)/,/Guid(00000000-0000-0000-0000-000000000000)/,,,0
67
+ ```
68
+
69
+ </TabItem>
70
+ <TabItem value="Markdown">
71
+
72
+ ```md
73
+ # spe containertype list
74
+
75
+ Date: 5/11/2024
76
+
77
+ ## test1
78
+
79
+ Property | Value
80
+ ---------|-------
81
+ \_ObjectType\_ | Microsoft.Online.SharePoint.TenantAdministration.SPContainerTypeProperties
82
+ AzureSubscriptionId | /Guid(00000000-0000-0000-0000-000000000000)/
83
+ ContainerTypeId | /Guid(073269af-f1d2-042d-2ef5-5bdd6ac83115)/
84
+ DisplayName | test1
85
+ IsBillingProfileRequired | true
86
+ OwningAppId | /Guid(df4085cc-9a38-4255-badc-5c5225610475)/
87
+ OwningTenantId | /Guid(00000000-0000-0000-0000-000000000000)/
88
+ SPContainerTypeBillingClassification | 0
89
+ ```
90
+
91
+ </TabItem>
92
+ </Tabs>
93
+
94
+ ## More information
95
+
96
+ In SharePoint Embedded, all files and documents are stored in Containers, and each Container is identified by a Container Type.
97
+
98
+ Container Type is a property stamped on every Container instance. Each Container Type is owned by one Application, and each Application can own only one Container Type.
99
+
100
+ The primary function of a Container Type is to manage the application workload that can access the Containers. Container Type defines the access permissions an Application has towards all Containers of that type, including create, read, write, delete containers; manage container permissions, etc.
101
+
102
+ More information about SharePoint Embedded and the limits can be found at the following location: [SharePoint Embedded](https://learn.microsoft.com/en-us/sharepoint/dev/embedded/concepts/app-concepts/containertypes#sharepoint-embedded-trial-container-types)
@@ -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,41 @@ 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": "{\"High\":\"0\",\"Low\":\"0\"}",
85
97
  "Scope": "Web",
86
98
  "ScriptBlock": null,
87
99
  "ScriptSrc": null,
88
- "Sequence": 0,
89
- "Title": "Some customizer",
100
+ "Sequence": 65536,
101
+ "Title": "HelloWorld",
90
102
  "Url": null,
91
- "VersionOfUserCustomAction": "16.0.1.0"
103
+ "VersionOfUserCustomAction": "1.0.1.0"
92
104
  }
93
105
  ```
94
106
 
@@ -96,65 +108,102 @@ This command can be used for retrieving an application customizer from a specifi
96
108
  <TabItem value="Text">
97
109
 
98
110
  ```text
99
- ClientSideComponentId : 7096cded-b83d-4eab-96f0-df477ed7c0bc
100
- ClientSideComponentProperties:
111
+ ClientSideComponentId : 9a8b100c-246b-4592-9454-67826523e159
112
+ ClientSideComponentProperties: {"testMessage":"Test message"}
101
113
  CommandUIExtension : null
102
114
  Description : null
103
115
  Group : null
104
- Id : 14125658-a9bc-4ddf-9c75-1b5767c9a337
116
+ HostProperties :
117
+ Id : 4a428b32-08cf-45c7-9986-17585af38806
105
118
  ImageUrl : null
106
119
  Location : ClientSideExtension.ApplicationCustomizer
107
- Name : Some customizer
120
+ Name : {4a428b32-08cf-45c7-9986-17585af38806}
108
121
  RegistrationId : null
109
122
  RegistrationType : 0
110
- Rights : {"High":0,"Low":0}
123
+ Rights : {"High":"0","Low":"0"}
111
124
  Scope : Web
112
125
  ScriptBlock : null
113
126
  ScriptSrc : null
114
- Sequence : 0
115
- Title : Some customizer
127
+ Sequence : 65536
128
+ Title : HelloWorld
116
129
  Url : null
117
- VersionOfUserCustomAction : 16.0.1.0
130
+ VersionOfUserCustomAction : 1.0.1.0
118
131
  ```
119
132
 
120
133
  </TabItem>
121
134
  <TabItem value="CSV">
122
135
 
123
136
  ```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
137
+ ClientSideComponentId,ClientSideComponentProperties,CommandUIExtension,Description,Group,HostProperties,Id,ImageUrl,Location,Name,RegistrationId,RegistrationType,Rights,Scope,ScriptBlock,ScriptSrc,Sequence,Title,Url,VersionOfUserCustomAction
138
+ 9a8b100c-246b-4592-9454-67826523e159,"{""testMessage"":""Test message""}",,,,,4a428b32-08cf-45c7-9986-17585af38806,,ClientSideExtension.ApplicationCustomizer,{4a428b32-08cf-45c7-9986-17585af38806},,0,"{""High"":""0"",""Low"":""0""}",Web,,,65536,HelloWorld,,1.0.1.0
126
139
  ```
127
140
 
128
141
  </TabItem>
129
142
  <TabItem value="Markdown">
130
143
 
131
144
  ```md
132
- # spo applicationcustomizer get --title "Some customizer" --webUrl "https://contoso.sharepoint.com/sites/sales" --scope "Web"
145
+ # spo applicationcustomizer get --webUrl "https://contoso.sharepoint.com/sites/Marketing" --id "4a428b32-08cf-45c7-9986-17585af38806"
133
146
 
134
- Date: 3/6/2023
147
+ Date: 16/05/2024
135
148
 
136
- ## Some customizer (14125658-a9bc-4ddf-9c75-1b5767c9a337)
149
+ ## HelloWorld (4a428b32-08cf-45c7-9986-17585af38806)
137
150
 
138
151
  Property | Value
139
152
  ---------|-------
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
153
+ ClientSideComponentId | 9a8b100c-246b-4592-9454-67826523e159
154
+ ClientSideComponentProperties | {"testMessage":"Test message"}
155
+ HostProperties |
156
+ Id | 4a428b32-08cf-45c7-9986-17585af38806
147
157
  Location | ClientSideExtension.ApplicationCustomizer
148
- Name | Some customizer
149
- RegistrationId | null
158
+ Name | {4a428b32-08cf-45c7-9986-17585af38806}
150
159
  RegistrationType | 0
160
+ Rights | {"High":"0","Low":"0"}
151
161
  Scope | Web
152
- ScriptBlock | null
153
- ScriptSrc | null
154
- Sequence | 0
155
- Title | Some customizer
156
- Url | null
157
- VersionOfUserCustomAction | 16.0.1.0
162
+ Sequence | 65536
163
+ Title | HelloWorld
164
+ VersionOfUserCustomAction | 1.0.1.0
165
+ ```
166
+
167
+ </TabItem>
168
+ </Tabs>
169
+
170
+ ### `clientSideComponentProperties` response
171
+
172
+ <Tabs>
173
+ <TabItem value="JSON">
174
+
175
+ ```json
176
+ {
177
+ "testMessage": "Test message"
178
+ }
179
+ ```
180
+
181
+ </TabItem>
182
+ <TabItem value="Text">
183
+
184
+ ```txt
185
+ testMessage: Test message
186
+ ```
187
+
188
+ </TabItem>
189
+ <TabItem value="CSV">
190
+
191
+ ```csv
192
+ testMessage
193
+ Test message
194
+ ```
195
+
196
+ </TabItem>
197
+ <TabItem value="Markdown">
198
+
199
+ ```md
200
+ # spo applicationcustomizer get --title "Some customizer" --webUrl "https://contoso.sharepoint.com/sites/sales" --scope "Web" --clientSideComponentProperties "true"
201
+
202
+ Date: 15/05/2024
203
+
204
+ Property | Value
205
+ ---------|-------
206
+ testMessage | Test message
158
207
  ```
159
208
 
160
209
  </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