@pnp/cli-microsoft365 12.0.0-beta.f682e10 → 12.0.0-beta.feb621e

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 (83) hide show
  1. package/allCommands.json +1 -1
  2. package/allCommandsFull.json +1 -1
  3. package/dist/m365/spfx/commands/SpfxCompatibilityMatrix.js +15 -0
  4. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.24.0-rc.0.js +19 -0
  5. package/dist/m365/spfx/commands/project/project-doctor.js +2 -1
  6. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012021_TSC_excludeDirectories.js +43 -0
  7. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN027002_OVERRIDES_qs.js +33 -0
  8. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN027003_OVERRIDES_uuid.js +33 -0
  9. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.24.0-rc.0.js +77 -0
  10. package/dist/m365/spfx/commands/project/project-upgrade.js +12 -11
  11. package/dist/m365/spo/commands/app/app-add.js +35 -56
  12. package/dist/m365/spo/commands/app/app-deploy.js +41 -59
  13. package/dist/m365/spo/commands/app/app-get.js +40 -56
  14. package/dist/m365/spo/commands/app/app-install.js +20 -41
  15. package/dist/m365/spo/commands/app/app-instance-list.js +12 -24
  16. package/dist/m365/spo/commands/app/app-list.js +26 -44
  17. package/dist/m365/spo/commands/app/app-remove.js +32 -52
  18. package/dist/m365/spo/commands/app/app-retract.js +32 -51
  19. package/dist/m365/spo/commands/app/app-teamspackage-download.js +35 -54
  20. package/dist/m365/spo/commands/app/app-uninstall.js +21 -44
  21. package/dist/m365/spo/commands/app/app-upgrade.js +20 -41
  22. package/dist/m365/spo/commands/feature/feature-disable.js +20 -50
  23. package/dist/m365/spo/commands/feature/feature-enable.js +22 -50
  24. package/dist/m365/spo/commands/feature/feature-list.js +11 -36
  25. package/dist/m365/spo/commands/field/field-add.js +33 -62
  26. package/dist/m365/spo/commands/field/field-get.js +30 -57
  27. package/dist/m365/spo/commands/field/field-list.js +21 -46
  28. package/dist/m365/spo/commands/field/field-remove.js +32 -63
  29. package/dist/m365/spo/commands/field/field-set.js +34 -66
  30. package/dist/m365/spo/commands/hubsite/hubsite-connect.js +38 -63
  31. package/dist/m365/spo/commands/hubsite/hubsite-data-get.js +11 -27
  32. package/dist/m365/spo/commands/hubsite/hubsite-disconnect.js +25 -47
  33. package/dist/m365/spo/commands/hubsite/hubsite-get.js +25 -37
  34. package/dist/m365/spo/commands/hubsite/hubsite-list.js +12 -24
  35. package/dist/m365/spo/commands/hubsite/hubsite-register.js +10 -18
  36. package/dist/m365/spo/commands/hubsite/hubsite-rights-grant.js +14 -32
  37. package/dist/m365/spo/commands/hubsite/hubsite-rights-revoke.js +12 -29
  38. package/dist/m365/spo/commands/hubsite/hubsite-set.js +19 -46
  39. package/dist/m365/spo/commands/hubsite/hubsite-unregister.js +11 -27
  40. package/dist/m365/teams/commands/chat/chat-get.js +30 -45
  41. package/dist/m365/teams/commands/chat/chat-list.js +22 -42
  42. package/dist/m365/teams/commands/chat/chat-member-add.js +43 -64
  43. package/dist/m365/teams/commands/chat/chat-member-list.js +10 -23
  44. package/dist/m365/teams/commands/chat/chat-member-remove.js +28 -50
  45. package/dist/m365/teams/commands/chat/chat-message-send.js +32 -55
  46. package/docs/docs/cmd/spo/file/file-checkin.mdx +2 -2
  47. package/docs/docs/cmd/spo/file/file-checkout-undo.mdx +1 -1
  48. package/docs/docs/cmd/spo/file/file-checkout.mdx +2 -2
  49. package/docs/docs/cmd/spo/file/file-copy.mdx +2 -2
  50. package/docs/docs/cmd/spo/file/file-get.mdx +6 -6
  51. package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +1 -1
  52. package/docs/docs/cmd/spo/file/file-retentionlabel-remove.mdx +1 -1
  53. package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +1 -1
  54. package/docs/docs/cmd/spo/file/file-roleassignment-remove.mdx +1 -1
  55. package/docs/docs/cmd/spo/file/file-roleinheritance-break.mdx +3 -3
  56. package/docs/docs/cmd/spo/file/file-roleinheritance-reset.mdx +2 -2
  57. package/docs/docs/cmd/spo/file/file-sharinginfo-get.mdx +2 -2
  58. package/docs/docs/cmd/spo/file/file-sharinglink-add.mdx +1 -1
  59. package/docs/docs/cmd/spo/file/file-sharinglink-clear.mdx +1 -1
  60. package/docs/docs/cmd/spo/file/file-sharinglink-get.mdx +1 -1
  61. package/docs/docs/cmd/spo/file/file-sharinglink-list.mdx +1 -1
  62. package/docs/docs/cmd/spo/file/file-sharinglink-remove.mdx +1 -1
  63. package/docs/docs/cmd/spo/file/file-sharinglink-set.mdx +1 -1
  64. package/docs/docs/cmd/spo/file/file-version-clear.mdx +1 -1
  65. package/docs/docs/cmd/spo/file/file-version-get.mdx +1 -1
  66. package/docs/docs/cmd/spo/file/file-version-keep.mdx +1 -1
  67. package/docs/docs/cmd/spo/file/file-version-list.mdx +1 -1
  68. package/docs/docs/cmd/spo/file/file-version-remove.mdx +1 -1
  69. package/docs/docs/cmd/spo/file/file-version-restore.mdx +1 -1
  70. package/docs/docs/cmd/spo/folder/folder-copy.mdx +1 -1
  71. package/docs/docs/cmd/spo/folder/folder-get.mdx +2 -2
  72. package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.mdx +1 -1
  73. package/docs/docs/cmd/spo/folder/folder-retentionlabel-remove.mdx +1 -1
  74. package/docs/docs/cmd/spo/folder/folder-sharinglink-add.mdx +1 -1
  75. package/docs/docs/cmd/spo/folder/folder-sharinglink-list.mdx +1 -1
  76. package/docs/docs/cmd/spo/folder/folder-sharinglink-remove.mdx +1 -1
  77. package/docs/docs/cmd/spp/model/model-get.mdx +1 -1
  78. package/docs/docs/cmd/spp/model/model-remove.mdx +1 -1
  79. package/docs/docs/cmd/viva/engage/engage-message-add.mdx +17 -0
  80. package/docs/docs/cmd/viva/engage/engage-message-get.mdx +17 -0
  81. package/docs/docs/cmd/viva/engage/engage-message-list.mdx +17 -0
  82. package/docs/docs/cmd/viva/engage/engage-message-remove.mdx +19 -0
  83. package/package.json +2 -6
@@ -22,7 +22,7 @@ m365 spo file sharinglink get [options]
22
22
  : The server- or site-relative decoded URL of the file. Specify either `fileUrl` or `fileId` but not both.
23
23
 
24
24
  `--fileId [fileId]`
25
- : The UniqueId (GUID) of the file. Specify either `fileUrl` or `fileId` but not both.
25
+ : The unique ID (GUID) of the file. Specify either `fileUrl` or `fileId` but not both.
26
26
 
27
27
  `-i, --id <id>`
28
28
  : The ID of the sharing link.
@@ -22,7 +22,7 @@ m365 spo file sharinglink list [options]
22
22
  : The server- or site-relative decoded URL of the file. Specify either `fileUrl` or `fileId` but not both.
23
23
 
24
24
  `--fileId [fileId]`
25
- : The UniqueId (GUID) of the file. Specify either `fileUrl` or `fileId` but not both.
25
+ : The unique ID (GUID) of the file. Specify either `fileUrl` or `fileId` but not both.
26
26
 
27
27
  `-s, --scope [scope]`
28
28
  : Filter the results to only sharing links of a given scope: `anonymous`, `users` or `organization`. By default all sharing links are listed.
@@ -22,7 +22,7 @@ m365 spo file sharinglink remove [options]
22
22
  : The server- or site-relative decoded URL of the file. Specify either `fileUrl` or `fileId` but not both.
23
23
 
24
24
  `--fileId [fileId]`
25
- : The UniqueId (GUID) of the file. Specify either `fileUrl` or `fileId` but not both.
25
+ : The unique ID (GUID) of the file. Specify either `fileUrl` or `fileId` but not both.
26
26
 
27
27
  `-i, --id <id>`
28
28
  : The ID of the sharing link.
@@ -22,7 +22,7 @@ m365 spo file sharinglink set [options]
22
22
  : The server- or site-relative decoded URL of the file. Specify either `fileUrl` or `fileId` but not both.
23
23
 
24
24
  `--fileId [fileId]`
25
- : The UniqueId (GUID) of the file. Specify either `fileUrl` or `fileId` but not both.
25
+ : The unique ID (GUID) of the file. Specify either `fileUrl` or `fileId` but not both.
26
26
 
27
27
  `--id <id>`
28
28
  : The ID of the sharing link.
@@ -22,7 +22,7 @@ m365 spo file version clear [options]
22
22
  : The server- or site-relative decoded URL of the file. Specify either `fileUrl` or `fileId` but not both.
23
23
 
24
24
  `-i, --fileId [fileId]`
25
- : The UniqueId (GUID) of the file. Specify either `fileUrl` or `fileId` but not both.
25
+ : The unique ID (GUID) of the file. Specify either `fileUrl` or `fileId` but not both.
26
26
 
27
27
  `-f, --force`
28
28
  : Don't prompt for confirmation.
@@ -25,7 +25,7 @@ m365 spo file version get [options]
25
25
  : The server- or site-relative decoded URL of the file to retrieve. Specify either `fileUrl` or `fileId` but not both.
26
26
 
27
27
  `-i, --fileId [fileId]`
28
- : The UniqueId (GUID) of the file to retrieve. Specify either `fileUrl` or `fileId` but not both.
28
+ : The unique ID (GUID) of the file to retrieve. Specify either `fileUrl` or `fileId` but not both.
29
29
  ```
30
30
 
31
31
  <Global />
@@ -22,7 +22,7 @@ m365 spo file version keep [options]
22
22
  : The server- or site-relative decoded URL. Specify either `fileUrl` or `fileId` but not both.
23
23
 
24
24
  `-i, --fileId [fileId]`
25
- : The UniqueId (GUID) of the file. Specify either `fileUrl` or `fileId` but not both.
25
+ : The unique ID (GUID) of the file. Specify either `fileUrl` or `fileId` but not both.
26
26
 
27
27
  `--label <label>`
28
28
  : Label of the version.
@@ -22,7 +22,7 @@ m365 spo file version list [options]
22
22
  : The server- or site-relative decoded URL of the file. Specify either `fileUrl` or `fileId` but not both.
23
23
 
24
24
  `-i, --fileId [fileId]`
25
- : The UniqueId (GUID) of the file. Specify either `fileUrl` or `fileId` but not both.
25
+ : The unique ID (GUID) of the file. Specify either `fileUrl` or `fileId` but not both.
26
26
  ```
27
27
 
28
28
  <Global />
@@ -25,7 +25,7 @@ m365 spo file version remove [options]
25
25
  : The server- or site-relative decoded URL of the file to retrieve. Specify either `fileUrl` or `fileId` but not both.
26
26
 
27
27
  `-i, --fileId [fileId]`
28
- : The UniqueId (GUID) of the file to retrieve. Specify either `fileUrl` or `fileId` but not both.
28
+ : The unique ID (GUID) of the file to retrieve. Specify either `fileUrl` or `fileId` but not both.
29
29
 
30
30
  `-f, --force`
31
31
  : Don't prompt for confirmation.
@@ -25,7 +25,7 @@ m365 spo file version restore [options]
25
25
  : The server- or site-relative decoded URL of the file whose version will be restored. Specify either `fileUrl` or `fileId` but not both.
26
26
 
27
27
  `-i, --fileId [fileId]`
28
- : The UniqueId (GUID) of the file whose version will be restored. Specify either `fileUrl` or `fileId` but not both.
28
+ : The unique ID (GUID) of the file whose version will be restored. Specify either `fileUrl` or `fileId` but not both.
29
29
 
30
30
  `-f, --force`
31
31
  : Don't prompt for confirmation.
@@ -22,7 +22,7 @@ m365 spo folder copy [options]
22
22
  : The server-, site-relative or absolute decoded URL of the folder to copy. Specify either `sourceUrl` or `sourceId` but not both.
23
23
 
24
24
  `-i, --sourceId [sourceId]`
25
- : The UniqueId (GUID) of the folder. Specify either `sourceUrl` or `sourceId` but not both.
25
+ : The unique ID (GUID) of the folder. Specify either `sourceUrl` or `sourceId` but not both.
26
26
 
27
27
  `-t, --targetUrl <targetUrl>`
28
28
  : Server-relative or absolute decoded URL where to copy the folder.
@@ -22,7 +22,7 @@ m365 spo folder get [options]
22
22
  : The server- or site-relative decoded URL of the folder to retrieve. Specify either `folderUrl` or `id` but not both.
23
23
 
24
24
  `-i, --id [id]`
25
- : The UniqueId (GUID) of the folder to retrieve. Specify either `url` or `id` but not both.
25
+ : The unique ID (GUID) of the folder to retrieve. Specify either `url` or `id` but not both.
26
26
 
27
27
  `--withPermissions`
28
28
  : Set if you want to return associated roles and permissions of the folder.
@@ -63,7 +63,7 @@ Get folder properties for a folder with a specific site-relative URL.
63
63
  m365 spo folder get --webUrl https://contoso.sharepoint.com/sites/project-x --url "/Shared Documents"
64
64
  ```
65
65
 
66
- Get folder properties for a folder with a specific id (UniqueId).
66
+ Get folder properties for a folder with a specific id (unique ID).
67
67
 
68
68
  ```sh
69
69
  m365 spo folder get --webUrl https://contoso.sharepoint.com/sites/project-x --id "b2307a39-e878-458b-bc90-03bc578531d6"
@@ -22,7 +22,7 @@ m365 spo folder retentionlabel ensure [options]
22
22
  : The server- or site-relative decoded URL of the folder that should be labelled. Specify either `folderUrl` or `folderId` but not both.
23
23
 
24
24
  `-i, --folderId [folderId]`
25
- : The UniqueId (GUID) of the folder that should be labelled. Specify either `folderUrl` or `folderId` but not both.
25
+ : The unique ID (GUID) of the folder that should be labelled. Specify either `folderUrl` or `folderId` but not both.
26
26
 
27
27
  `--name <name>`
28
28
  : Name of the retention label to apply to the folder.
@@ -22,7 +22,7 @@ m365 spo folder retentionlabel remove [options]
22
22
  : The server- or site-relative decoded URL of the folder of which the label should be removed. Specify either `folderUrl` or `folderId` but not both.
23
23
 
24
24
  `-i, --folderId [folderId]`
25
- : The UniqueId (GUID) of the folder of which the label should be removed. Specify either `folderUrl` or `folderId` but not both.
25
+ : The unique ID (GUID) of the folder of which the label should be removed. Specify either `folderUrl` or `folderId` but not both.
26
26
 
27
27
  `-f, --force`
28
28
  : Don't prompt for confirming to remove the label.
@@ -22,7 +22,7 @@ m365 spo folder sharinglink add [options]
22
22
  : The server- or site-relative decoded URL of the folder. Specify either `folderUrl` or `folderId` but not both.
23
23
 
24
24
  `--folderId [folderId]`
25
- : The UniqueId (GUID) of the folder. Specify either `folderUrl` or `folderId` but not both.
25
+ : The unique ID (GUID) of the folder. Specify either `folderUrl` or `folderId` but not both.
26
26
 
27
27
  `--type <type>`
28
28
  : The type of sharing link to create. Either `view` or `edit`.
@@ -22,7 +22,7 @@ m365 spo folder sharinglink list [options]
22
22
  : The server- or site-relative decoded URL of the folder. Specify either `folderUrl` or `folderId` but not both.
23
23
 
24
24
  `--folderId [folderId]`
25
- : The UniqueId (GUID) of the folder. Specify either `folderUrl` or `folderId` but not both.
25
+ : The unique ID (GUID) of the folder. Specify either `folderUrl` or `folderId` but not both.
26
26
 
27
27
  `-s, --scope [scope]`
28
28
  : Filter the results to only sharing links of a given scope: `anonymous`, `users` or `organization`. By default all sharing links are listed.
@@ -22,7 +22,7 @@ m365 spo folder sharinglink remove [options]
22
22
  : The server- or site-relative decoded URL of the folder. Specify either `folderUrl` or `folderId` but not both.
23
23
 
24
24
  `--folderId [folderId]`
25
- : The UniqueId (GUID) of the folder. Specify either `folderUrl` or `folderId` but not both.
25
+ : The unique ID (GUID) of the folder. Specify either `folderUrl` or `folderId` but not both.
26
26
 
27
27
  `-i, --id <id>`
28
28
  : The ID of the sharing link.
@@ -32,7 +32,7 @@ m365 spp model get [options]
32
32
 
33
33
  ## Examples
34
34
 
35
- Retrieve information about a SharePoint Premium document understanding model, using model UniqueId.
35
+ Retrieve information about a SharePoint Premium document understanding model, using model unique ID.
36
36
 
37
37
  ```sh
38
38
  m365 spp model get --siteUrl "https://contoso.sharepoint.com/sites/ContentCenter" --id "7645e69d-21fb-4a24-a17a-9bdfa7cb63dc"
@@ -40,7 +40,7 @@ The model must be removed from all libraries before it can be deleted.
40
40
 
41
41
  ## Examples
42
42
 
43
- Delete a SharePoint Premium document understanding model using the model’s UniqueId.
43
+ Delete a SharePoint Premium document understanding model using the model’s unique ID.
44
44
 
45
45
  ```sh
46
46
  m365 spp model remove --siteUrl "https://contoso.sharepoint.com/sites/ContentCenter" --id "7645e69d-21fb-4a24-a17a-9bdfa7cb63dc"
@@ -41,6 +41,23 @@ In order to use this command, you need to grant the Microsoft Entra application
41
41
 
42
42
  :::
43
43
 
44
+ ## Permissions
45
+
46
+ <Tabs>
47
+ <TabItem value="Delegated">
48
+
49
+ | Resource | Permissions |
50
+ |----------|--------------------|
51
+ | Yammer | user_impersonation |
52
+
53
+ </TabItem>
54
+ <TabItem value="Application">
55
+
56
+ This command does not support application permissions.
57
+
58
+ </TabItem>
59
+ </Tabs>
60
+
44
61
  ## Examples
45
62
 
46
63
  Replies to a message with the ID 1231231231.
@@ -29,6 +29,23 @@ In order to use this command, you need to grant the Microsoft Entra application
29
29
 
30
30
  :::
31
31
 
32
+ ## Permissions
33
+
34
+ <Tabs>
35
+ <TabItem value="Delegated">
36
+
37
+ | Resource | Permissions |
38
+ |----------|--------------------|
39
+ | Yammer | user_impersonation |
40
+
41
+ </TabItem>
42
+ <TabItem value="Application">
43
+
44
+ This command does not support application permissions.
45
+
46
+ </TabItem>
47
+ </Tabs>
48
+
32
49
  ## Examples
33
50
 
34
51
  Returns the Viva Engage message with the id 1239871123.
@@ -54,6 +54,23 @@ Feed types
54
54
  - Private: Private messages received by the user
55
55
  - Received: All messages received by the user
56
56
 
57
+ ## Permissions
58
+
59
+ <Tabs>
60
+ <TabItem value="Delegated">
61
+
62
+ | Resource | Permissions |
63
+ |----------|--------------------|
64
+ | Yammer | user_impersonation |
65
+
66
+ </TabItem>
67
+ <TabItem value="Application">
68
+
69
+ This command does not support application permissions.
70
+
71
+ </TabItem>
72
+ </Tabs>
73
+
57
74
  ## Examples
58
75
 
59
76
  Returns all Viva Engage network messages
@@ -1,4 +1,6 @@
1
1
  import Global from '../../_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # viva engage message remove
4
6
 
@@ -36,6 +38,23 @@ To remove a message, you must either:
36
38
  - be an administrator of the group the message was posted to or
37
39
  - be an admin of the network the message is in
38
40
 
41
+ ## Permissions
42
+
43
+ <Tabs>
44
+ <TabItem value="Delegated">
45
+
46
+ | Resource | Permissions |
47
+ |----------|--------------------|
48
+ | Yammer | user_impersonation |
49
+
50
+ </TabItem>
51
+ <TabItem value="Application">
52
+
53
+ This command does not support application permissions.
54
+
55
+ </TabItem>
56
+ </Tabs>
57
+
39
58
  ## Examples
40
59
 
41
60
  Removes the Viva Engage message with the id _1239871123_
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnp/cli-microsoft365",
3
- "version": "12.0.0-beta.f682e10",
3
+ "version": "12.0.0-beta.feb621e",
4
4
  "description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/api.js",
@@ -111,11 +111,6 @@
111
111
  "name": "Milan Holemans",
112
112
  "email": "11723921+milanholemans@users.noreply.github.com",
113
113
  "web": "https://github.com/milanholemans"
114
- },
115
- {
116
- "name": "Mathijs Verbeeck",
117
- "email": "verbeeckmathijs@gmail.com",
118
- "web": "https://github.com/MathijsVerbeeck"
119
114
  }
120
115
  ],
121
116
  "contributors": [
@@ -233,6 +228,7 @@
233
228
  "Shafi, Danish <33339824+builtbydans@users.noreply.github.com>",
234
229
  "Shah, Dipen <Dips365@hotmail.com>",
235
230
  "Sharma, Dushyant <dushyantsharma17117@gmail.com>",
231
+ "Shreshtha, Sarthak <78229815+Sarthak-Shreshtha01@users.noreply.github.com>",
236
232
  "Siatka, Piotr <piotr@valointranet.com>",
237
233
  "Sinha, Kislay <kislay_sinha@outlook.com>",
238
234
  "Sitaraman, Rajesh <rajesh.sitaraman@outlook.com>",