@pnp/cli-microsoft365 7.5.0-beta.23612bc → 7.5.0-beta.4f8e5bf
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/.eslintrc.cjs +6 -2
- package/.mocharc.json +3 -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/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 +16 -0
- 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/spo.js +36 -14
- package/dist/utils/urlUtil.js +31 -0
- package/dist/utils/validation.js +4 -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/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 +60 -0
- package/package.json +3 -2
- 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
|
@@ -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>
|
package/docs/docs/cmd/login.mdx
CHANGED
|
@@ -44,6 +44,9 @@ m365 login [options]
|
|
|
44
44
|
|
|
45
45
|
`--cloud [cloud]`
|
|
46
46
|
: Cloud to connect to. Allowed values `Public`, `USGov`, `USGovHigh`, `USGovDoD` and `China`. Default `Public`
|
|
47
|
+
|
|
48
|
+
`--connectionName [connectionName]`
|
|
49
|
+
: Specify an optional name to make switching between connections easier.
|
|
47
50
|
```
|
|
48
51
|
|
|
49
52
|
<Global />
|
|
@@ -64,6 +67,12 @@ Managed identity in Azure Cloud Shell is the identity of the user. It is neither
|
|
|
64
67
|
|
|
65
68
|
When connecting to clouds other than `Public`, you'll need to use an Azure AD application registered in a directory provisioned in that cloud. If you try to login using the default Azure AD application, login will fail.
|
|
66
69
|
|
|
70
|
+
:::tip
|
|
71
|
+
|
|
72
|
+
When signing in with multiple identities, every signin will be saved as a connection. You can list available connections using [m365 connection list](./connection/connection-list.mdx) and switch between connections using [m365 connection use](./connection/connection-use.mdx)
|
|
73
|
+
|
|
74
|
+
:::
|
|
75
|
+
|
|
67
76
|
## Examples
|
|
68
77
|
|
|
69
78
|
Log in to Microsoft 365 using the device code
|
|
@@ -72,6 +81,12 @@ Log in to Microsoft 365 using the device code
|
|
|
72
81
|
m365 login
|
|
73
82
|
```
|
|
74
83
|
|
|
84
|
+
Log in to Microsoft 365 using the device code and set the connection name
|
|
85
|
+
|
|
86
|
+
```sh
|
|
87
|
+
m365 login --connectionName 'myworkaccount'
|
|
88
|
+
```
|
|
89
|
+
|
|
75
90
|
Log in to Microsoft 365 using the device code in debug mode including detailed debug information in the console output
|
|
76
91
|
|
|
77
92
|
```sh
|
package/docs/docs/cmd/setup.mdx
CHANGED
|
@@ -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
|
-
##
|
|
67
|
+
## Response
|
|
68
68
|
|
|
69
69
|
The command won't return a response on success.
|
|
@@ -25,7 +25,7 @@ m365 spo search [options]
|
|
|
25
25
|
: The web against which we want to execute the query. If the parameter is not defined, the query is executed against the web that's used when logging in to the SPO environment.
|
|
26
26
|
|
|
27
27
|
`--allResults`
|
|
28
|
-
: Set, to get all results of the search query
|
|
28
|
+
: Set, to get all results of the search query in batches of 500.
|
|
29
29
|
|
|
30
30
|
`--rowLimit [rowLimit]`
|
|
31
31
|
: The number of rows to be returned. When the `allResults` option is used, the specified value will define the size of retrieved batches
|
|
@@ -55,7 +55,7 @@ m365 spo search [options]
|
|
|
55
55
|
: The ID of the ranking model to use for the query.
|
|
56
56
|
|
|
57
57
|
`--startRow [startRow]`
|
|
58
|
-
: The first row that is included in the search results that are returned. You use this parameter when you want to implement paging for search results.
|
|
58
|
+
: The first row that is included in the search results that are returned. You use this parameter when you want to implement manual paging for search results.
|
|
59
59
|
|
|
60
60
|
`--properties [properties]`
|
|
61
61
|
: Additional properties for the query.
|
|
@@ -90,6 +90,10 @@ m365 spo search [options]
|
|
|
90
90
|
|
|
91
91
|
<Global />
|
|
92
92
|
|
|
93
|
+
## Remarks
|
|
94
|
+
|
|
95
|
+
When using the `--allResults` option, you cannot use the `--startRow` option. Only use `--startRow` for manual paging purposes.
|
|
96
|
+
|
|
93
97
|
## Examples
|
|
94
98
|
|
|
95
99
|
Execute search query to retrieve all Document Sets (ContentTypeId = _0x0120D520_) for the English locale
|
|
@@ -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/
|
|
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/
|
|
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
|
-
#
|
|
5
|
+
# viva engage group list
|
|
6
6
|
|
|
7
|
-
Returns the list of groups in a
|
|
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
|
|
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
|
|
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
|
|
37
|
+
Returns all Viva Engage network groups
|
|
38
38
|
|
|
39
39
|
```sh
|
|
40
|
-
m365
|
|
40
|
+
m365 viva engage group list
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
-
Returns all
|
|
43
|
+
Returns all Viva Engage network groups for the user with the ID `5611239081`
|
|
44
44
|
|
|
45
45
|
```sh
|
|
46
|
-
m365
|
|
46
|
+
m365 viva engage group list --userId 5611239081
|
|
47
47
|
```
|
|
48
48
|
|
|
49
|
-
Returns the first 10
|
|
49
|
+
Returns the first 10 Viva Engage network groups
|
|
50
50
|
|
|
51
51
|
```sh
|
|
52
|
-
m365
|
|
52
|
+
m365 viva engage group list --limit 10
|
|
53
53
|
```
|
|
54
54
|
|
|
55
|
-
Returns the first 10
|
|
55
|
+
Returns the first 10 Viva Engage network groups for the user with the ID `5611239081`
|
|
56
56
|
|
|
57
57
|
```sh
|
|
58
|
-
m365
|
|
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
|
-
#
|
|
133
|
+
# viva engage group list --limit "1"
|
|
134
134
|
|
|
135
135
|
Date: 2023-05-16
|
|
136
136
|
|
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
|