@pnp/cli-microsoft365 11.0.0-beta.1f852eb → 11.0.0-beta.3143306

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 (159) hide show
  1. package/.devproxy/api-specs/sharepoint.yaml +54 -0
  2. package/.eslintrc.cjs +2 -0
  3. package/allCommands.json +1 -1
  4. package/allCommandsFull.json +1 -1
  5. package/dist/Command.js +4 -0
  6. package/dist/config.js +1 -0
  7. package/dist/m365/adaptivecard/commands/adaptivecard-send.js +1 -1
  8. package/dist/m365/entra/commands/administrativeunit/administrativeunit-add.js +13 -27
  9. package/dist/m365/entra/commands/administrativeunit/administrativeunit-get.js +18 -43
  10. package/dist/m365/entra/commands/administrativeunit/administrativeunit-list.js +10 -21
  11. package/dist/m365/entra/commands/administrativeunit/administrativeunit-remove.js +25 -49
  12. package/dist/m365/entra/commands/app/app-add.js +14 -2
  13. package/dist/m365/entra/commands/group/group-member-add.js +6 -27
  14. package/dist/m365/entra/commands/group/group-member-set.js +5 -26
  15. package/dist/m365/entra/commands/m365group/m365group-get.js +1 -7
  16. package/dist/m365/entra/commands/m365group/m365group-list.js +1 -7
  17. package/dist/m365/entra/commands/pim/pim-role-assignment-eligibility-list.js +1 -7
  18. package/dist/m365/entra/commands/pim/pim-role-assignment-list.js +1 -7
  19. package/dist/m365/entra/commands/pim/pim-role-request-list.js +1 -7
  20. package/dist/m365/entra/commands/roleassignment/roleassignment-add.js +146 -0
  21. package/dist/m365/entra/commands.js +1 -0
  22. package/dist/m365/flow/commands/environment/environment-get.js +19 -29
  23. package/dist/m365/flow/commands/flow-list.js +7 -14
  24. package/dist/m365/flow/commands/run/run-get.js +1 -7
  25. package/dist/m365/graph/commands/openextension/openextension-add.js +2 -2
  26. package/dist/m365/graph/commands/openextension/openextension-set.js +2 -6
  27. package/dist/m365/graph/commands/subscription/subscription-add.js +3 -10
  28. package/dist/m365/outlook/commands/mail/mail-searchfolder-add.js +85 -0
  29. package/dist/m365/outlook/commands.js +1 -0
  30. package/dist/m365/pa/commands/environment/environment-get.js +18 -23
  31. package/dist/m365/pp/commands/copilot/copilot-get.js +0 -4
  32. package/dist/m365/pp/commands/copilot/copilot-list.js +0 -4
  33. package/dist/m365/pp/commands/copilot/copilot-remove.js +0 -4
  34. package/dist/m365/pp/commands/environment/environment-get.js +19 -26
  35. package/dist/m365/pp/commands/solution/solution-publisher-list.js +1 -8
  36. package/dist/m365/pp/commands.js +0 -7
  37. package/dist/m365/purview/commands/threatassessment/threatassessment-get.js +1 -7
  38. package/dist/m365/spe/commands/container/container-add.js +1 -3
  39. package/dist/m365/spe/commands/container/container-list.js +1 -3
  40. package/dist/m365/spe/commands/container/container-recyclebinitem-list.js +1 -3
  41. package/dist/m365/spe/commands/container/container-recyclebinitem-restore.js +1 -3
  42. package/dist/m365/spe/commands/container/container-remove.js +1 -3
  43. package/dist/m365/spe/commands/containertype/containertype-add.js +67 -90
  44. package/dist/m365/spe/commands/containertype/containertype-get.js +53 -81
  45. package/dist/m365/spe/commands/containertype/containertype-list.js +8 -19
  46. package/dist/m365/spe/commands/containertype/containertype-remove.js +27 -5
  47. package/dist/m365/spfx/commands/project/project-upgrade.js +23 -66
  48. package/dist/m365/spo/commands/customaction/customaction-list.js +3 -10
  49. package/dist/m365/spo/commands/file/file-move.js +2 -8
  50. package/dist/m365/spo/commands/file/file-version-keep.js +78 -0
  51. package/dist/m365/spo/commands/homesite/homesite-add.js +26 -2
  52. package/dist/m365/spo/commands/homesite/homesite-get.js +28 -14
  53. package/dist/m365/spo/commands/homesite/homesite-list.js +1 -12
  54. package/dist/m365/spo/commands/homesite/homesite-remove.js +6 -34
  55. package/dist/m365/spo/commands/homesite/homesite-set.js +88 -44
  56. package/dist/m365/spo/commands/hubsite/hubsite-get.js +4 -13
  57. package/dist/m365/spo/commands/hubsite/hubsite-list.js +1 -8
  58. package/dist/m365/spo/commands/list/list-view-add.js +1 -1
  59. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-grant-list.js +17 -25
  60. package/dist/m365/spo/commands/{tenant/tenant-site-archive.js → site/site-archive.js} +14 -14
  61. package/dist/m365/spo/commands/{tenant/tenant-site-list.js → site/site-list.js} +16 -27
  62. package/dist/m365/spo/commands/{tenant/tenant-site-membership-list.js → site/site-membership-list.js} +15 -15
  63. package/dist/m365/spo/commands/{tenant/tenant-site-rename.js → site/site-rename.js} +14 -14
  64. package/dist/m365/spo/commands/{tenant/tenant-site-unarchive.js → site/site-unarchive.js} +14 -14
  65. package/dist/m365/spo/commands/term/term-list.js +1 -7
  66. package/dist/m365/spo/commands.js +5 -7
  67. package/dist/m365/teams/commands/chat/chat-member-add.js +3 -9
  68. package/dist/m365/teams/commands/report/report-directroutingcalls.js +5 -12
  69. package/dist/m365/teams/commands/report/report-pstncalls.js +5 -12
  70. package/dist/m365/viva/commands/engage/engage-network-list.js +1 -7
  71. package/dist/m365/viva/commands.js +0 -3
  72. package/dist/utils/entraAdministrativeUnit.js +1 -1
  73. package/dist/utils/entraApp.js +15 -0
  74. package/dist/utils/spe.js +5 -39
  75. package/docs/docs/cmd/entra/app/app-add.mdx +7 -1
  76. package/docs/docs/cmd/entra/group/group-member-add.mdx +7 -26
  77. package/docs/docs/cmd/entra/group/group-member-set.mdx +5 -23
  78. package/docs/docs/cmd/entra/m365group/m365group-get.mdx +0 -3
  79. package/docs/docs/cmd/entra/m365group/m365group-list.mdx +0 -3
  80. package/docs/docs/cmd/entra/pim/pim-role-assignment-eligibility-list.mdx +0 -3
  81. package/docs/docs/cmd/entra/pim/pim-role-assignment-list.mdx +0 -3
  82. package/docs/docs/cmd/entra/pim/pim-role-request-list.mdx +0 -3
  83. package/docs/docs/cmd/entra/roleassignment/roleassignment-add.mdx +163 -0
  84. package/docs/docs/cmd/flow/environment/environment-get.mdx +6 -5
  85. package/docs/docs/cmd/flow/flow-list.mdx +0 -3
  86. package/docs/docs/cmd/flow/run/run-get.mdx +0 -3
  87. package/docs/docs/cmd/graph/subscription/subscription-add.mdx +0 -3
  88. package/docs/docs/cmd/outlook/mail/mail-searchfolder-add.mdx +147 -0
  89. package/docs/docs/cmd/pa/environment/environment-get.mdx +5 -2
  90. package/docs/docs/cmd/pp/copilot/copilot-get.mdx +0 -6
  91. package/docs/docs/cmd/pp/copilot/copilot-list.mdx +0 -6
  92. package/docs/docs/cmd/pp/copilot/copilot-remove.mdx +0 -6
  93. package/docs/docs/cmd/pp/environment/environment-get.mdx +5 -2
  94. package/docs/docs/cmd/pp/solution/solution-publisher-list.mdx +0 -3
  95. package/docs/docs/cmd/purview/threatassessment/threatassessment-get.mdx +0 -3
  96. package/docs/docs/cmd/spe/container/container-activate.mdx +21 -0
  97. package/docs/docs/cmd/spe/container/container-add.mdx +29 -0
  98. package/docs/docs/cmd/spe/container/container-get.mdx +20 -1
  99. package/docs/docs/cmd/spe/container/container-list.mdx +29 -0
  100. package/docs/docs/cmd/spe/container/container-permission-list.mdx +19 -0
  101. package/docs/docs/cmd/spe/container/container-recyclebinitem-list.mdx +29 -0
  102. package/docs/docs/cmd/spe/container/container-recyclebinitem-restore.mdx +31 -0
  103. package/docs/docs/cmd/spe/container/container-remove.mdx +31 -0
  104. package/docs/docs/cmd/spe/containertype/containertype-add.mdx +111 -55
  105. package/docs/docs/cmd/spe/containertype/containertype-get.mdx +69 -38
  106. package/docs/docs/cmd/spe/containertype/containertype-list.mdx +59 -31
  107. package/docs/docs/cmd/spe/containertype/containertype-remove.mdx +31 -4
  108. package/docs/docs/cmd/spfx/project/project-upgrade.mdx +18 -5
  109. package/docs/docs/cmd/spo/file/file-move.mdx +0 -3
  110. package/docs/docs/cmd/spo/file/file-version-keep.mdx +68 -0
  111. package/docs/docs/cmd/spo/homesite/homesite-add.mdx +13 -4
  112. package/docs/docs/cmd/spo/homesite/homesite-get.mdx +44 -23
  113. package/docs/docs/cmd/spo/homesite/homesite-list.mdx +0 -6
  114. package/docs/docs/cmd/spo/homesite/homesite-remove.mdx +10 -35
  115. package/docs/docs/cmd/spo/homesite/homesite-set.mdx +84 -44
  116. package/docs/docs/cmd/spo/hubsite/hubsite-get.mdx +0 -3
  117. package/docs/docs/cmd/spo/hubsite/hubsite-list.mdx +0 -3
  118. package/docs/docs/cmd/spo/list/list-view-add.mdx +11 -11
  119. package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-list.mdx +18 -18
  120. package/docs/docs/cmd/spo/{tenant/tenant-site-archive.mdx → site/site-archive.mdx} +4 -4
  121. package/docs/docs/cmd/spo/{tenant/tenant-site-list.mdx → site/site-list.mdx} +7 -16
  122. package/docs/docs/cmd/spo/{tenant/tenant-site-membership-list.mdx → site/site-membership-list.mdx} +5 -5
  123. package/docs/docs/cmd/spo/{tenant/tenant-site-rename.mdx → site/site-rename.mdx} +7 -7
  124. package/docs/docs/cmd/spo/{tenant/tenant-site-unarchive.mdx → site/site-unarchive.mdx} +4 -4
  125. package/docs/docs/cmd/spo/term/term-list.mdx +0 -3
  126. package/docs/docs/cmd/teams/chat/chat-member-add.mdx +2 -5
  127. package/docs/docs/cmd/teams/report/report-directroutingcalls.mdx +25 -44
  128. package/docs/docs/cmd/teams/report/report-pstncalls.mdx +25 -48
  129. package/docs/docs/cmd/viva/engage/engage-community-list.mdx +19 -0
  130. package/docs/docs/cmd/viva/engage/engage-community-user-add.mdx +19 -0
  131. package/docs/docs/cmd/viva/engage/engage-community-user-remove.mdx +19 -0
  132. package/docs/docs/cmd/viva/engage/engage-network-list.mdx +0 -3
  133. package/npm-shrinkwrap.json +51 -51
  134. package/package.json +12 -12
  135. package/dist/m365/pp/commands/card/card-clone.js +0 -101
  136. package/dist/m365/pp/commands/card/card-get.js +0 -89
  137. package/dist/m365/pp/commands/card/card-list.js +0 -55
  138. package/dist/m365/pp/commands/card/card-remove.js +0 -105
  139. package/dist/m365/skype/commands/report/report-activitycounts.js +0 -15
  140. package/dist/m365/skype/commands/report/report-activityusercounts.js +0 -15
  141. package/dist/m365/skype/commands/report/report-activityuserdetail.js +0 -15
  142. package/dist/m365/skype/commands.js +0 -7
  143. package/dist/m365/spo/commands/mail/mail-send.js +0 -108
  144. package/dist/m365/spo/commands/tenant/SPOTenantSitePropertiesEnumerable.js +0 -2
  145. package/dist/m365/spo/commands/tenant/TenantSiteProperties.js +0 -2
  146. package/dist/m365/viva/commands/engage/engage-group-list.js +0 -93
  147. package/dist/m365/viva/commands/engage/engage-group-user-add.js +0 -73
  148. package/dist/m365/viva/commands/engage/engage-group-user-remove.js +0 -88
  149. package/docs/docs/cmd/pp/card/card-clone.mdx +0 -103
  150. package/docs/docs/cmd/pp/card/card-get.mdx +0 -212
  151. package/docs/docs/cmd/pp/card/card-list.mdx +0 -163
  152. package/docs/docs/cmd/pp/card/card-remove.mdx +0 -86
  153. package/docs/docs/cmd/skype/report/report-activitycounts.mdx +0 -96
  154. package/docs/docs/cmd/skype/report/report-activityusercounts.mdx +0 -96
  155. package/docs/docs/cmd/skype/report/report-activityuserdetail.mdx +0 -134
  156. package/docs/docs/cmd/spo/mail/mail-send.mdx +0 -69
  157. package/docs/docs/cmd/viva/engage/engage-group-list.mdx +0 -174
  158. package/docs/docs/cmd/viva/engage/engage-group-user-add.mdx +0 -60
  159. package/docs/docs/cmd/viva/engage/engage-group-user-remove.mdx +0 -58
@@ -1,60 +0,0 @@
1
- import Global from '/docs/cmd/_global.mdx';
2
-
3
- # viva engage group user add
4
-
5
- Adds a user to a Viva Engage Group
6
-
7
- ## Usage
8
-
9
- ```sh
10
- m365 viva engage group user add [options]
11
- ```
12
-
13
- ## Options
14
-
15
- ```md definition-list
16
- `--groupId <groupId>`
17
- : The ID of the group to add the user to
18
-
19
- `--id [id]`
20
- : ID of the user to add to the group. If not specified, adds the current user
21
-
22
- `--email [email]`
23
- : E-mail of the user to add to the group
24
- ```
25
-
26
- <Global />
27
-
28
- ## Remarks
29
-
30
- :::warning
31
-
32
- In order to use this command, you need to grant the Microsoft Entra application used by the CLI for Microsoft 365 the permission to the Viva Engage API. To do this, execute the `cli consent --service VivaEngage` command.
33
-
34
- :::
35
-
36
- If the specified user is not a member of the network, the command will return an HTTP 400 error message.
37
-
38
- ## Examples
39
-
40
- Adds the current user to the group with the ID `5611239081`
41
-
42
- ```sh
43
- m365 viva engage group user add --groupId 5611239081
44
- ```
45
-
46
- Adds the user with ID `66622349` to the group with the ID `5611239081`
47
-
48
- ```sh
49
- m365 viva engage group user add --groupId 5611239081 --id 66622349
50
- ```
51
-
52
- Adds the user with e-mail to the group with ID `5611239081`
53
-
54
- ```sh
55
- m365 viva engage group user add --groupId 5611239081 --email suzy@contoso.com
56
- ```
57
-
58
- ## Response
59
-
60
- The command won't return a response on success.
@@ -1,58 +0,0 @@
1
- import Global from '/docs/cmd/_global.mdx';
2
-
3
- # viva engage group user remove
4
-
5
- Removes a user from a Viva Engage group
6
-
7
- ## Usage
8
-
9
- ```sh
10
- m365 viva engage group user remove [options]
11
- ```
12
-
13
- ## Options
14
-
15
- ```md definition-list
16
- `--groupId <groupId>`
17
- : The ID of the Viva Engage group.
18
-
19
- `--id [id]`
20
- : ID of the user to remove from the group. If not specified, removes the current user.
21
-
22
- `-f, --force`
23
- : Don't prompt for confirmation.
24
- ```
25
-
26
- <Global />
27
-
28
- ## Remarks
29
-
30
- :::warning
31
-
32
- In order to use this command, you need to grant the Microsoft Entra application used by the CLI for Microsoft 365 the permission to the Viva Engage API. To do this, execute the `cli consent --service VivaEngage` command.
33
-
34
- :::
35
-
36
- ## Examples
37
-
38
- Remove the current user from the group with the ID `5611239081`
39
-
40
- ```sh
41
- m365 viva engage group user remove --groupId 5611239081
42
- ```
43
-
44
- Remove the user with the ID `66622349` from the group with the ID `5611239081`
45
-
46
- ```sh
47
- m365 viva engage group user remove --groupId 5611239081 --id 66622349
48
- ```
49
-
50
- Remove the user with the ID `66622349` from the group with the ID `5611239081` without asking for confirmation
51
-
52
- ```sh
53
- m365 viva engage group user remove --groupId 5611239081 --id 66622349 --force
54
- ```
55
-
56
- ## Response
57
-
58
- The command won't return a response on success.