@pnp/cli-microsoft365 7.5.0-beta.d4d820f → 7.5.0

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 (178) hide show
  1. package/.devcontainer/Dockerfile +2 -2
  2. package/.eslintrc.cjs +6 -2
  3. package/.mocharc.json +3 -5
  4. package/Dockerfile +2 -5
  5. package/README.md +2 -2
  6. package/allCommands.json +1 -1
  7. package/allCommandsFull.json +1 -1
  8. package/dist/Auth.js +171 -69
  9. package/dist/AuthServer.js +3 -3
  10. package/dist/Command.js +8 -5
  11. package/dist/auth/FileTokenStorage.js +4 -1
  12. package/dist/m365/base/AppCommand.js +2 -2
  13. package/dist/m365/base/PowerAppsCommand.js +2 -2
  14. package/dist/m365/base/PowerAutomateCommand.js +2 -2
  15. package/dist/m365/base/PowerPlatformCommand.js +2 -2
  16. package/dist/m365/base/SpoCommand.js +3 -3
  17. package/dist/m365/base/{YammerCommand.js → VivaEngageCommand.js} +2 -2
  18. package/dist/m365/cli/commands/cli-consent.js +5 -3
  19. package/dist/m365/cli/commands/cli-doctor.js +5 -5
  20. package/dist/m365/commands/ConnectionDetails.js +2 -0
  21. package/dist/m365/commands/login.js +26 -48
  22. package/dist/m365/commands/logout.js +2 -2
  23. package/dist/m365/commands/request.js +2 -2
  24. package/dist/m365/commands/status.js +15 -23
  25. package/dist/m365/connection/commands/connection-list.js +47 -0
  26. package/dist/m365/connection/commands/connection-remove.js +67 -0
  27. package/dist/m365/connection/commands/connection-set.js +56 -0
  28. package/dist/m365/connection/commands/connection-use.js +51 -0
  29. package/dist/m365/connection/commands.js +8 -0
  30. package/dist/m365/entra/aadCommands.js +3 -0
  31. package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-remove.js +153 -0
  32. package/dist/m365/entra/commands/app/app-add.js +2 -2
  33. package/dist/m365/entra/commands/app/app-get.js +1 -1
  34. package/dist/m365/entra/commands/app/app-list.js +1 -1
  35. package/dist/m365/entra/commands/app/app-permission-add.js +1 -1
  36. package/dist/m365/entra/commands/app/app-permission-list.js +182 -0
  37. package/dist/m365/entra/commands/app/app-remove.js +1 -1
  38. package/dist/m365/entra/commands/app/app-role-add.js +1 -1
  39. package/dist/m365/entra/commands/app/app-role-list.js +1 -1
  40. package/dist/m365/entra/commands/app/app-role-remove.js +1 -1
  41. package/dist/m365/entra/commands/app/app-set.js +1 -1
  42. package/dist/m365/entra/commands/{sp/sp-add.js → enterpriseapp/enterpriseapp-add.js} +18 -18
  43. package/dist/m365/entra/commands/{sp/sp-get.js → enterpriseapp/enterpriseapp-get.js} +19 -19
  44. package/dist/m365/entra/commands/{sp/sp-list.js → enterpriseapp/enterpriseapp-list.js} +13 -13
  45. package/dist/m365/entra/commands/group/group-add.js +224 -0
  46. package/dist/m365/entra/commands/group/group-user-add.js +145 -0
  47. package/dist/m365/entra/commands/m365group/m365group-report-activitygroupcounts.js +1 -1
  48. package/dist/m365/entra/commands/user/user-get.js +38 -38
  49. package/dist/m365/entra/commands/user/user-license-list.js +1 -1
  50. package/dist/m365/entra/commands/user/user-registrationdetails-list.js +224 -0
  51. package/dist/m365/entra/commands/user/user-set.js +2 -2
  52. package/dist/m365/entra/commands.js +17 -0
  53. package/dist/m365/external/commands/connection/connection-doctor.js +2 -1
  54. package/dist/m365/file/commands/convert/convert-pdf.js +1 -1
  55. package/dist/m365/file/commands/file-copy.js +151 -0
  56. package/dist/m365/file/commands.js +1 -0
  57. package/dist/m365/outlook/commands/mail/mail-send.js +1 -1
  58. package/dist/m365/outlook/commands/message/message-get.js +1 -1
  59. package/dist/m365/pa/commands/app/app-permission-ensure.js +1 -1
  60. package/dist/m365/pa/commands/app/app-permission-remove.js +1 -1
  61. package/dist/m365/planner/commands/roster/roster-plan-list.js +1 -1
  62. package/dist/m365/purview/commands/auditlog/auditlog-list.js +1 -1
  63. package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-get.js +1 -1
  64. package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-list.js +1 -1
  65. package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-policysettings-list.js +1 -1
  66. package/dist/m365/spfx/commands/project/DeployWorkflow.js +4 -3
  67. package/dist/m365/spo/commands/spo-get.js +1 -1
  68. package/dist/m365/spo/commands/spo-search.js +52 -22
  69. package/dist/m365/spo/commands/spo-set.js +1 -1
  70. package/dist/m365/teams/commands/chat/chat-get.js +1 -1
  71. package/dist/m365/teams/commands/chat/chat-list.js +1 -1
  72. package/dist/m365/teams/commands/chat/chat-message-send.js +1 -1
  73. package/dist/m365/teams/commands/meeting/meeting-add.js +1 -1
  74. package/dist/m365/teams/commands/meeting/meeting-attendancereport-list.js +1 -1
  75. package/dist/m365/teams/commands/meeting/meeting-get.js +1 -1
  76. package/dist/m365/teams/commands/meeting/meeting-list.js +2 -2
  77. package/dist/m365/teams/commands/meeting/meeting-transcript-list.js +1 -1
  78. package/dist/m365/tenant/commands/id/id-get.js +1 -1
  79. package/dist/m365/tenant/commands/info/info-get.js +1 -1
  80. package/dist/m365/util/commands/accesstoken/accesstoken-get.js +3 -3
  81. package/dist/m365/{yammer/commands/group/group-list.js → viva/commands/engage/engage-group-list.js} +19 -14
  82. package/dist/m365/{yammer/commands/group/group-user-add.js → viva/commands/engage/engage-group-user-add.js} +19 -14
  83. package/dist/m365/{yammer/commands/group/group-user-remove.js → viva/commands/engage/engage-group-user-remove.js} +19 -14
  84. package/dist/m365/{yammer/commands/message/message-add.js → viva/commands/engage/engage-message-add.js} +19 -14
  85. package/dist/m365/{yammer/commands/message/message-get.js → viva/commands/engage/engage-message-get.js} +17 -12
  86. package/dist/m365/{yammer/commands/message/message-like-set.js → viva/commands/engage/engage-message-like-set.js} +21 -16
  87. package/dist/m365/{yammer/commands/message/message-list.js → viva/commands/engage/engage-message-list.js} +21 -16
  88. package/dist/m365/{yammer/commands/message/message-remove.js → viva/commands/engage/engage-message-remove.js} +20 -15
  89. package/dist/m365/{yammer/commands/network/network-list.js → viva/commands/engage/engage-network-list.js} +16 -11
  90. package/dist/m365/viva/commands/engage/engage-report-activitycounts.js +23 -0
  91. package/dist/m365/viva/commands/engage/engage-report-activityusercounts.js +23 -0
  92. package/dist/m365/viva/commands/engage/engage-report-activityuserdetail.js +23 -0
  93. package/dist/m365/viva/commands/engage/engage-report-deviceusagedistributionusercounts.js +23 -0
  94. package/dist/m365/viva/commands/engage/engage-report-deviceusageusercounts.js +23 -0
  95. package/dist/m365/viva/commands/engage/engage-report-deviceusageuserdetail.js +23 -0
  96. package/dist/m365/viva/commands/engage/engage-report-groupsactivitycounts.js +23 -0
  97. package/dist/m365/viva/commands/engage/engage-report-groupsactivitydetail.js +23 -0
  98. package/dist/m365/viva/commands/engage/engage-report-groupsactivitygroupcounts.js +23 -0
  99. package/dist/m365/{yammer/commands/yammer-search.js → viva/commands/engage/engage-search.js} +23 -18
  100. package/dist/m365/{yammer/commands/user/user-get.js → viva/commands/engage/engage-user-get.js} +18 -13
  101. package/dist/m365/{yammer/commands/user/user-list.js → viva/commands/engage/engage-user-list.js} +18 -13
  102. package/dist/m365/{yammer/commands.js → viva/commands/engage/yammerCommands.js} +1 -1
  103. package/dist/m365/viva/commands.js +22 -1
  104. package/dist/request.js +1 -1
  105. package/dist/utils/entraUser.js +36 -0
  106. package/dist/utils/spo.js +36 -14
  107. package/dist/utils/urlUtil.js +31 -0
  108. package/dist/utils/validation.js +8 -0
  109. package/docs/docs/cmd/cli/cli-consent.mdx +9 -9
  110. package/docs/docs/cmd/connection/connection-list.mdx +100 -0
  111. package/docs/docs/cmd/connection/connection-remove.mdx +45 -0
  112. package/docs/docs/cmd/connection/connection-set.mdx +39 -0
  113. package/docs/docs/cmd/connection/connection-use.mdx +98 -0
  114. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-add.mdx +5 -3
  115. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-remove.mdx +107 -0
  116. package/docs/docs/cmd/entra/app/app-add.mdx +2 -1
  117. package/docs/docs/cmd/entra/app/app-get.mdx +1 -0
  118. package/docs/docs/cmd/entra/app/app-list.mdx +1 -0
  119. package/docs/docs/cmd/entra/app/app-permission-add.mdx +1 -0
  120. package/docs/docs/cmd/entra/app/app-permission-list.mdx +105 -0
  121. package/docs/docs/cmd/entra/app/app-remove.mdx +1 -0
  122. package/docs/docs/cmd/entra/app/app-role-add.mdx +1 -0
  123. package/docs/docs/cmd/entra/app/app-role-list.mdx +1 -0
  124. package/docs/docs/cmd/entra/app/app-role-remove.mdx +1 -0
  125. package/docs/docs/cmd/entra/app/app-set.mdx +1 -0
  126. package/docs/docs/cmd/entra/{sp/sp-add.mdx → enterpriseapp/enterpriseapp-add.mdx} +16 -15
  127. package/docs/docs/cmd/entra/{sp/sp-get.mdx → enterpriseapp/enterpriseapp-get.mdx} +15 -14
  128. package/docs/docs/cmd/entra/{sp/sp-list.mdx → enterpriseapp/enterpriseapp-list.mdx} +22 -21
  129. package/docs/docs/cmd/entra/group/group-add.mdx +231 -0
  130. package/docs/docs/cmd/entra/group/group-user-add.mdx +62 -0
  131. package/docs/docs/cmd/entra/m365group/m365group-report-activitygroupcounts.mdx +1 -1
  132. package/docs/docs/cmd/entra/oauth2grant/oauth2grant-add.mdx +3 -3
  133. package/docs/docs/cmd/entra/oauth2grant/oauth2grant-list.mdx +1 -1
  134. package/docs/docs/cmd/entra/user/user-registrationdetails-list.mdx +246 -0
  135. package/docs/docs/cmd/external/item/item-add.mdx +1 -1
  136. package/docs/docs/cmd/file/convert/convert-pdf.mdx +4 -0
  137. package/docs/docs/cmd/file/file-add.mdx +4 -0
  138. package/docs/docs/cmd/file/file-copy.mdx +68 -0
  139. package/docs/docs/cmd/file/file-list.mdx +100 -0
  140. package/docs/docs/cmd/login.mdx +15 -0
  141. package/docs/docs/cmd/setup.mdx +4 -0
  142. package/docs/docs/cmd/spo/list/list-webhook-set.mdx +1 -1
  143. package/docs/docs/cmd/spo/spo-search.mdx +6 -2
  144. package/docs/docs/cmd/spo/theme/theme-set.mdx +14 -2
  145. package/docs/docs/cmd/{yammer/group/group-list.mdx → viva/engage/engage-group-list.mdx} +13 -13
  146. package/docs/docs/cmd/{yammer/group/group-user-add.mdx → viva/engage/engage-group-user-add.mdx} +7 -7
  147. package/docs/docs/cmd/{yammer/group/group-user-remove.mdx → viva/engage/engage-group-user-remove.mdx} +10 -10
  148. package/docs/docs/cmd/{yammer/message/message-add.mdx → viva/engage/engage-message-add.mdx} +12 -13
  149. package/docs/docs/cmd/{yammer/message/message-get.mdx → viva/engage/engage-message-get.mdx} +10 -10
  150. package/docs/docs/cmd/{yammer/message/message-like-set.mdx → viva/engage/engage-message-like-set.mdx} +10 -10
  151. package/docs/docs/cmd/{yammer/message/message-list.mdx → viva/engage/engage-message-list.mdx} +21 -21
  152. package/docs/docs/cmd/{yammer/message/message-remove.mdx → viva/engage/engage-message-remove.mdx} +10 -10
  153. package/docs/docs/cmd/{yammer/network/network-list.mdx → viva/engage/engage-network-list.mdx} +6 -6
  154. package/docs/docs/cmd/{yammer/report/report-activitycounts.mdx → viva/engage/engage-report-activitycounts.mdx} +9 -9
  155. package/docs/docs/cmd/{yammer/report/report-activityusercounts.mdx → viva/engage/engage-report-activityusercounts.mdx} +9 -9
  156. package/docs/docs/cmd/{yammer/report/report-activityuserdetail.mdx → viva/engage/engage-report-activityuserdetail.mdx} +11 -12
  157. package/docs/docs/cmd/{yammer/report/report-deviceusagedistributionusercounts.mdx → viva/engage/engage-report-deviceusagedistributionusercounts.mdx} +5 -5
  158. package/docs/docs/cmd/{yammer/report/report-deviceusageusercounts.mdx → viva/engage/engage-report-deviceusageusercounts.mdx} +5 -5
  159. package/docs/docs/cmd/{yammer/report/report-deviceusageuserdetail.mdx → viva/engage/engage-report-deviceusageuserdetail.mdx} +11 -11
  160. package/docs/docs/cmd/{yammer/report/report-groupsactivitycounts.mdx → viva/engage/engage-report-groupsactivitycounts.mdx} +9 -9
  161. package/docs/docs/cmd/{yammer/report/report-groupsactivitydetail.mdx → viva/engage/engage-report-groupsactivitydetail.mdx} +11 -11
  162. package/docs/docs/cmd/{yammer/report/report-groupsactivitygroupcounts.mdx → viva/engage/engage-report-groupsactivitygroupcounts.mdx} +5 -5
  163. package/docs/docs/cmd/{yammer/yammer-search.mdx → viva/engage/engage-search.mdx} +10 -10
  164. package/docs/docs/cmd/{yammer/user/user-get.mdx → viva/engage/engage-user-get.mdx} +8 -8
  165. package/docs/docs/cmd/{yammer/user/user-list.mdx → viva/engage/engage-user-list.mdx} +11 -11
  166. package/npm-shrinkwrap.json +228 -166
  167. package/package.json +21 -20
  168. package/dist/m365/base/AzmgmtCommand.js +0 -18
  169. package/dist/m365/base/AzmgmtItemsListCommand.js +0 -41
  170. package/dist/m365/yammer/commands/report/report-activitycounts.js +0 -15
  171. package/dist/m365/yammer/commands/report/report-activityusercounts.js +0 -15
  172. package/dist/m365/yammer/commands/report/report-activityuserdetail.js +0 -15
  173. package/dist/m365/yammer/commands/report/report-deviceusagedistributionusercounts.js +0 -15
  174. package/dist/m365/yammer/commands/report/report-deviceusageusercounts.js +0 -15
  175. package/dist/m365/yammer/commands/report/report-deviceusageuserdetail.js +0 -15
  176. package/dist/m365/yammer/commands/report/report-groupsactivitycounts.js +0 -15
  177. package/dist/m365/yammer/commands/report/report-groupsactivitydetail.js +0 -15
  178. package/dist/m365/yammer/commands/report/report-groupsactivitygroupcounts.js +0 -15
@@ -1,13 +1,13 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
2
 
3
- # yammer group user add
3
+ # viva engage group user add
4
4
 
5
- Adds a user to a Yammer Group
5
+ Adds a user to a Viva Engage Group
6
6
 
7
7
  ## Usage
8
8
 
9
9
  ```sh
10
- m365 yammer group user add [options]
10
+ m365 viva engage group user add [options]
11
11
  ```
12
12
 
13
13
  ## Options
@@ -29,7 +29,7 @@ m365 yammer group user add [options]
29
29
 
30
30
  :::warning
31
31
 
32
- In order to use this command, you need to grant the Azure AD application used by the CLI for Microsoft 365 the permission to the Yammer API. To do this, execute the `cli consent --service yammer` command.
32
+ In order to use this command, you need to grant the Azure AD 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
33
 
34
34
  :::
35
35
 
@@ -40,19 +40,19 @@ If the specified user is not a member of the network, the command will return an
40
40
  Adds the current user to the group with the ID `5611239081`
41
41
 
42
42
  ```sh
43
- m365 yammer group user add --groupId 5611239081
43
+ m365 viva engage group user add --groupId 5611239081
44
44
  ```
45
45
 
46
46
  Adds the user with ID `66622349` to the group with the ID `5611239081`
47
47
 
48
48
  ```sh
49
- m365 yammer group user add --groupId 5611239081 --id 66622349
49
+ m365 viva engage group user add --groupId 5611239081 --id 66622349
50
50
  ```
51
51
 
52
52
  Adds the user with e-mail to the group with ID `5611239081`
53
53
 
54
54
  ```sh
55
- m365 yammer group user add --groupId 5611239081 --email suzy@contoso.com
55
+ m365 viva engage group user add --groupId 5611239081 --email suzy@contoso.com
56
56
  ```
57
57
 
58
58
  ## Response
@@ -1,26 +1,26 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
2
 
3
- # yammer group user remove
3
+ # viva engage group user remove
4
4
 
5
- Removes a user from a Yammer group
5
+ Removes a user from a Viva Engage group
6
6
 
7
7
  ## Usage
8
8
 
9
9
  ```sh
10
- m365 yammer group user remove [options]
10
+ m365 viva engage group user remove [options]
11
11
  ```
12
12
 
13
13
  ## Options
14
14
 
15
15
  ```md definition-list
16
16
  `--groupId <groupId>`
17
- : The ID of the Yammer group
17
+ : The ID of the Viva Engage group.
18
18
 
19
19
  `--id [id]`
20
- : ID of the user to remove from the group. If not specified, removes the current user
20
+ : ID of the user to remove from the group. If not specified, removes the current user.
21
21
 
22
22
  `-f, --force`
23
- : Don't prompt for confirmation before removing the user from the group
23
+ : Don't prompt for confirmation.
24
24
  ```
25
25
 
26
26
  <Global />
@@ -29,7 +29,7 @@ m365 yammer group user remove [options]
29
29
 
30
30
  :::warning
31
31
 
32
- In order to use this command, you need to grant the Azure AD application used by the CLI for Microsoft 365 the permission to the Yammer API. To do this, execute the `cli consent --service yammer` command.
32
+ In order to use this command, you need to grant the Azure AD 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
33
 
34
34
  :::
35
35
 
@@ -38,19 +38,19 @@ In order to use this command, you need to grant the Azure AD application used by
38
38
  Remove the current user from the group with the ID `5611239081`
39
39
 
40
40
  ```sh
41
- m365 yammer group user remove --groupId 5611239081
41
+ m365 viva engage group user remove --groupId 5611239081
42
42
  ```
43
43
 
44
44
  Remove the user with the ID `66622349` from the group with the ID `5611239081`
45
45
 
46
46
  ```sh
47
- m365 yammer group user remove --groupId 5611239081 --id 66622349
47
+ m365 viva engage group user remove --groupId 5611239081 --id 66622349
48
48
  ```
49
49
 
50
50
  Remove the user with the ID `66622349` from the group with the ID `5611239081` without asking for confirmation
51
51
 
52
52
  ```sh
53
- m365 yammer group user remove --groupId 5611239081 --id 66622349 --force
53
+ m365 viva engage group user remove --groupId 5611239081 --id 66622349 --force
54
54
  ```
55
55
 
56
56
  ## Response
@@ -2,14 +2,14 @@ import Global from '/docs/cmd/_global.mdx';
2
2
  import Tabs from '@theme/Tabs';
3
3
  import TabItem from '@theme/TabItem';
4
4
 
5
- # yammer message add
5
+ # viva engage message add
6
6
 
7
- Posts a Yammer network message on behalf of the current user
7
+ Posts a Viva Engage network message on behalf of the current user
8
8
 
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- m365 yammer message add [options]
12
+ m365 viva engage message add [options]
13
13
  ```
14
14
 
15
15
  ## Options
@@ -25,7 +25,7 @@ m365 yammer message add [options]
25
25
  : The message ID this message is in reply to. If this is set then groupId and networkId are inferred from it. You must either specify `groupId`, `repliedToId`, or `directToUserIds` to send the message
26
26
 
27
27
  `-d, --directToUserIds [directToUserIds]`
28
- : Send a private message to one or more users, specified by ID. Alternatively, you can use the Yammer network e-mail addresses instead of the IDs. You must either specify `groupId`, `repliedToId`, or `directToUserIds` to send the message
28
+ : Send a private message to one or more users, specified by ID. Alternatively, you can use the Viva Engage network e-mail addresses instead of the IDs. You must either specify `groupId`, `repliedToId`, or `directToUserIds` to send the message
29
29
 
30
30
  `--networkId [networkId]`
31
31
  : Specify the network to post a message
@@ -37,7 +37,7 @@ m365 yammer message add [options]
37
37
 
38
38
  :::warning
39
39
 
40
- In order to use this command, you need to grant the Azure AD application used by the CLI for Microsoft 365 the permission to the Yammer API. To do this, execute the `cli consent --service yammer` command.
40
+ In order to use this command, you need to grant the Azure AD 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.
41
41
 
42
42
  :::
43
43
 
@@ -46,37 +46,37 @@ In order to use this command, you need to grant the Azure AD application used by
46
46
  Replies to a message with the ID 1231231231
47
47
 
48
48
  ```sh
49
- m365 yammer message add --body "Hello everyone!" --repliedToId 1231231231
49
+ m365 viva engage message add --body "Hello everyone!" --repliedToId 1231231231
50
50
  ```
51
51
 
52
52
  Sends a private conversation to the user with the ID 1231231231
53
53
 
54
54
  ```sh
55
- m365 yammer message add --body "Hello everyone!" --directToUserIds 1231231231
55
+ m365 viva engage message add --body "Hello everyone!" --directToUserIds 1231231231
56
56
  ```
57
57
 
58
58
  Sends a private conversation to multiple users by ID
59
59
 
60
60
  ```sh
61
- m365 yammer message add --body "Hello everyone!" --directToUserIds "1231231231,1121312"
61
+ m365 viva engage message add --body "Hello everyone!" --directToUserIds "1231231231,1121312"
62
62
  ```
63
63
 
64
64
  Sends a private conversation to the user with several e-mail addresses
65
65
 
66
66
  ```sh
67
- m365 yammer message add --body "Hello everyone!" --directToUserIds "pl@nubo.eu,sc@nubo.eu"
67
+ m365 viva engage message add --body "Hello everyone!" --directToUserIds "pl@nubo.eu,sc@nubo.eu"
68
68
  ```
69
69
 
70
70
  Posts a message to the group with the ID 12312312312
71
71
 
72
72
  ```sh
73
- m365 yammer message add --body "Hello everyone!" --groupId 12312312312
73
+ m365 viva engage message add --body "Hello everyone!" --groupId 12312312312
74
74
  ```
75
75
 
76
76
  Posts a message to the group with the ID 12312312312 in the network 11112312
77
77
 
78
78
  ```sh
79
- m365 yammer message add --body "Hello everyone!" --groupId 12312312312 --networkId 11112312
79
+ m365 viva engage message add --body "Hello everyone!" --groupId 12312312312 --networkId 11112312
80
80
  ```
81
81
 
82
82
  ## Response
@@ -141,7 +141,7 @@ m365 yammer message add --body "Hello everyone!" --groupId 12312312312 --network
141
141
  <TabItem value="Markdown">
142
142
 
143
143
  ```md
144
- # yammer message add --body "Hello everyone!" --groupId "123412865024"
144
+ # viva engage message add --body "Hello everyone!" --groupId "123412865024"
145
145
 
146
146
  Date: 2023-05-16
147
147
 
@@ -172,4 +172,3 @@ m365 yammer message add --body "Hello everyone!" --groupId 12312312312 --network
172
172
 
173
173
  </TabItem>
174
174
  </Tabs>
175
-
@@ -2,21 +2,21 @@ import Global from '/docs/cmd/_global.mdx';
2
2
  import Tabs from '@theme/Tabs';
3
3
  import TabItem from '@theme/TabItem';
4
4
 
5
- # yammer message get
5
+ # viva engage message get
6
6
 
7
- Returns a Yammer message
7
+ Returns a Viva Engage message
8
8
 
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- m365 yammer message get [options]
12
+ m365 viva engage message get [options]
13
13
  ```
14
14
 
15
15
  ## Options
16
16
 
17
17
  ```md definition-list
18
18
  `--id <id>`
19
- : The id of the Yammer message
19
+ : The id of the Viva Engage message.
20
20
  ```
21
21
 
22
22
  <Global />
@@ -25,22 +25,22 @@ m365 yammer message get [options]
25
25
 
26
26
  :::warning
27
27
 
28
- In order to use this command, you need to grant the Azure AD application used by the CLI for Microsoft 365 the permission to the Yammer API. To do this, execute the `cli consent --service yammer` command.
28
+ In order to use this command, you need to grant the Azure AD 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.
29
29
 
30
30
  :::
31
31
 
32
32
  ## Examples
33
33
 
34
- Returns the Yammer message with the id 1239871123
34
+ Returns the Viva Engage message with the id 1239871123
35
35
 
36
36
  ```sh
37
- m365 yammer message get --id 1239871123
37
+ m365 viva engage message get --id 1239871123
38
38
  ```
39
39
 
40
- Returns the Yammer message with the id 1239871123 in JSON format
40
+ Returns the Viva Engage message with the id 1239871123 in JSON format
41
41
 
42
42
  ```sh
43
- m365 yammer message get --id 1239871123 --output json
43
+ m365 viva engage message get --id 1239871123 --output json
44
44
  ```
45
45
 
46
46
  ## Response
@@ -114,7 +114,7 @@ m365 yammer message get --id 1239871123 --output json
114
114
  <TabItem value="Markdown">
115
115
 
116
116
  ```md
117
- # yammer message get --id "2269815632207872"
117
+ # viva engage message get --id "2269815632207872"
118
118
 
119
119
  Date: 2023-05-16
120
120
 
@@ -1,26 +1,26 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
2
 
3
- # yammer message like set
3
+ # viva engage message like set
4
4
 
5
- Likes or unlikes a Yammer message
5
+ Likes or unlikes a Viva Engage message
6
6
 
7
7
  ## Usage
8
8
 
9
9
  ```sh
10
- m365 yammer message like set [options]
10
+ m365 viva engage message like set [options]
11
11
  ```
12
12
 
13
13
  ## Options
14
14
 
15
15
  ```md definition-list
16
16
  `--messageId <messageId>`
17
- : The id of the Yammer message
17
+ : The id of the Viva Engage message.
18
18
 
19
19
  `--enable [enable]`
20
- : Set to `true` to like a message. Set to `false` to unlike it. Default `true`
20
+ : Set to `true` to like a message. Set to `false` to unlike it. Default `true`.
21
21
 
22
22
  `-f, --force`
23
- : Don't prompt for confirmation before unliking a message
23
+ : Don't prompt for confirmation.
24
24
  ```
25
25
 
26
26
  <Global />
@@ -29,7 +29,7 @@ m365 yammer message like set [options]
29
29
 
30
30
  :::warning
31
31
 
32
- In order to use this command, you need to grant the Azure AD application used by the CLI for Microsoft 365 the permission to the Yammer API. To do this, execute the `cli consent --service yammer` command.
32
+ In order to use this command, you need to grant the Azure AD 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
33
 
34
34
  :::
35
35
 
@@ -38,19 +38,19 @@ In order to use this command, you need to grant the Azure AD application used by
38
38
  Likes the message with the ID `5611239081`
39
39
 
40
40
  ```sh
41
- m365 yammer message like set --messageId 5611239081
41
+ m365 viva engage message like set --messageId 5611239081
42
42
  ```
43
43
 
44
44
  Unlike the message with the ID `5611239081`
45
45
 
46
46
  ```sh
47
- m365 yammer message like set --messageId 5611239081 --enable false
47
+ m365 viva engage message like set --messageId 5611239081 --enable false
48
48
  ```
49
49
 
50
50
  Unlike the message with the ID `5611239081` without asking for confirmation
51
51
 
52
52
  ```sh
53
- m365 yammer message like set --messageId 5611239081 --enable false --force
53
+ m365 viva engage message like set --messageId 5611239081 --enable false --force
54
54
  ```
55
55
 
56
56
  ## Response
@@ -2,14 +2,14 @@ import Global from '/docs/cmd/_global.mdx';
2
2
  import Tabs from '@theme/Tabs';
3
3
  import TabItem from '@theme/TabItem';
4
4
 
5
- # yammer message list
5
+ # viva engage message list
6
6
 
7
- Returns all accessible messages from the user's Yammer network
7
+ Returns all accessible messages from the user's Viva Engage network
8
8
 
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- m365 yammer message list [options]
12
+ m365 viva engage message list [options]
13
13
  ```
14
14
 
15
15
  ## Options
@@ -40,14 +40,14 @@ m365 yammer message list [options]
40
40
 
41
41
  :::warning
42
42
 
43
- In order to use this command, you need to grant the Azure AD application used by the CLI for Microsoft 365 the permission to the Yammer API. To do this, execute the `cli consent --service yammer` command.
43
+ In order to use this command, you need to grant the Azure AD 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.
44
44
 
45
45
  :::
46
46
 
47
47
  Feed types
48
48
 
49
- - All: Corresponds to “All” conversations in the Yammer web interface
50
- - Top: The algorithmic feed for the user that corresponds to "Top" conversations. The Top conversations feed is the feed currently shown in the Yammer mobile apps
49
+ - All: Corresponds to “All” conversations in the Viva Engage web interface
50
+ - Top: The algorithmic feed for the user that corresponds to "Top" conversations. The Top conversations feed is the feed currently shown in the Viva Engage mobile apps
51
51
  - My: The user’s feed, based on the selection they have made between "Following" and "Top" conversations
52
52
  - Following: The "Following" feed which is conversations involving people and topics that the user is following
53
53
  - Sent: All messages sent by the user
@@ -56,46 +56,46 @@ Feed types
56
56
 
57
57
  ## Examples
58
58
 
59
- Returns all Yammer network messages
59
+ Returns all Viva Engage network messages
60
60
 
61
61
  ```sh
62
- m365 yammer message list
62
+ m365 viva engage message list
63
63
  ```
64
64
 
65
- Returns all Yammer network messages older than the message ID 5611239081
65
+ Returns all Viva Engage network messages older than the message ID 5611239081
66
66
 
67
67
  ```sh
68
- m365 yammer message list --olderThanId 5611239081
68
+ m365 viva engage message list --olderThanId 5611239081
69
69
  ```
70
70
 
71
- Returns all Yammer network thread starter (first message) for each thread
71
+ Returns all Viva Engage network thread starter (first message) for each thread
72
72
 
73
73
  ```sh
74
- m365 yammer message list --threaded
74
+ m365 viva engage message list --threaded
75
75
  ```
76
76
 
77
- Returns the first 10 Yammer network messages
77
+ Returns the first 10 Viva Engage network messages
78
78
 
79
79
  ```sh
80
- m365 yammer message list --limit 10
80
+ m365 viva engage message list --limit 10
81
81
  ```
82
82
 
83
- Returns the first 10 Yammer network messages from the Yammer group 312891231
83
+ Returns the first 10 Viva Engage network messages from the Viva Engage group 312891231
84
84
 
85
85
  ```sh
86
- m365 yammer message list --groupId 312891231 --limit 10
86
+ m365 viva engage message list --groupId 312891231 --limit 10
87
87
  ```
88
88
 
89
- Returns the first 10 Yammer network messages from thread 5611239081
89
+ Returns the first 10 Viva Engage network messages from thread 5611239081
90
90
 
91
91
  ```sh
92
- m365 yammer message list --threadId 5611239081 --limit 10
92
+ m365 viva engage message list --threadId 5611239081 --limit 10
93
93
  ```
94
94
 
95
- Returns the first 20 Yammer message from the sent feed of the user
95
+ Returns the first 20 Viva Engage message from the sent feed of the user
96
96
 
97
97
  ```sh
98
- m365 yammer message list --feedType Sent --limit 20
98
+ m365 viva engage message list --feedType Sent --limit 20
99
99
  ```
100
100
 
101
101
  ## Response
@@ -165,7 +165,7 @@ m365 yammer message list --feedType Sent --limit 20
165
165
  <TabItem value="Markdown">
166
166
 
167
167
  ```md
168
- # yammer message list --limit "1" --feedType "All"
168
+ # viva engage message list --limit "1" --feedType "All"
169
169
 
170
170
  Date: 2023-05-16
171
171
 
@@ -1,23 +1,23 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
2
 
3
- # yammer message remove
3
+ # viva engage message remove
4
4
 
5
- Removes a Yammer message
5
+ Removes a Viva Engage message
6
6
 
7
7
  ## Usage
8
8
 
9
9
  ```sh
10
- m365 yammer message remove [options]
10
+ m365 viva engage message remove [options]
11
11
  ```
12
12
 
13
13
  ## Options
14
14
 
15
15
  ```md definition-list
16
16
  `--id <id>`
17
- : The id of the Yammer message
17
+ : The id of the Viva Engage message.
18
18
 
19
19
  `-f, --force`
20
- : Don't prompt for confirming removing the Yammer message
20
+ : Don't prompt for confirmation.
21
21
  ```
22
22
 
23
23
  <Global />
@@ -26,7 +26,7 @@ m365 yammer message remove [options]
26
26
 
27
27
  :::warning
28
28
 
29
- In order to use this command, you need to grant the Azure AD application used by the CLI for Microsoft 365 the permission to the Yammer API. To do this, execute the `cli consent --service yammer` command.
29
+ In order to use this command, you need to grant the Azure AD 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.
30
30
 
31
31
  :::
32
32
 
@@ -38,16 +38,16 @@ To remove a message, you must either:
38
38
 
39
39
  ## Examples
40
40
 
41
- Removes the Yammer message with the id _1239871123_
41
+ Removes the Viva Engage message with the id _1239871123_
42
42
 
43
43
  ```sh
44
- m365 yammer message remove --id 1239871123
44
+ m365 viva engage message remove --id 1239871123
45
45
  ```
46
46
 
47
- Removes the Yammer message with the id _1239871123_ without prompting for confirmation.
47
+ Removes the Viva Engage message with the id _1239871123_ without prompting for confirmation.
48
48
 
49
49
  ```sh
50
- m365 yammer message remove --id 1239871123 --force
50
+ m365 viva engage message remove --id 1239871123 --force
51
51
  ```
52
52
 
53
53
  ## Response
@@ -2,14 +2,14 @@ import Global from '/docs/cmd/_global.mdx';
2
2
  import Tabs from '@theme/Tabs';
3
3
  import TabItem from '@theme/TabItem';
4
4
 
5
- # yammer network list
5
+ # viva engage network list
6
6
 
7
7
  Returns a list of networks to which the current user has access
8
8
 
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- m365 yammer network list [options]
12
+ m365 viva engage network list [options]
13
13
  ```
14
14
 
15
15
  ## Options
@@ -25,7 +25,7 @@ m365 yammer network list [options]
25
25
 
26
26
  :::warning
27
27
 
28
- In order to use this command, you need to grant the Azure AD application used by the CLI for Microsoft 365 the permission to the Yammer API. To do this, execute the `cli consent --service yammer` command.
28
+ In order to use this command, you need to grant the Azure AD 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.
29
29
 
30
30
  :::
31
31
 
@@ -34,13 +34,13 @@ In order to use this command, you need to grant the Azure AD application used by
34
34
  Returns the current user's networks
35
35
 
36
36
  ```sh
37
- m365 yammer network list
37
+ m365 viva engage network list
38
38
  ```
39
39
 
40
40
  Returns the current user's networks including the networks in which the user is suspended
41
41
 
42
42
  ```sh
43
- m365 yammer network list --includeSuspended
43
+ m365 viva engage network list --includeSuspended
44
44
  ```
45
45
 
46
46
  ## Response
@@ -146,7 +146,7 @@ m365 yammer network list --includeSuspended
146
146
  <TabItem value="Markdown">
147
147
 
148
148
  ```md
149
- # yammer network list
149
+ # viva engage network list
150
150
 
151
151
  Date: 2023-05-16
152
152
 
@@ -2,14 +2,14 @@ import Global from '/docs/cmd/_global.mdx';
2
2
  import Tabs from '@theme/Tabs';
3
3
  import TabItem from '@theme/TabItem';
4
4
 
5
- # yammer report activitycounts
5
+ # viva engage report activitycounts
6
6
 
7
- Gets the trends on the amount of Yammer activity in your organization by how many messages were posted, read, and liked
7
+ Gets the trends on the amount of Viva Engage activity in your organization by how many messages were posted, read, and liked
8
8
 
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- m365 yammer report activitycounts [options]
12
+ m365 viva engage report activitycounts [options]
13
13
  ```
14
14
 
15
15
  ## Options
@@ -23,22 +23,22 @@ m365 yammer report activitycounts [options]
23
23
 
24
24
  ## Examples
25
25
 
26
- Gets the trends on the amount of Yammer activity in your organization by how many messages were posted, read, and liked for the last week
26
+ Gets the trends on the amount of Viva Engage activity in your organization by how many messages were posted, read, and liked for the last week
27
27
 
28
28
  ```sh
29
- m365 yammer report activitycounts --period D7
29
+ m365 viva engage report activitycounts --period D7
30
30
  ```
31
31
 
32
- Gets the trends on the amount of Yammer activity in your organization by how many messages were posted, read, and liked for the last week and exports the report data in the specified path in text format
32
+ Gets the trends on the amount of Viva Engage activity in your organization by how many messages were posted, read, and liked for the last week and exports the report data in the specified path in text format
33
33
 
34
34
  ```sh
35
- m365 yammer report activitycounts --period D7 --output text > "activitycounts.txt"
35
+ m365 viva engage report activitycounts --period D7 --output text > "activitycounts.txt"
36
36
  ```
37
37
 
38
- Gets the trends on the amount of Yammer activity in your organization by how many messages were posted, read, and liked for the last week and exports the report data in the specified path in json format
38
+ Gets the trends on the amount of Viva Engage activity in your organization by how many messages were posted, read, and liked for the last week and exports the report data in the specified path in json format
39
39
 
40
40
  ```sh
41
- m365 yammer report activitycounts --period D7 --output json > "activitycounts.json"
41
+ m365 viva engage report activitycounts --period D7 --output json > "activitycounts.json"
42
42
  ```
43
43
 
44
44
  ## Response
@@ -2,14 +2,14 @@ import Global from '/docs/cmd/_global.mdx';
2
2
  import Tabs from '@theme/Tabs';
3
3
  import TabItem from '@theme/TabItem';
4
4
 
5
- # yammer report activityusercounts
5
+ # viva engage report activityusercounts
6
6
 
7
- Gets the trends on the number of unique users who posted, read, and liked Yammer messages
7
+ Gets the trends on the number of unique users who posted, read, and liked Viva Engage messages
8
8
 
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- m365 yammer report activityusercounts [options]
12
+ m365 viva engage report activityusercounts [options]
13
13
  ```
14
14
 
15
15
  ## Options
@@ -23,22 +23,22 @@ m365 yammer report activityusercounts [options]
23
23
 
24
24
  ## Examples
25
25
 
26
- Gets the trends on the number of unique users who posted, read, and liked Yammer messages for the last week
26
+ Gets the trends on the number of unique users who posted, read, and liked Viva Engage messages for the last week
27
27
 
28
28
  ```sh
29
- m365 yammer report activityusercounts --period D7
29
+ m365 viva engage report activityusercounts --period D7
30
30
  ```
31
31
 
32
- Gets the trends on the number of unique users who posted, read, and liked Yammer messages for the last week and exports the report data in the specified path in text format
32
+ Gets the trends on the number of unique users who posted, read, and liked Viva Engage messages for the last week and exports the report data in the specified path in text format
33
33
 
34
34
  ```sh
35
- m365 yammer report activityusercounts --period D7 --output text > "activityusercounts.txt"
35
+ m365 viva engage report activityusercounts --period D7 --output text > "activityusercounts.txt"
36
36
  ```
37
37
 
38
- Gets the trends on the number of unique users who posted, read, and liked Yammer messages for the last week and exports the report data in the specified path in json format
38
+ Gets the trends on the number of unique users who posted, read, and liked Viva Engage messages for the last week and exports the report data in the specified path in json format
39
39
 
40
40
  ```sh
41
- m365 yammer report activityusercounts --period D7 --output json > "activityusercounts.json"
41
+ m365 viva engage report activityusercounts --period D7 --output json > "activityusercounts.json"
42
42
  ```
43
43
 
44
44
  ## Response