@pnp/cli-microsoft365 10.1.0-beta.f17d225 → 10.2.0-beta.818fb50

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 (110) hide show
  1. package/README.md +2 -2
  2. package/allCommands.json +1 -1
  3. package/allCommandsFull.json +1 -1
  4. package/dist/AuthServer.js +1 -1
  5. package/dist/Command.js +2 -2
  6. package/dist/cli/cli.js +2 -2
  7. package/dist/m365/base/AppCommand.js +5 -2
  8. package/dist/m365/commands/login.js +3 -2
  9. package/dist/m365/entra/commands/administrativeunit/administrativeunit-get.js +18 -4
  10. package/dist/m365/entra/commands/administrativeunit/administrativeunit-list.js +34 -2
  11. package/dist/m365/entra/commands/app/app-get.js +17 -5
  12. package/dist/m365/entra/commands/app/app-list.js +34 -2
  13. package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-add.js +3 -0
  14. package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-get.js +3 -0
  15. package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-list.js +3 -0
  16. package/dist/m365/entra/commands/group/group-get.js +6 -3
  17. package/dist/m365/entra/commands/group/group-list.js +16 -1
  18. package/dist/m365/entra/commands/m365group/m365group-add.js +1 -1
  19. package/dist/m365/entra/commands/m365group/m365group-conversation-list.js +21 -6
  20. package/dist/m365/entra/commands/m365group/m365group-get.js +29 -7
  21. package/dist/m365/entra/commands/m365group/m365group-list.js +1 -1
  22. package/dist/m365/entra/commands/m365group/m365group-remove.js +21 -9
  23. package/dist/m365/entra/commands/m365group/m365group-renew.js +19 -7
  24. package/dist/m365/entra/commands/m365group/m365group-set.js +1 -1
  25. package/dist/m365/entra/commands/m365group/m365group-teamify.js +12 -21
  26. package/dist/m365/file/commands/convert/convert-pdf.js +3 -4
  27. package/dist/m365/file/commands/file-add.js +5 -6
  28. package/dist/m365/graph/commands/subscription/subscription-add.js +46 -5
  29. package/dist/m365/pp/commands/{chatbot/chatbot-get.js → copilot/copilot-get.js} +24 -20
  30. package/dist/m365/pp/commands/{chatbot/chatbot-list.js → copilot/copilot-list.js} +16 -12
  31. package/dist/m365/pp/commands/{chatbot/chatbot-remove.js → copilot/copilot-remove.js} +28 -24
  32. package/dist/m365/pp/commands.js +3 -0
  33. package/dist/m365/spe/ContainerProperties.js +2 -0
  34. package/dist/m365/spe/commands/container/container-list.js +87 -0
  35. package/dist/m365/spe/commands/containertype/containertype-get.js +103 -0
  36. package/dist/m365/spe/commands/containertype/containertype-list.js +2 -22
  37. package/dist/m365/spe/commands.js +2 -0
  38. package/dist/m365/spfx/commands/package/package-generate.js +1 -1
  39. package/dist/m365/spfx/commands/project/JsonRule.js +2 -2
  40. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN016004_TS_property_pane_property_import.js +2 -2
  41. package/dist/m365/spfx/commands/spfx-doctor.js +1 -1
  42. package/dist/m365/spo/commands/contenttype/contenttype-get.js +2 -2
  43. package/dist/m365/spo/commands/contenttype/contenttype-list.js +6 -3
  44. package/dist/m365/spo/commands/file/file-add.js +1 -1
  45. package/dist/m365/spo/commands/file/file-retentionlabel-ensure.js +1 -2
  46. package/dist/m365/spo/commands/file/file-retentionlabel-remove.js +1 -2
  47. package/dist/m365/spo/commands/folder/folder-retentionlabel-ensure.js +1 -2
  48. package/dist/m365/spo/commands/folder/folder-retentionlabel-remove.js +1 -2
  49. package/dist/m365/spo/commands/list/list-contenttype-list.js +5 -2
  50. package/dist/m365/spo/commands/listitem/listitem-batch-remove.js +10 -8
  51. package/dist/m365/spo/commands/listitem/listitem-batch-set.js +1 -1
  52. package/dist/m365/spo/commands/listitem/listitem-retentionlabel-ensure.js +1 -2
  53. package/dist/m365/spo/commands/listitem/listitem-retentionlabel-remove.js +1 -2
  54. package/dist/m365/spo/commands/page/page-add.js +1 -1
  55. package/dist/m365/spo/commands/site/site-admin-add.js +4 -12
  56. package/dist/m365/spo/commands/site/site-admin-list.js +3 -11
  57. package/dist/m365/spo/commands/site/site-admin-remove.js +4 -12
  58. package/dist/m365/spo/commands/site/site-set.js +1 -1
  59. package/dist/m365/spp/commands/model/model-remove.js +105 -0
  60. package/dist/m365/spp/commands.js +2 -1
  61. package/dist/m365/teams/commands/user/user-app-list.js +1 -1
  62. package/dist/m365/tenant/commands/report/report-office365activationcounts.js +2 -8
  63. package/dist/m365/tenant/commands/report/report-office365activationsusercounts.js +2 -8
  64. package/dist/m365/tenant/commands/report/report-office365activationsuserdetail.js +2 -8
  65. package/dist/m365/todo/commands/list/list-remove.js +2 -1
  66. package/dist/m365/todo/commands/list/list-set.js +2 -1
  67. package/dist/m365/todo/commands/task/task-add.js +2 -1
  68. package/dist/m365/todo/commands/task/task-get.js +2 -1
  69. package/dist/m365/todo/commands/task/task-list.js +2 -1
  70. package/dist/m365/todo/commands/task/task-remove.js +2 -1
  71. package/dist/m365/todo/commands/task/task-set.js +1 -1
  72. package/dist/m365/viva/commands/engage/engage-community-set.js +111 -0
  73. package/dist/m365/viva/commands.js +1 -0
  74. package/dist/utils/entraAdministrativeUnit.js +14 -2
  75. package/dist/utils/entraGroup.js +49 -6
  76. package/dist/utils/formatting.js +8 -20
  77. package/dist/utils/spo.js +23 -4
  78. package/dist/utils/spp.js +3 -3
  79. package/dist/utils/urlUtil.js +11 -14
  80. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-get.mdx +10 -3
  81. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-list.mdx +16 -1
  82. package/docs/docs/cmd/entra/app/app-get.mdx +13 -8
  83. package/docs/docs/cmd/entra/app/app-list.mdx +16 -1
  84. package/docs/docs/cmd/entra/group/group-get.mdx +10 -3
  85. package/docs/docs/cmd/entra/group/group-list.mdx +9 -2
  86. package/docs/docs/cmd/entra/m365group/m365group-conversation-list.mdx +12 -3
  87. package/docs/docs/cmd/entra/m365group/m365group-get.mdx +29 -5
  88. package/docs/docs/cmd/entra/m365group/m365group-remove.mdx +7 -4
  89. package/docs/docs/cmd/entra/m365group/m365group-renew.mdx +11 -2
  90. package/docs/docs/cmd/entra/m365group/m365group-teamify.mdx +12 -3
  91. package/docs/docs/cmd/entra/m365group/m365group-user-add.mdx +2 -2
  92. package/docs/docs/cmd/entra/m365group/m365group-user-list.mdx +6 -0
  93. package/docs/docs/cmd/entra/m365group/m365group-user-remove.mdx +1 -1
  94. package/docs/docs/cmd/entra/m365group/m365group-user-set.mdx +3 -3
  95. package/docs/docs/cmd/graph/subscription/subscription-add.mdx +30 -5
  96. package/docs/docs/cmd/login.mdx +45 -44
  97. package/docs/docs/cmd/pp/{chatbot/chatbot-get.mdx → copilot/copilot-get.mdx} +24 -18
  98. package/docs/docs/cmd/pp/{chatbot/chatbot-list.mdx → copilot/copilot-list.mdx} +20 -14
  99. package/docs/docs/cmd/pp/{chatbot/chatbot-remove.mdx → copilot/copilot-remove.mdx} +16 -10
  100. package/docs/docs/cmd/pp/managementapp/managementapp-add.mdx +1 -1
  101. package/docs/docs/cmd/spe/container/container-list.mdx +97 -0
  102. package/docs/docs/cmd/spe/containertype/containertype-get.mdx +114 -0
  103. package/docs/docs/cmd/spo/contenttype/contenttype-get.mdx +7 -1
  104. package/docs/docs/cmd/spo/contenttype/contenttype-list.mdx +7 -1
  105. package/docs/docs/cmd/spo/list/list-contenttype-list.mdx +7 -1
  106. package/docs/docs/cmd/spp/model/model-remove.mdx +57 -0
  107. package/docs/docs/cmd/viva/engage/engage-community-set.mdx +61 -0
  108. package/npm-shrinkwrap.json +8 -2
  109. package/package.json +4 -2
  110. package/dist/m365/spe/ContainerTypeProperties.js +0 -2
@@ -0,0 +1,114 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
4
+
5
+ # spe containertype get
6
+
7
+ Get a specific Container Type
8
+
9
+ ## Usage
10
+
11
+ ```sh
12
+ m365 containertype get [options]
13
+ ```
14
+
15
+ ## Options
16
+
17
+ ```md definition-list
18
+ `-i, --id [id]`
19
+ : The Id of the Container Type. Specify either id or name but not both.
20
+
21
+ `-n, --name [name]`
22
+ : The Container Type name. Specify either id or name but not both.
23
+ ```
24
+
25
+ <Global />
26
+
27
+ ## Examples
28
+
29
+ Gets Container Type by id
30
+
31
+ ```sh
32
+ m365 spe containertype get --id '4ec4aefd-4fa3-0e4a-20c3-6e68389e7138'
33
+ ```
34
+
35
+ Gets Container Type by name
36
+
37
+ ```sh
38
+ m365 spe containertype get --name 'test container'
39
+ ```
40
+
41
+ ## Response
42
+
43
+ <Tabs>
44
+ <TabItem value="JSON">
45
+
46
+ ```json
47
+ {
48
+ "_ObjectType_": "Microsoft.Online.SharePoint.TenantAdministration.SPContainerTypeProperties",
49
+ "ApplicationRedirectUrl": null,
50
+ "AzureSubscriptionId": "/Guid(00000000-0000-0000-0000-000000000000)/",
51
+ "ContainerTypeId": "/Guid(073269af-f1d2-042d-2ef5-5bdd6ac83115)/",
52
+ "CreationDate": null,
53
+ "DisplayName": "test1",
54
+ "ExpiryDate": null,
55
+ "IsBillingProfileRequired": true,
56
+ "OwningAppId": "/Guid(df4085cc-9a38-4255-badc-5c5225610475)/",
57
+ "OwningTenantId": "/Guid(00000000-0000-0000-0000-000000000000)/",
58
+ "Region": null,
59
+ "ResourceGroup": null,
60
+ "SPContainerTypeBillingClassification": 0
61
+ }
62
+ ```
63
+
64
+ </TabItem>
65
+ <TabItem value="Text">
66
+
67
+ ```text
68
+ ContainerTypeId DisplayName OwningAppId
69
+ -------------------------------------------- --------------------------------------------- --------------------------------------------
70
+ /Guid(073269af-f1d2-042d-2ef5-5bdd6ac83115)/ test1 /Guid(df4085cc-9a38-4255-badc-5c5225610475)/
71
+ ```
72
+
73
+ </TabItem>
74
+ <TabItem value="CSV">
75
+
76
+ ```csv
77
+ _ObjectType_,ApplicationRedirectUrl,AzureSubscriptionId,ContainerTypeId,CreationDate,DisplayName,ExpiryDate,IsBillingProfileRequired,OwningAppId,OwningTenantId,Region,ResourceGroup,SPContainerTypeBillingClassification
78
+ 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
79
+ ```
80
+
81
+ </TabItem>
82
+ <TabItem value="Markdown">
83
+
84
+ ```md
85
+ # spe containertype list
86
+
87
+ Date: 5/11/2024
88
+
89
+ ## test1
90
+
91
+ Property | Value
92
+ ---------|-------
93
+ \_ObjectType\_ | Microsoft.Online.SharePoint.TenantAdministration.SPContainerTypeProperties
94
+ AzureSubscriptionId | /Guid(00000000-0000-0000-0000-000000000000)/
95
+ ContainerTypeId | /Guid(073269af-f1d2-042d-2ef5-5bdd6ac83115)/
96
+ DisplayName | test1
97
+ IsBillingProfileRequired | true
98
+ OwningAppId | /Guid(df4085cc-9a38-4255-badc-5c5225610475)/
99
+ OwningTenantId | /Guid(00000000-0000-0000-0000-000000000000)/
100
+ SPContainerTypeBillingClassification | 0
101
+ ```
102
+
103
+ </TabItem>
104
+ </Tabs>
105
+
106
+ ## More information
107
+
108
+ In SharePoint Embedded, all files and documents are stored in Containers, and each Container is identified by a Container Type.
109
+
110
+ 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.
111
+
112
+ 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.
113
+
114
+ 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)
@@ -108,6 +108,12 @@ m365 spo contenttype get --webUrl https://contoso.sharepoint.com/sites/contoso-s
108
108
  "NewFormTarget": 0,
109
109
  "NewFormTemplateName": "ListForm",
110
110
  "NewFormUrl": "",
111
+ "Parent": {
112
+ "StringId": "0x01000B1208C5D23DF",
113
+ "Name": "Item",
114
+ "Group": "List items",
115
+ "Id": { "StringId": "0x01000B1208C5D23DF" }
116
+ },
111
117
  "ReadOnly": false,
112
118
  "SchemaXml": "<ContentType ID=\"0x01007926A45D687BA842B947286090B8F67D\" Name=\"PnP Alert\" Group=\"PnP Content Types\" Description=\"Create a new list item.\" Version=\"0\"><Folder TargetName=\"_cts/PnP Alert\" /><Fields><Field ID=\"{c042a256-787d-4a6f-8a8a-cf6ab767f12d}\" Name=\"ContentType\" SourceID=\"http://schemas.microsoft.com/sharepoint/v3\" StaticName=\"ContentType\" Group=\"_Hidden\" Type=\"Computed\" DisplayName=\"Content Type\" Sealed=\"TRUE\" Sortable=\"FALSE\" RenderXMLUsingPattern=\"TRUE\" PITarget=\"MicrosoftWindowsSharePointServices\" PIAttribute=\"ContentTypeID\" DelayActivateTemplateBinding=\"GROUP,SPSPERS,SITEPAGEPUBLISHING\" Customization=\"\"><FieldRefs><FieldRef ID=\"{03e45e84-1992-4d42-9116-26f756012634}\" Name=\"ContentTypeId\" /></FieldRefs><DisplayPattern><MapToContentType><Column Name=\"ContentTypeId\" /></MapToContentType></DisplayPattern></Field><Field ID=\"{fa564e0f-0c70-4ab9-b863-0177e6ddd247}\" Name=\"Title\" SourceID=\"http://schemas.microsoft.com/sharepoint/v3\" StaticName=\"Title\" Group=\"_Hidden\" Type=\"Text\" DisplayName=\"Title\" Required=\"TRUE\" FromBaseType=\"TRUE\" DelayActivateTemplateBinding=\"GROUP,SPSPERS,SITEPAGEPUBLISHING\" Customization=\"\" ShowInNewForm=\"TRUE\" ShowInEditForm=\"TRUE\"></Field></Fields><XmlDocuments><XmlDocument NamespaceURI=\"http://schemas.microsoft.com/sharepoint/v3/contenttype/forms\"><FormTemplates xmlns=\"http://schemas.microsoft.com/sharepoint/v3/contenttype/forms\"><Display>ListForm</Display><Edit>ListForm</Edit><New>ListForm</New></FormTemplates></XmlDocument></XmlDocuments></ContentType>",
113
119
  "Scope": "/sites/contoso-sales",
@@ -170,7 +176,7 @@ m365 spo contenttype get --webUrl https://contoso.sharepoint.com/sites/contoso-s
170
176
 
171
177
  Date: 10/2/2023
172
178
 
173
- ## PnP Alert ([object Object])
179
+ ## PnP Alert (0x01007926A45D687BA842B947286090B8F67D)
174
180
 
175
181
  Property | Value
176
182
  ---------|-------
@@ -75,6 +75,12 @@ m365 spo contenttype list --webUrl "https://contoso.sharepoint.com/sites/contoso
75
75
  "NewFormTarget": 0,
76
76
  "NewFormTemplateName": "ListForm",
77
77
  "NewFormUrl": "",
78
+ "Parent": {
79
+ "StringId": "0x01000B1208C5D23DF",
80
+ "Name": "Item",
81
+ "Group": "List items",
82
+ "Id": { "StringId": "0x01000B1208C5D23DF" }
83
+ },
78
84
  "ReadOnly": false,
79
85
  "SchemaXml": "<ContentType ID=\"0x01007926A45D687BA842B947286090B8F67D\" Name=\"PnP Alert\" Group=\"PnP Content Types\" Description=\"Create a new list item.\" Version=\"0\"><Folder TargetName=\"_cts/PnP Alert\" /><Fields><Field ID=\"{c042a256-787d-4a6f-8a8a-cf6ab767f12d}\" Name=\"ContentType\" SourceID=\"http://schemas.microsoft.com/sharepoint/v3\" StaticName=\"ContentType\" Group=\"_Hidden\" Type=\"Computed\" DisplayName=\"Content Type\" Sealed=\"TRUE\" Sortable=\"FALSE\" RenderXMLUsingPattern=\"TRUE\" PITarget=\"MicrosoftWindowsSharePointServices\" PIAttribute=\"ContentTypeID\" DelayActivateTemplateBinding=\"GROUP,SPSPERS,SITEPAGEPUBLISHING\" Customization=\"\"><FieldRefs><FieldRef ID=\"{03e45e84-1992-4d42-9116-26f756012634}\" Name=\"ContentTypeId\" /></FieldRefs><DisplayPattern><MapToContentType><Column Name=\"ContentTypeId\" /></MapToContentType></DisplayPattern></Field><Field ID=\"{fa564e0f-0c70-4ab9-b863-0177e6ddd247}\" Name=\"Title\" SourceID=\"http://schemas.microsoft.com/sharepoint/v3\" StaticName=\"Title\" Group=\"_Hidden\" Type=\"Text\" DisplayName=\"Title\" Required=\"TRUE\" FromBaseType=\"TRUE\" DelayActivateTemplateBinding=\"GROUP,SPSPERS,SITEPAGEPUBLISHING\" Customization=\"\" ShowInNewForm=\"TRUE\" ShowInEditForm=\"TRUE\"></Field></Fields><XmlDocuments><XmlDocument NamespaceURI=\"http://schemas.microsoft.com/sharepoint/v3/contenttype/forms\"><FormTemplates xmlns=\"http://schemas.microsoft.com/sharepoint/v3/contenttype/forms\"><Display>ListForm</Display><Edit>ListForm</Edit><New>ListForm</New></FormTemplates></XmlDocument></XmlDocuments></ContentType>",
80
86
  "Scope": "/sites/contoso-sales",
@@ -108,7 +114,7 @@ m365 spo contenttype list --webUrl "https://contoso.sharepoint.com/sites/contoso
108
114
  # spo contenttype list --webUrl "https://contoso.sharepoint.com/sites/contoso-sales"
109
115
 
110
116
  Date: 10/2/2023
111
- ## PnP Alert ([object Object])
117
+ ## PnP Alert (0x01007926A45D687BA842B947286090B8F67D)
112
118
 
113
119
  Property | Value
114
120
  ---------|-------
@@ -87,6 +87,12 @@ m365 spo list contenttype list --webUrl https://contoso.sharepoint.com/sites/pro
87
87
  "NewFormTarget": 0,
88
88
  "NewFormTemplateName": "ListForm",
89
89
  "NewFormUrl": "",
90
+ "Parent": {
91
+ "StringId": "0x01000B1208C5D23DF",
92
+ "Name": "Item",
93
+ "Group": "List items",
94
+ "Id": { "StringId": "0x01000B1208C5D23DF" }
95
+ },
90
96
  "ReadOnly": false,
91
97
  "SchemaXml": "<ContentType ID=\"0x01000B1208C5D23DF44B9F1AEE7373DE9D5E\" Name=\"Item\" Group=\"List Content Types\" Description=\"Create a new list item.\" Version=\"0\" FeatureId=\"{695b6570-a48b-4a8e-8ea5-26ea7fc1d162}\" FeatureIds=\"{695b6570-a48b-4a8e-8ea5-26ea7fc1d162};{c94c1702-30a7-454c-be15-5a895223428d}\"><Folder TargetName=\"Item\"/><Fields><Field ID=\"{c042a256-787d-4a6f-8a8a-cf6ab767f12d}\" Type=\"Computed\" DisplayName=\"Content Type\" Name=\"ContentType\" DisplaceOnUpgrade=\"TRUE\" RenderXMLUsingPattern=\"TRUE\" Sortable=\"FALSE\" SourceID=\"http://schemas.microsoft.com/sharepoint/v3\" StaticName=\"ContentType\" Group=\"_Hidden\" PITarget=\"MicrosoftWindowsSharePointServices\" PIAttribute=\"ContentTypeID\" FromBaseType=\"TRUE\"><FieldRefs><FieldRef Name=\"ContentTypeId\"/></FieldRefs><DisplayPattern><MapToContentType><Column Name=\"ContentTypeId\"/></MapToContentType></DisplayPattern></Field><Field ID=\"{fa564e0f-0c70-4ab9-b863-0177e6ddd247}\" Type=\"Text\" Name=\"Title\" DisplayName=\"Title\" Required=\"TRUE\" SourceID=\"http://schemas.microsoft.com/sharepoint/v3\" StaticName=\"Title\" FromBaseType=\"TRUE\" ColName=\"nvarchar1\" ShowInNewForm=\"TRUE\" ShowInEditForm=\"TRUE\"/></Fields><XmlDocuments><XmlDocument NamespaceURI=\"http://schemas.microsoft.com/sharepoint/v3/contenttype/forms\"><FormTemplates xmlns=\"http://schemas.microsoft.com/sharepoint/v3/contenttype/forms\"><Display>ListForm</Display><Edit>ListForm</Edit><New>ListForm</New></FormTemplates></XmlDocument></XmlDocuments></ContentType>",
92
98
  "Scope": "/Lists/Test",
@@ -121,7 +127,7 @@ m365 spo list contenttype list --webUrl https://contoso.sharepoint.com/sites/pro
121
127
 
122
128
  Date: 2/20/2023
123
129
 
124
- ## Document ([object Object])
130
+ ## Document (0x01000B1208C5D23DF44B9F1AEE7373DE9D5E)
125
131
 
126
132
  Property | Value
127
133
  ---------|-------
@@ -0,0 +1,57 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
4
+
5
+ # spp model remove
6
+
7
+ Deletes a document understanding model
8
+
9
+ ## Usage
10
+
11
+ ```sh
12
+ m365 spp model remove [options]
13
+ ```
14
+
15
+ ## Options
16
+
17
+ ```md definition-list
18
+ `-u, --siteUrl <siteUrl>`
19
+ : The URL of the content center site.
20
+
21
+ `-i, --id [id]`
22
+ : The unique ID of the model. Specify either `id` or `title` but not both.
23
+
24
+ `-t, --title [title]`
25
+ : The display name of the model. Specify either `id` or `title` but not both.
26
+
27
+ `-f, --force`
28
+ : Don't prompt for confirmation.
29
+ ```
30
+
31
+ <Global />
32
+
33
+ ## Remarks
34
+
35
+ :::note
36
+
37
+ The model must be removed from all libraries before it can be deleted.
38
+
39
+ :::
40
+
41
+ ## Examples
42
+
43
+ Delete a SharePoint Premium document understanding model using the model’s UniqueId.
44
+
45
+ ```sh
46
+ m365 spp model remove --siteUrl "https://contoso.sharepoint.com/sites/ContentCenter" --id "7645e69d-21fb-4a24-a17a-9bdfa7cb63dc"
47
+ ```
48
+
49
+ Delete a SharePoint Premium document understanding model using the model’s title.
50
+
51
+ ```sh
52
+ m365 spp model remove --siteUrl "https://contoso.sharepoint.com/sites/ContentCenter" --title "climicrosoft365Model.classifier"
53
+ ```
54
+
55
+ ## Response
56
+
57
+ The command won't return a response on success.
@@ -0,0 +1,61 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
4
+
5
+ # viva engage community set
6
+
7
+ Updates an existing Viva Engage community
8
+
9
+ ## Usage
10
+
11
+ ```sh
12
+ m365 viva engage community set [options]
13
+ ```
14
+
15
+ ## Options
16
+
17
+ ```md definition-list
18
+ `-i, --id [id]`
19
+ : The id of the community. Specify either `id`, `displayName` or `entraGroupId`, but not multiple.
20
+
21
+ `-d, --displayName [displayName]`
22
+ : The name of the community. Specify either `id`, `displayName` or `entraGroupId`, but not multiple.
23
+
24
+ `--entraGroupId [entraGroupId]`
25
+ : The id of the Microsoft Entra group associated with the community. Specify either `id`, `displayName` or `entraGroupId`, but not multiple.
26
+
27
+ `--newDisplayName [newDisplayName]`
28
+ : New name for the community. The maximum length is 255 characters.
29
+
30
+ `--description [description]`
31
+ : The description of the community. The maximum length is 1024 characters.
32
+
33
+ `--privacy [privacy]`
34
+ : Defines the privacy level of the community. The possible values are: `public`, and `private`.
35
+ ```
36
+
37
+ <Global />
38
+
39
+ ## Examples
40
+
41
+ Update info about the community specified by id
42
+
43
+ ```sh
44
+ m365 viva engage community set --id eyJfdHlwZSI6Ikdyb3VwIiwiaWQiOiI0NzY5MTM1ODIwOSJ9 --newDisplayName 'Developers' --description 'Community for all devs' --privacy public
45
+ ```
46
+
47
+ Update info about the community specified by name
48
+
49
+ ```sh
50
+ m365 viva engage community set --displayName 'Developrs' --newDisplayName 'Developers'
51
+ ```
52
+
53
+ Update info about the community specified by Entra group id
54
+
55
+ ```sh
56
+ m365 viva engage community set --entraGroupId '0bed8b86-5026-4a93-ac7d-56750cc099f1' --newDisplayName 'Developers'
57
+ ```
58
+
59
+ ## Response
60
+
61
+ The command won't return a response on success.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@pnp/cli-microsoft365",
3
- "version": "10.1.0",
3
+ "version": "10.2.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@pnp/cli-microsoft365",
9
- "version": "10.1.0",
9
+ "version": "10.2.0",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@azure/msal-common": "14.15",
@@ -24,6 +24,7 @@
24
24
  "chalk": "^5.3.0",
25
25
  "clipboardy": "^4.0.0",
26
26
  "configstore": "^7.0.0",
27
+ "csv-parse": "^5.5.6",
27
28
  "csv-stringify": "^6.5.1",
28
29
  "easy-table": "^1.2.0",
29
30
  "jmespath": "^0.16.0",
@@ -3401,6 +3402,11 @@
3401
3402
  "node": ">= 8"
3402
3403
  }
3403
3404
  },
3405
+ "node_modules/csv-parse": {
3406
+ "version": "5.6.0",
3407
+ "resolved": "https://registry.npmjs.org/csv-parse/-/csv-parse-5.6.0.tgz",
3408
+ "integrity": "sha512-l3nz3euub2QMg5ouu5U09Ew9Wf6/wQ8I++ch1loQ0ljmzhmfZYrH9fflS22i/PQEvsPvxCwxgz5q7UB8K1JO4Q=="
3409
+ },
3404
3410
  "node_modules/csv-stringify": {
3405
3411
  "version": "6.5.1",
3406
3412
  "resolved": "https://registry.npmjs.org/csv-stringify/-/csv-stringify-6.5.1.tgz",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnp/cli-microsoft365",
3
- "version": "10.1.0-beta.f17d225",
3
+ "version": "10.2.0-beta.818fb50",
4
4
  "description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/api.js",
@@ -28,7 +28,7 @@
28
28
  "test:version": "node scripts/check-version.js",
29
29
  "test:cov": "c8 npm run test:test",
30
30
  "test:test": "mocha",
31
- "lint": "eslint --ext .ts src"
31
+ "lint": "eslint --ext .ts src --cache --cache-strategy content"
32
32
  },
33
33
  "keywords": [
34
34
  "adaptive card",
@@ -237,6 +237,7 @@
237
237
  "Trinder, Garry <garry.trinder@live.com>",
238
238
  "Tripathi, Saurabh <saurabh7019@gmail.com>",
239
239
  "Vaghasia, Siddharth <siddh.vaghasia@gmail.com>",
240
+ "van Brug, Herco <hercovanbrug@hotmail.com>",
240
241
  "Van de Voorde, Tim <tim.vdv1995@hotmail.com>",
241
242
  "van Dijk, Mark <mark@ichicraft.com>",
242
243
  "van Hunen, Erwin <erwin.van.hunen@outlook.com>",
@@ -267,6 +268,7 @@
267
268
  "chalk": "^5.3.0",
268
269
  "clipboardy": "^4.0.0",
269
270
  "configstore": "^7.0.0",
271
+ "csv-parse": "^5.5.6",
270
272
  "csv-stringify": "^6.5.1",
271
273
  "easy-table": "^1.2.0",
272
274
  "jmespath": "^0.16.0",
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=ContainerTypeProperties.js.map