@pnp/cli-microsoft365 7.5.0-beta.23612bc → 7.5.0-beta.940b241

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 (121) hide show
  1. package/.eslintrc.cjs +6 -2
  2. package/.mocharc.json +3 -5
  3. package/README.md +2 -2
  4. package/allCommands.json +1 -1
  5. package/allCommandsFull.json +1 -1
  6. package/dist/Command.js +1 -1
  7. package/dist/m365/base/AppCommand.js +2 -2
  8. package/dist/m365/base/{YammerCommand.js → VivaEngageCommand.js} +2 -2
  9. package/dist/m365/cli/commands/cli-consent.js +5 -3
  10. package/dist/m365/entra/aadCommands.js +3 -0
  11. package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-remove.js +153 -0
  12. package/dist/m365/entra/commands/app/app-add.js +1 -1
  13. package/dist/m365/entra/commands/app/app-get.js +1 -1
  14. package/dist/m365/entra/commands/app/app-list.js +1 -1
  15. package/dist/m365/entra/commands/app/app-permission-add.js +1 -1
  16. package/dist/m365/entra/commands/app/app-permission-list.js +182 -0
  17. package/dist/m365/entra/commands/app/app-remove.js +1 -1
  18. package/dist/m365/entra/commands/app/app-role-add.js +1 -1
  19. package/dist/m365/entra/commands/app/app-role-list.js +1 -1
  20. package/dist/m365/entra/commands/app/app-role-remove.js +1 -1
  21. package/dist/m365/entra/commands/app/app-set.js +1 -1
  22. package/dist/m365/entra/commands/{sp/sp-add.js → enterpriseapp/enterpriseapp-add.js} +18 -18
  23. package/dist/m365/entra/commands/{sp/sp-get.js → enterpriseapp/enterpriseapp-get.js} +19 -19
  24. package/dist/m365/entra/commands/{sp/sp-list.js → enterpriseapp/enterpriseapp-list.js} +13 -13
  25. package/dist/m365/entra/commands/group/group-add.js +224 -0
  26. package/dist/m365/entra/commands/m365group/m365group-report-activitygroupcounts.js +1 -1
  27. package/dist/m365/entra/commands/user/user-get.js +38 -38
  28. package/dist/m365/entra/commands/user/user-registrationdetails-list.js +224 -0
  29. package/dist/m365/entra/commands.js +16 -0
  30. package/dist/m365/file/commands/file-copy.js +151 -0
  31. package/dist/m365/file/commands.js +1 -0
  32. package/dist/m365/spfx/commands/project/DeployWorkflow.js +4 -3
  33. package/dist/m365/{yammer/commands/group/group-list.js → viva/commands/engage/engage-group-list.js} +19 -14
  34. package/dist/m365/{yammer/commands/group/group-user-add.js → viva/commands/engage/engage-group-user-add.js} +19 -14
  35. package/dist/m365/{yammer/commands/group/group-user-remove.js → viva/commands/engage/engage-group-user-remove.js} +19 -14
  36. package/dist/m365/{yammer/commands/message/message-add.js → viva/commands/engage/engage-message-add.js} +19 -14
  37. package/dist/m365/{yammer/commands/message/message-get.js → viva/commands/engage/engage-message-get.js} +17 -12
  38. package/dist/m365/{yammer/commands/message/message-like-set.js → viva/commands/engage/engage-message-like-set.js} +21 -16
  39. package/dist/m365/{yammer/commands/message/message-list.js → viva/commands/engage/engage-message-list.js} +21 -16
  40. package/dist/m365/{yammer/commands/message/message-remove.js → viva/commands/engage/engage-message-remove.js} +20 -15
  41. package/dist/m365/{yammer/commands/network/network-list.js → viva/commands/engage/engage-network-list.js} +16 -11
  42. package/dist/m365/viva/commands/engage/engage-report-activitycounts.js +23 -0
  43. package/dist/m365/viva/commands/engage/engage-report-activityusercounts.js +23 -0
  44. package/dist/m365/viva/commands/engage/engage-report-activityuserdetail.js +23 -0
  45. package/dist/m365/viva/commands/engage/engage-report-deviceusagedistributionusercounts.js +23 -0
  46. package/dist/m365/viva/commands/engage/engage-report-deviceusageusercounts.js +23 -0
  47. package/dist/m365/viva/commands/engage/engage-report-deviceusageuserdetail.js +23 -0
  48. package/dist/m365/viva/commands/engage/engage-report-groupsactivitycounts.js +23 -0
  49. package/dist/m365/viva/commands/engage/engage-report-groupsactivitydetail.js +23 -0
  50. package/dist/m365/viva/commands/engage/engage-report-groupsactivitygroupcounts.js +23 -0
  51. package/dist/m365/{yammer/commands/yammer-search.js → viva/commands/engage/engage-search.js} +23 -18
  52. package/dist/m365/{yammer/commands/user/user-get.js → viva/commands/engage/engage-user-get.js} +18 -13
  53. package/dist/m365/{yammer/commands/user/user-list.js → viva/commands/engage/engage-user-list.js} +18 -13
  54. package/dist/m365/{yammer/commands.js → viva/commands/engage/yammerCommands.js} +1 -1
  55. package/dist/m365/viva/commands.js +22 -1
  56. package/dist/utils/spo.js +22 -0
  57. package/dist/utils/urlUtil.js +31 -0
  58. package/dist/utils/validation.js +4 -0
  59. package/docs/docs/cmd/cli/cli-consent.mdx +9 -9
  60. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-add.mdx +5 -3
  61. package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-remove.mdx +107 -0
  62. package/docs/docs/cmd/entra/app/app-add.mdx +2 -1
  63. package/docs/docs/cmd/entra/app/app-get.mdx +1 -0
  64. package/docs/docs/cmd/entra/app/app-list.mdx +1 -0
  65. package/docs/docs/cmd/entra/app/app-permission-add.mdx +1 -0
  66. package/docs/docs/cmd/entra/app/app-permission-list.mdx +105 -0
  67. package/docs/docs/cmd/entra/app/app-remove.mdx +1 -0
  68. package/docs/docs/cmd/entra/app/app-role-add.mdx +1 -0
  69. package/docs/docs/cmd/entra/app/app-role-list.mdx +1 -0
  70. package/docs/docs/cmd/entra/app/app-role-remove.mdx +1 -0
  71. package/docs/docs/cmd/entra/app/app-set.mdx +1 -0
  72. package/docs/docs/cmd/entra/{sp/sp-add.mdx → enterpriseapp/enterpriseapp-add.mdx} +16 -15
  73. package/docs/docs/cmd/entra/{sp/sp-get.mdx → enterpriseapp/enterpriseapp-get.mdx} +15 -14
  74. package/docs/docs/cmd/entra/{sp/sp-list.mdx → enterpriseapp/enterpriseapp-list.mdx} +22 -21
  75. package/docs/docs/cmd/entra/group/group-add.mdx +231 -0
  76. package/docs/docs/cmd/entra/m365group/m365group-report-activitygroupcounts.mdx +1 -1
  77. package/docs/docs/cmd/entra/oauth2grant/oauth2grant-add.mdx +3 -3
  78. package/docs/docs/cmd/entra/oauth2grant/oauth2grant-list.mdx +1 -1
  79. package/docs/docs/cmd/entra/user/user-registrationdetails-list.mdx +246 -0
  80. package/docs/docs/cmd/external/item/item-add.mdx +1 -1
  81. package/docs/docs/cmd/file/convert/convert-pdf.mdx +4 -0
  82. package/docs/docs/cmd/file/file-add.mdx +4 -0
  83. package/docs/docs/cmd/file/file-copy.mdx +68 -0
  84. package/docs/docs/cmd/file/file-list.mdx +100 -0
  85. package/docs/docs/cmd/setup.mdx +4 -0
  86. package/docs/docs/cmd/spo/list/list-webhook-set.mdx +1 -1
  87. package/docs/docs/cmd/spo/theme/theme-set.mdx +14 -2
  88. package/docs/docs/cmd/{yammer/group/group-list.mdx → viva/engage/engage-group-list.mdx} +13 -13
  89. package/docs/docs/cmd/{yammer/group/group-user-add.mdx → viva/engage/engage-group-user-add.mdx} +7 -7
  90. package/docs/docs/cmd/{yammer/group/group-user-remove.mdx → viva/engage/engage-group-user-remove.mdx} +10 -10
  91. package/docs/docs/cmd/{yammer/message/message-add.mdx → viva/engage/engage-message-add.mdx} +12 -13
  92. package/docs/docs/cmd/{yammer/message/message-get.mdx → viva/engage/engage-message-get.mdx} +10 -10
  93. package/docs/docs/cmd/{yammer/message/message-like-set.mdx → viva/engage/engage-message-like-set.mdx} +10 -10
  94. package/docs/docs/cmd/{yammer/message/message-list.mdx → viva/engage/engage-message-list.mdx} +21 -21
  95. package/docs/docs/cmd/{yammer/message/message-remove.mdx → viva/engage/engage-message-remove.mdx} +10 -10
  96. package/docs/docs/cmd/{yammer/network/network-list.mdx → viva/engage/engage-network-list.mdx} +6 -6
  97. package/docs/docs/cmd/{yammer/report/report-activitycounts.mdx → viva/engage/engage-report-activitycounts.mdx} +9 -9
  98. package/docs/docs/cmd/{yammer/report/report-activityusercounts.mdx → viva/engage/engage-report-activityusercounts.mdx} +9 -9
  99. package/docs/docs/cmd/{yammer/report/report-activityuserdetail.mdx → viva/engage/engage-report-activityuserdetail.mdx} +11 -12
  100. package/docs/docs/cmd/{yammer/report/report-deviceusagedistributionusercounts.mdx → viva/engage/engage-report-deviceusagedistributionusercounts.mdx} +5 -5
  101. package/docs/docs/cmd/{yammer/report/report-deviceusageusercounts.mdx → viva/engage/engage-report-deviceusageusercounts.mdx} +5 -5
  102. package/docs/docs/cmd/{yammer/report/report-deviceusageuserdetail.mdx → viva/engage/engage-report-deviceusageuserdetail.mdx} +11 -11
  103. package/docs/docs/cmd/{yammer/report/report-groupsactivitycounts.mdx → viva/engage/engage-report-groupsactivitycounts.mdx} +9 -9
  104. package/docs/docs/cmd/{yammer/report/report-groupsactivitydetail.mdx → viva/engage/engage-report-groupsactivitydetail.mdx} +11 -11
  105. package/docs/docs/cmd/{yammer/report/report-groupsactivitygroupcounts.mdx → viva/engage/engage-report-groupsactivitygroupcounts.mdx} +5 -5
  106. package/docs/docs/cmd/{yammer/yammer-search.mdx → viva/engage/engage-search.mdx} +10 -10
  107. package/docs/docs/cmd/{yammer/user/user-get.mdx → viva/engage/engage-user-get.mdx} +8 -8
  108. package/docs/docs/cmd/{yammer/user/user-list.mdx → viva/engage/engage-user-list.mdx} +11 -11
  109. package/npm-shrinkwrap.json +60 -0
  110. package/package.json +3 -2
  111. package/dist/m365/base/AzmgmtCommand.js +0 -18
  112. package/dist/m365/base/AzmgmtItemsListCommand.js +0 -41
  113. package/dist/m365/yammer/commands/report/report-activitycounts.js +0 -15
  114. package/dist/m365/yammer/commands/report/report-activityusercounts.js +0 -15
  115. package/dist/m365/yammer/commands/report/report-activityuserdetail.js +0 -15
  116. package/dist/m365/yammer/commands/report/report-deviceusagedistributionusercounts.js +0 -15
  117. package/dist/m365/yammer/commands/report/report-deviceusageusercounts.js +0 -15
  118. package/dist/m365/yammer/commands/report/report-deviceusageuserdetail.js +0 -15
  119. package/dist/m365/yammer/commands/report/report-groupsactivitycounts.js +0 -15
  120. package/dist/m365/yammer/commands/report/report-groupsactivitydetail.js +0 -15
  121. package/dist/m365/yammer/commands/report/report-groupsactivitygroupcounts.js +0 -15
@@ -1,4 +1,6 @@
1
1
  import Global from '/docs/cmd/_global.mdx';
2
+ import Tabs from '@theme/Tabs';
3
+ import TabItem from '@theme/TabItem';
2
4
 
3
5
  # file list
4
6
 
@@ -48,3 +50,101 @@ Return all files from the _Important_ folder in the _Shared Documents_ document
48
50
  ```sh
49
51
  m365 file list --webUrl https://contoso.sharepoint.com/sites/project-x --folderUrl 'Shared Documents/Important'
50
52
  ```
53
+
54
+ <Tabs>
55
+ <TabItem value="JSON">
56
+
57
+ ```json
58
+ [
59
+ {
60
+ "@microsoft.graph.downloadUrl": "https://contoso.sharepoint.com/_layouts/15/download.aspx?UniqueId=9bdc8c49-644a-4875-aaa3-82914fb23226&Translate=false&tempauth=&ApiVersion=2.0",
61
+ "createdDateTime": "2024-02-14T22:41:41Z",
62
+ "eTag": "\"{9BDC8C49-644A-4875-AAA3-82914FB23226},1\"",
63
+ "id": "013TMHP6SJRTOJWSTEOVEKVI4CSFH3EMRG",
64
+ "lastModifiedDateTime": "2024-02-14T22:41:41Z",
65
+ "name": "Document.docx",
66
+ "webUrl": "https://contoso.sharepoint.com/_layouts/15/Doc.aspx?sourcedoc=%7B9BDC8C49-644A-4875-AAA3-82914FB23226%7D&file=Document.Docx&action=default&mobileredirect=true",
67
+ "cTag": "\"c:{9BDC8C49-644A-4875-AAA3-82914FB23226},2\"",
68
+ "size": 41554,
69
+ "createdBy": {
70
+ "user": {
71
+ "email": "john@contoso.com",
72
+ "id": "fe36f75e-c103-410b-a18a-2bf6df06ac3a",
73
+ "displayName": "John Doe"
74
+ }
75
+ },
76
+ "lastModifiedBy": {
77
+ "user": {
78
+ "email": "john@contoso.com",
79
+ "id": "fe36f75e-c103-410b-a18a-2bf6df06ac3a",
80
+ "displayName": "John Doe"
81
+ }
82
+ },
83
+ "parentReference": {
84
+ "driveType": "documentLibrary",
85
+ "driveId": "b!T4-bE44OMEa7ClAUQtubZID9tc40pGJKpguycvELod_YogR_WYHeSaTWzIZ6qMyU",
86
+ "id": "013TMHP6V6Y2GOVW7725BZO354PWSELRRZ",
87
+ "name": "TEST",
88
+ "path": "/drives/b!T4-bE44OMEa7ClAUQtubZID9tc40pGJKpguycvELod_YogR_WYHeSaTWzIZ6qMyU/root:",
89
+ "siteId": "0f9b8f4f-0e8e-4630-bb0a-501442db9b64"
90
+ },
91
+ "file": {
92
+ "mimeType": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
93
+ "hashes": {
94
+ "quickXorHash": "MX9jeQT/AfhDDMpYygXlCPYI/kc="
95
+ }
96
+ },
97
+ "fileSystemInfo": {
98
+ "createdDateTime": "2024-02-14T22:41:41Z",
99
+ "lastModifiedDateTime": "2024-02-14T22:41:41Z"
100
+ },
101
+ "shared": {
102
+ "scope": "users"
103
+ },
104
+ "lastModifiedByUser": "John Doe"
105
+ }
106
+ ]
107
+ ```
108
+
109
+ </TabItem>
110
+ <TabItem value="Text">
111
+
112
+ ```text
113
+ lastModifiedByUser: John Doe
114
+ name : Document.docx
115
+ ```
116
+
117
+ </TabItem>
118
+ <TabItem value="CSV">
119
+
120
+ ```csv
121
+ @microsoft.graph.downloadUrl,createdDateTime,eTag,id,lastModifiedDateTime,name,webUrl,cTag,size,lastModifiedByUser
122
+ https://contoso.sharepoint.com/_layouts/15/download.aspx?UniqueId=9bdc8c49-644a-4875-aaa3-82914fb23226&Translate=false&tempauth=&ApiVersion=2.0,2024-02-14T22:41:41Z,"""{9BDC8C49-644A-4875-AAA3-82914FB23226},1""",013TMHP6SJRTOJWSTEOVEKVI4CSFH3EMRG,2024-02-14T22:41:41Z,Thailand.xlsx,https://contoso.sharepoint.com/_layouts/15/Doc.aspx?sourcedoc=%7B9BDC8C49-644A-4875-AAA3-82914FB23226%7D&file=Document.docx&action=default&mobileredirect=true,"""c:{9BDC8C49-644A-4875-AAA3-82914FB23226},2""",41554,John Doe
123
+ ```
124
+
125
+ </TabItem>
126
+ <TabItem value="Markdown">
127
+
128
+ ```md
129
+ # file list --webUrl "https://contoso.sharepoint.com" --folderUrl "Test"
130
+
131
+ Date: 14/02/2024
132
+
133
+ ## Document.docx (013TMHP6SJRTOJWSTEOVEKVI4CSFH3EMRG)
134
+
135
+ Property | Value
136
+ ---------|-------
137
+ @microsoft.graph.downloadUrl | https://contoso.sharepoint.com/\_layouts/15/download.aspx?UniqueId=9bdc8c49-644a-4875-aaa3-82914fb23226&Translate=false&tempauth=&ApiVersion=2.0
138
+ createdDateTime | 2024-02-14T22:41:41Z
139
+ eTag | "{9BDC8C49-644A-4875-AAA3-82914FB23226},1"
140
+ id | 013TMHP6SJRTOJWSTEOVEKVI4CSFH3EMRG
141
+ lastModifiedDateTime | 2024-02-14T22:41:41Z
142
+ name | Document.docx
143
+ webUrl | https://contoso.sharepoint.com/\_layouts/15/Doc.aspx?sourcedoc=%7B9BDC8C49-644A-4875-AAA3-82914FB23226%7D&file=Thailand.xlsx&action=default&mobileredirect=true
144
+ cTag | "c:{9BDC8C49-644A-4875-AAA3-82914FB23226},2"
145
+ size | 41554
146
+ lastModifiedByUser | John Doe
147
+ ```
148
+
149
+ </TabItem>
150
+ </Tabs>
@@ -90,3 +90,7 @@ Configure CLI for Microsoft for use in scripts without prompting for additional
90
90
  ```sh
91
91
  m365 setup --scripting
92
92
  ```
93
+
94
+ ## Response
95
+
96
+ The command won't return a response on success.
@@ -64,6 +64,6 @@ Update the notification url and clientState of a webhook with a specific ID atta
64
64
  m365 spo list webhook set --webUrl https://contoso.sharepoint.com/sites/ninja --listUrl '/sites/ninja/Documents' --id cc27a922-8224-4296-90a5-ebbc54da2e81 --notificationUrl https://contoso-functions.azurewebsites.net/webhook --expirationDateTime 2019-03-02 --clientState 'My client state'
65
65
  ```
66
66
 
67
- ## Respone
67
+ ## Response
68
68
 
69
69
  The command won't return a response on success.
@@ -76,13 +76,25 @@ To use this command you have to have permissions to access the tenant admin site
76
76
  Add or update a theme from a theme JSON file
77
77
 
78
78
  ```sh
79
- m365 spo theme set --name Contoso-Blue --theme @/Users/rjesh/themes/contoso-blue.json
79
+ m365 spo theme set --name Contoso-Blue --theme @/Users/user/themes/contoso-blue.json
80
80
  ```
81
81
 
82
82
  Add or update an inverted theme from a theme JSON file
83
83
 
84
84
  ```sh
85
- m365 spo theme set --name Contoso-Blue --theme @/Users/rjesh/themes/contoso-blue.json --isInverted
85
+ m365 spo theme set --name Contoso-Blue --theme @/Users/user/themes/contoso-blue.json --isInverted
86
+ ```
87
+
88
+ Add or update a theme from inline JSON
89
+
90
+ ```sh
91
+ m365 spo theme set --name Contoso-Red --theme '{"themePrimary":"#d81e05","themeLighterAlt":"#fdf5f4","themeLighter":"#f9d6d2","themeLight":"#f4b4ac","themeTertiary":"#e87060","themeSecondary":"#dd351e","themeDarkAlt":"#c31a04","themeDark":"#a51603","themeDarker":"#791002","neutralLighterAlt":"#eeeeee","neutralLighter":"#f5f5f5","neutralLight":"#e1e1e1","neutralQuaternaryAlt":"#d1d1d1","neutralQuaternary":"#c8c8c8","neutralTertiaryAlt":"#c0c0c0","neutralTertiary":"#c2c2c2","neutralSecondary":"#858585","neutralPrimaryAlt":"#4b4b4b","neutralPrimary":"#333333","neutralDark":"#272727","black":"#1d1d1d","white":"#f5f5f5"}'
92
+ ```
93
+
94
+ Add or update an inverted theme from inline JSON
95
+
96
+ ```sh
97
+ m365 spo theme set --name Contoso-Red --theme '{"themePrimary":"#d81e05","themeLighterAlt":"#fdf5f4","themeLighter":"#f9d6d2","themeLight":"#f4b4ac","themeTertiary":"#e87060","themeSecondary":"#dd351e","themeDarkAlt":"#c31a04","themeDark":"#a51603","themeDarker":"#791002","neutralLighterAlt":"#eeeeee","neutralLighter":"#f5f5f5","neutralLight":"#e1e1e1","neutralQuaternaryAlt":"#d1d1d1","neutralQuaternary":"#c8c8c8","neutralTertiaryAlt":"#c0c0c0","neutralTertiary":"#c2c2c2","neutralSecondary":"#858585","neutralPrimaryAlt":"#4b4b4b","neutralPrimary":"#333333","neutralDark":"#272727","black":"#1d1d1d","white":"#f5f5f5"}' --isInverted
86
98
  ```
87
99
 
88
100
  ## 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 group list
5
+ # viva engage group list
6
6
 
7
- Returns the list of groups in a Yammer network or the groups for a specific user
7
+ Returns the list of groups in a Viva Engage network or the groups for a specific user
8
8
 
9
9
  ## Usage
10
10
 
11
11
  ```sh
12
- m365 yammer group list [options]
12
+ m365 viva engage group list [options]
13
13
  ```
14
14
 
15
15
  ## Options
@@ -28,34 +28,34 @@ m365 yammer group list [options]
28
28
 
29
29
  :::warning
30
30
 
31
- 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.
31
+ 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.
32
32
 
33
33
  :::
34
34
 
35
35
  ## Examples
36
36
 
37
- Returns all Yammer network groups
37
+ Returns all Viva Engage network groups
38
38
 
39
39
  ```sh
40
- m365 yammer group list
40
+ m365 viva engage group list
41
41
  ```
42
42
 
43
- Returns all Yammer network groups for the user with the ID `5611239081`
43
+ Returns all Viva Engage network groups for the user with the ID `5611239081`
44
44
 
45
45
  ```sh
46
- m365 yammer group list --userId 5611239081
46
+ m365 viva engage group list --userId 5611239081
47
47
  ```
48
48
 
49
- Returns the first 10 Yammer network groups
49
+ Returns the first 10 Viva Engage network groups
50
50
 
51
51
  ```sh
52
- m365 yammer group list --limit 10
52
+ m365 viva engage group list --limit 10
53
53
  ```
54
54
 
55
- Returns the first 10 Yammer network groups for the user with the ID `5611239081`
55
+ Returns the first 10 Viva Engage network groups for the user with the ID `5611239081`
56
56
 
57
57
  ```sh
58
- m365 yammer group list --userId 5611239081 --limit 10
58
+ m365 viva engage group list --userId 5611239081 --limit 10
59
59
  ```
60
60
 
61
61
  ## Response
@@ -130,7 +130,7 @@ m365 yammer group list --userId 5611239081 --limit 10
130
130
  <TabItem value="Markdown">
131
131
 
132
132
  ```md
133
- # yammer group list --limit "1"
133
+ # viva engage group list --limit "1"
134
134
 
135
135
  Date: 2023-05-16
136
136
 
@@ -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