@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.
- package/.devcontainer/Dockerfile +2 -2
- package/.eslintrc.cjs +6 -2
- package/.mocharc.json +3 -5
- package/Dockerfile +2 -5
- package/README.md +2 -2
- package/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/Auth.js +171 -69
- package/dist/AuthServer.js +3 -3
- package/dist/Command.js +8 -5
- package/dist/auth/FileTokenStorage.js +4 -1
- package/dist/m365/base/AppCommand.js +2 -2
- package/dist/m365/base/PowerAppsCommand.js +2 -2
- package/dist/m365/base/PowerAutomateCommand.js +2 -2
- package/dist/m365/base/PowerPlatformCommand.js +2 -2
- package/dist/m365/base/SpoCommand.js +3 -3
- package/dist/m365/base/{YammerCommand.js → VivaEngageCommand.js} +2 -2
- package/dist/m365/cli/commands/cli-consent.js +5 -3
- package/dist/m365/cli/commands/cli-doctor.js +5 -5
- package/dist/m365/commands/ConnectionDetails.js +2 -0
- package/dist/m365/commands/login.js +26 -48
- package/dist/m365/commands/logout.js +2 -2
- package/dist/m365/commands/request.js +2 -2
- package/dist/m365/commands/status.js +15 -23
- package/dist/m365/connection/commands/connection-list.js +47 -0
- package/dist/m365/connection/commands/connection-remove.js +67 -0
- package/dist/m365/connection/commands/connection-set.js +56 -0
- package/dist/m365/connection/commands/connection-use.js +51 -0
- package/dist/m365/connection/commands.js +8 -0
- package/dist/m365/entra/aadCommands.js +3 -0
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-member-remove.js +153 -0
- package/dist/m365/entra/commands/app/app-add.js +2 -2
- package/dist/m365/entra/commands/app/app-get.js +1 -1
- package/dist/m365/entra/commands/app/app-list.js +1 -1
- package/dist/m365/entra/commands/app/app-permission-add.js +1 -1
- package/dist/m365/entra/commands/app/app-permission-list.js +182 -0
- package/dist/m365/entra/commands/app/app-remove.js +1 -1
- package/dist/m365/entra/commands/app/app-role-add.js +1 -1
- package/dist/m365/entra/commands/app/app-role-list.js +1 -1
- package/dist/m365/entra/commands/app/app-role-remove.js +1 -1
- package/dist/m365/entra/commands/app/app-set.js +1 -1
- package/dist/m365/entra/commands/{sp/sp-add.js → enterpriseapp/enterpriseapp-add.js} +18 -18
- package/dist/m365/entra/commands/{sp/sp-get.js → enterpriseapp/enterpriseapp-get.js} +19 -19
- package/dist/m365/entra/commands/{sp/sp-list.js → enterpriseapp/enterpriseapp-list.js} +13 -13
- package/dist/m365/entra/commands/group/group-add.js +224 -0
- package/dist/m365/entra/commands/group/group-user-add.js +145 -0
- package/dist/m365/entra/commands/m365group/m365group-report-activitygroupcounts.js +1 -1
- package/dist/m365/entra/commands/user/user-get.js +38 -38
- package/dist/m365/entra/commands/user/user-license-list.js +1 -1
- package/dist/m365/entra/commands/user/user-registrationdetails-list.js +224 -0
- package/dist/m365/entra/commands/user/user-set.js +2 -2
- package/dist/m365/entra/commands.js +17 -0
- package/dist/m365/external/commands/connection/connection-doctor.js +2 -1
- package/dist/m365/file/commands/convert/convert-pdf.js +1 -1
- package/dist/m365/file/commands/file-copy.js +151 -0
- package/dist/m365/file/commands.js +1 -0
- package/dist/m365/outlook/commands/mail/mail-send.js +1 -1
- package/dist/m365/outlook/commands/message/message-get.js +1 -1
- package/dist/m365/pa/commands/app/app-permission-ensure.js +1 -1
- package/dist/m365/pa/commands/app/app-permission-remove.js +1 -1
- package/dist/m365/planner/commands/roster/roster-plan-list.js +1 -1
- package/dist/m365/purview/commands/auditlog/auditlog-list.js +1 -1
- package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-get.js +1 -1
- package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-list.js +1 -1
- package/dist/m365/purview/commands/sensitivitylabel/sensitivitylabel-policysettings-list.js +1 -1
- package/dist/m365/spfx/commands/project/DeployWorkflow.js +4 -3
- package/dist/m365/spo/commands/spo-get.js +1 -1
- package/dist/m365/spo/commands/spo-search.js +52 -22
- package/dist/m365/spo/commands/spo-set.js +1 -1
- package/dist/m365/teams/commands/chat/chat-get.js +1 -1
- package/dist/m365/teams/commands/chat/chat-list.js +1 -1
- package/dist/m365/teams/commands/chat/chat-message-send.js +1 -1
- package/dist/m365/teams/commands/meeting/meeting-add.js +1 -1
- package/dist/m365/teams/commands/meeting/meeting-attendancereport-list.js +1 -1
- package/dist/m365/teams/commands/meeting/meeting-get.js +1 -1
- package/dist/m365/teams/commands/meeting/meeting-list.js +2 -2
- package/dist/m365/teams/commands/meeting/meeting-transcript-list.js +1 -1
- package/dist/m365/tenant/commands/id/id-get.js +1 -1
- package/dist/m365/tenant/commands/info/info-get.js +1 -1
- package/dist/m365/util/commands/accesstoken/accesstoken-get.js +3 -3
- package/dist/m365/{yammer/commands/group/group-list.js → viva/commands/engage/engage-group-list.js} +19 -14
- package/dist/m365/{yammer/commands/group/group-user-add.js → viva/commands/engage/engage-group-user-add.js} +19 -14
- package/dist/m365/{yammer/commands/group/group-user-remove.js → viva/commands/engage/engage-group-user-remove.js} +19 -14
- package/dist/m365/{yammer/commands/message/message-add.js → viva/commands/engage/engage-message-add.js} +19 -14
- package/dist/m365/{yammer/commands/message/message-get.js → viva/commands/engage/engage-message-get.js} +17 -12
- package/dist/m365/{yammer/commands/message/message-like-set.js → viva/commands/engage/engage-message-like-set.js} +21 -16
- package/dist/m365/{yammer/commands/message/message-list.js → viva/commands/engage/engage-message-list.js} +21 -16
- package/dist/m365/{yammer/commands/message/message-remove.js → viva/commands/engage/engage-message-remove.js} +20 -15
- package/dist/m365/{yammer/commands/network/network-list.js → viva/commands/engage/engage-network-list.js} +16 -11
- package/dist/m365/viva/commands/engage/engage-report-activitycounts.js +23 -0
- package/dist/m365/viva/commands/engage/engage-report-activityusercounts.js +23 -0
- package/dist/m365/viva/commands/engage/engage-report-activityuserdetail.js +23 -0
- package/dist/m365/viva/commands/engage/engage-report-deviceusagedistributionusercounts.js +23 -0
- package/dist/m365/viva/commands/engage/engage-report-deviceusageusercounts.js +23 -0
- package/dist/m365/viva/commands/engage/engage-report-deviceusageuserdetail.js +23 -0
- package/dist/m365/viva/commands/engage/engage-report-groupsactivitycounts.js +23 -0
- package/dist/m365/viva/commands/engage/engage-report-groupsactivitydetail.js +23 -0
- package/dist/m365/viva/commands/engage/engage-report-groupsactivitygroupcounts.js +23 -0
- package/dist/m365/{yammer/commands/yammer-search.js → viva/commands/engage/engage-search.js} +23 -18
- package/dist/m365/{yammer/commands/user/user-get.js → viva/commands/engage/engage-user-get.js} +18 -13
- package/dist/m365/{yammer/commands/user/user-list.js → viva/commands/engage/engage-user-list.js} +18 -13
- package/dist/m365/{yammer/commands.js → viva/commands/engage/yammerCommands.js} +1 -1
- package/dist/m365/viva/commands.js +22 -1
- package/dist/request.js +1 -1
- package/dist/utils/entraUser.js +36 -0
- package/dist/utils/spo.js +36 -14
- package/dist/utils/urlUtil.js +31 -0
- package/dist/utils/validation.js +8 -0
- package/docs/docs/cmd/cli/cli-consent.mdx +9 -9
- package/docs/docs/cmd/connection/connection-list.mdx +100 -0
- package/docs/docs/cmd/connection/connection-remove.mdx +45 -0
- package/docs/docs/cmd/connection/connection-set.mdx +39 -0
- package/docs/docs/cmd/connection/connection-use.mdx +98 -0
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-add.mdx +5 -3
- package/docs/docs/cmd/entra/administrativeunit/administrativeunit-member-remove.mdx +107 -0
- package/docs/docs/cmd/entra/app/app-add.mdx +2 -1
- package/docs/docs/cmd/entra/app/app-get.mdx +1 -0
- package/docs/docs/cmd/entra/app/app-list.mdx +1 -0
- package/docs/docs/cmd/entra/app/app-permission-add.mdx +1 -0
- package/docs/docs/cmd/entra/app/app-permission-list.mdx +105 -0
- package/docs/docs/cmd/entra/app/app-remove.mdx +1 -0
- package/docs/docs/cmd/entra/app/app-role-add.mdx +1 -0
- package/docs/docs/cmd/entra/app/app-role-list.mdx +1 -0
- package/docs/docs/cmd/entra/app/app-role-remove.mdx +1 -0
- package/docs/docs/cmd/entra/app/app-set.mdx +1 -0
- package/docs/docs/cmd/entra/{sp/sp-add.mdx → enterpriseapp/enterpriseapp-add.mdx} +16 -15
- package/docs/docs/cmd/entra/{sp/sp-get.mdx → enterpriseapp/enterpriseapp-get.mdx} +15 -14
- package/docs/docs/cmd/entra/{sp/sp-list.mdx → enterpriseapp/enterpriseapp-list.mdx} +22 -21
- package/docs/docs/cmd/entra/group/group-add.mdx +231 -0
- package/docs/docs/cmd/entra/group/group-user-add.mdx +62 -0
- package/docs/docs/cmd/entra/m365group/m365group-report-activitygroupcounts.mdx +1 -1
- package/docs/docs/cmd/entra/oauth2grant/oauth2grant-add.mdx +3 -3
- package/docs/docs/cmd/entra/oauth2grant/oauth2grant-list.mdx +1 -1
- package/docs/docs/cmd/entra/user/user-registrationdetails-list.mdx +246 -0
- package/docs/docs/cmd/external/item/item-add.mdx +1 -1
- package/docs/docs/cmd/file/convert/convert-pdf.mdx +4 -0
- package/docs/docs/cmd/file/file-add.mdx +4 -0
- package/docs/docs/cmd/file/file-copy.mdx +68 -0
- package/docs/docs/cmd/file/file-list.mdx +100 -0
- package/docs/docs/cmd/login.mdx +15 -0
- package/docs/docs/cmd/setup.mdx +4 -0
- package/docs/docs/cmd/spo/list/list-webhook-set.mdx +1 -1
- package/docs/docs/cmd/spo/spo-search.mdx +6 -2
- package/docs/docs/cmd/spo/theme/theme-set.mdx +14 -2
- package/docs/docs/cmd/{yammer/group/group-list.mdx → viva/engage/engage-group-list.mdx} +13 -13
- package/docs/docs/cmd/{yammer/group/group-user-add.mdx → viva/engage/engage-group-user-add.mdx} +7 -7
- package/docs/docs/cmd/{yammer/group/group-user-remove.mdx → viva/engage/engage-group-user-remove.mdx} +10 -10
- package/docs/docs/cmd/{yammer/message/message-add.mdx → viva/engage/engage-message-add.mdx} +12 -13
- package/docs/docs/cmd/{yammer/message/message-get.mdx → viva/engage/engage-message-get.mdx} +10 -10
- package/docs/docs/cmd/{yammer/message/message-like-set.mdx → viva/engage/engage-message-like-set.mdx} +10 -10
- package/docs/docs/cmd/{yammer/message/message-list.mdx → viva/engage/engage-message-list.mdx} +21 -21
- package/docs/docs/cmd/{yammer/message/message-remove.mdx → viva/engage/engage-message-remove.mdx} +10 -10
- package/docs/docs/cmd/{yammer/network/network-list.mdx → viva/engage/engage-network-list.mdx} +6 -6
- package/docs/docs/cmd/{yammer/report/report-activitycounts.mdx → viva/engage/engage-report-activitycounts.mdx} +9 -9
- package/docs/docs/cmd/{yammer/report/report-activityusercounts.mdx → viva/engage/engage-report-activityusercounts.mdx} +9 -9
- package/docs/docs/cmd/{yammer/report/report-activityuserdetail.mdx → viva/engage/engage-report-activityuserdetail.mdx} +11 -12
- package/docs/docs/cmd/{yammer/report/report-deviceusagedistributionusercounts.mdx → viva/engage/engage-report-deviceusagedistributionusercounts.mdx} +5 -5
- package/docs/docs/cmd/{yammer/report/report-deviceusageusercounts.mdx → viva/engage/engage-report-deviceusageusercounts.mdx} +5 -5
- package/docs/docs/cmd/{yammer/report/report-deviceusageuserdetail.mdx → viva/engage/engage-report-deviceusageuserdetail.mdx} +11 -11
- package/docs/docs/cmd/{yammer/report/report-groupsactivitycounts.mdx → viva/engage/engage-report-groupsactivitycounts.mdx} +9 -9
- package/docs/docs/cmd/{yammer/report/report-groupsactivitydetail.mdx → viva/engage/engage-report-groupsactivitydetail.mdx} +11 -11
- package/docs/docs/cmd/{yammer/report/report-groupsactivitygroupcounts.mdx → viva/engage/engage-report-groupsactivitygroupcounts.mdx} +5 -5
- package/docs/docs/cmd/{yammer/yammer-search.mdx → viva/engage/engage-search.mdx} +10 -10
- package/docs/docs/cmd/{yammer/user/user-get.mdx → viva/engage/engage-user-get.mdx} +8 -8
- package/docs/docs/cmd/{yammer/user/user-list.mdx → viva/engage/engage-user-list.mdx} +11 -11
- package/npm-shrinkwrap.json +228 -166
- package/package.json +21 -20
- package/dist/m365/base/AzmgmtCommand.js +0 -18
- package/dist/m365/base/AzmgmtItemsListCommand.js +0 -41
- package/dist/m365/yammer/commands/report/report-activitycounts.js +0 -15
- package/dist/m365/yammer/commands/report/report-activityusercounts.js +0 -15
- package/dist/m365/yammer/commands/report/report-activityuserdetail.js +0 -15
- package/dist/m365/yammer/commands/report/report-deviceusagedistributionusercounts.js +0 -15
- package/dist/m365/yammer/commands/report/report-deviceusageusercounts.js +0 -15
- package/dist/m365/yammer/commands/report/report-deviceusageuserdetail.js +0 -15
- package/dist/m365/yammer/commands/report/report-groupsactivitycounts.js +0 -15
- package/dist/m365/yammer/commands/report/report-groupsactivitydetail.js +0 -15
- package/dist/m365/yammer/commands/report/report-groupsactivitygroupcounts.js +0 -15
package/docs/docs/cmd/{yammer/group/group-user-add.mdx → viva/engage/engage-group-user-add.mdx}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
2
|
|
|
3
|
-
#
|
|
3
|
+
# viva engage group user add
|
|
4
4
|
|
|
5
|
-
Adds a user to a
|
|
5
|
+
Adds a user to a Viva Engage Group
|
|
6
6
|
|
|
7
7
|
## Usage
|
|
8
8
|
|
|
9
9
|
```sh
|
|
10
|
-
m365
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
-
#
|
|
3
|
+
# viva engage group user remove
|
|
4
4
|
|
|
5
|
-
Removes a user from a
|
|
5
|
+
Removes a user from a Viva Engage group
|
|
6
6
|
|
|
7
7
|
## Usage
|
|
8
8
|
|
|
9
9
|
```sh
|
|
10
|
-
m365
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
-
#
|
|
5
|
+
# viva engage message add
|
|
6
6
|
|
|
7
|
-
Posts a
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
-
#
|
|
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
|
-
#
|
|
5
|
+
# viva engage message get
|
|
6
6
|
|
|
7
|
-
Returns a
|
|
7
|
+
Returns a Viva Engage message
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
m365
|
|
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
|
|
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
|
|
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
|
|
34
|
+
Returns the Viva Engage message with the id 1239871123
|
|
35
35
|
|
|
36
36
|
```sh
|
|
37
|
-
m365
|
|
37
|
+
m365 viva engage message get --id 1239871123
|
|
38
38
|
```
|
|
39
39
|
|
|
40
|
-
Returns the
|
|
40
|
+
Returns the Viva Engage message with the id 1239871123 in JSON format
|
|
41
41
|
|
|
42
42
|
```sh
|
|
43
|
-
m365
|
|
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
|
-
#
|
|
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
|
-
#
|
|
3
|
+
# viva engage message like set
|
|
4
4
|
|
|
5
|
-
Likes or unlikes a
|
|
5
|
+
Likes or unlikes a Viva Engage message
|
|
6
6
|
|
|
7
7
|
## Usage
|
|
8
8
|
|
|
9
9
|
```sh
|
|
10
|
-
m365
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
53
|
+
m365 viva engage message like set --messageId 5611239081 --enable false --force
|
|
54
54
|
```
|
|
55
55
|
|
|
56
56
|
## Response
|
package/docs/docs/cmd/{yammer/message/message-list.mdx → viva/engage/engage-message-list.mdx}
RENAMED
|
@@ -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
|
-
#
|
|
5
|
+
# viva engage message list
|
|
6
6
|
|
|
7
|
-
Returns all accessible messages from the user's
|
|
7
|
+
Returns all accessible messages from the user's Viva Engage network
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
m365
|
|
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
|
|
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
|
|
50
|
-
- Top: The algorithmic feed for the user that corresponds to "Top" conversations. The Top conversations feed is the feed currently shown in the
|
|
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
|
|
59
|
+
Returns all Viva Engage network messages
|
|
60
60
|
|
|
61
61
|
```sh
|
|
62
|
-
m365
|
|
62
|
+
m365 viva engage message list
|
|
63
63
|
```
|
|
64
64
|
|
|
65
|
-
Returns all
|
|
65
|
+
Returns all Viva Engage network messages older than the message ID 5611239081
|
|
66
66
|
|
|
67
67
|
```sh
|
|
68
|
-
m365
|
|
68
|
+
m365 viva engage message list --olderThanId 5611239081
|
|
69
69
|
```
|
|
70
70
|
|
|
71
|
-
Returns all
|
|
71
|
+
Returns all Viva Engage network thread starter (first message) for each thread
|
|
72
72
|
|
|
73
73
|
```sh
|
|
74
|
-
m365
|
|
74
|
+
m365 viva engage message list --threaded
|
|
75
75
|
```
|
|
76
76
|
|
|
77
|
-
Returns the first 10
|
|
77
|
+
Returns the first 10 Viva Engage network messages
|
|
78
78
|
|
|
79
79
|
```sh
|
|
80
|
-
m365
|
|
80
|
+
m365 viva engage message list --limit 10
|
|
81
81
|
```
|
|
82
82
|
|
|
83
|
-
Returns the first 10
|
|
83
|
+
Returns the first 10 Viva Engage network messages from the Viva Engage group 312891231
|
|
84
84
|
|
|
85
85
|
```sh
|
|
86
|
-
m365
|
|
86
|
+
m365 viva engage message list --groupId 312891231 --limit 10
|
|
87
87
|
```
|
|
88
88
|
|
|
89
|
-
Returns the first 10
|
|
89
|
+
Returns the first 10 Viva Engage network messages from thread 5611239081
|
|
90
90
|
|
|
91
91
|
```sh
|
|
92
|
-
m365
|
|
92
|
+
m365 viva engage message list --threadId 5611239081 --limit 10
|
|
93
93
|
```
|
|
94
94
|
|
|
95
|
-
Returns the first 20
|
|
95
|
+
Returns the first 20 Viva Engage message from the sent feed of the user
|
|
96
96
|
|
|
97
97
|
```sh
|
|
98
|
-
m365
|
|
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
|
-
#
|
|
168
|
+
# viva engage message list --limit "1" --feedType "All"
|
|
169
169
|
|
|
170
170
|
Date: 2023-05-16
|
|
171
171
|
|
package/docs/docs/cmd/{yammer/message/message-remove.mdx → viva/engage/engage-message-remove.mdx}
RENAMED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
2
|
|
|
3
|
-
#
|
|
3
|
+
# viva engage message remove
|
|
4
4
|
|
|
5
|
-
Removes a
|
|
5
|
+
Removes a Viva Engage message
|
|
6
6
|
|
|
7
7
|
## Usage
|
|
8
8
|
|
|
9
9
|
```sh
|
|
10
|
-
m365
|
|
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
|
|
17
|
+
: The id of the Viva Engage message.
|
|
18
18
|
|
|
19
19
|
`-f, --force`
|
|
20
|
-
: Don't prompt for
|
|
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
|
|
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
|
|
41
|
+
Removes the Viva Engage message with the id _1239871123_
|
|
42
42
|
|
|
43
43
|
```sh
|
|
44
|
-
m365
|
|
44
|
+
m365 viva engage message remove --id 1239871123
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
Removes the
|
|
47
|
+
Removes the Viva Engage message with the id _1239871123_ without prompting for confirmation.
|
|
48
48
|
|
|
49
49
|
```sh
|
|
50
|
-
m365
|
|
50
|
+
m365 viva engage message remove --id 1239871123 --force
|
|
51
51
|
```
|
|
52
52
|
|
|
53
53
|
## Response
|
package/docs/docs/cmd/{yammer/network/network-list.mdx → viva/engage/engage-network-list.mdx}
RENAMED
|
@@ -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
|
-
#
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
-
#
|
|
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
|
-
#
|
|
5
|
+
# viva engage report activitycounts
|
|
6
6
|
|
|
7
|
-
Gets the trends on the amount of
|
|
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
|
|
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
|
|
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
|
|
29
|
+
m365 viva engage report activitycounts --period D7
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
Gets the trends on the amount of
|
|
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
|
|
35
|
+
m365 viva engage report activitycounts --period D7 --output text > "activitycounts.txt"
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
Gets the trends on the amount of
|
|
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
|
|
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
|
-
#
|
|
5
|
+
# viva engage report activityusercounts
|
|
6
6
|
|
|
7
|
-
Gets the trends on the number of unique users who posted, read, and liked
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
41
|
+
m365 viva engage report activityusercounts --period D7 --output json > "activityusercounts.json"
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
## Response
|