@pnp/cli-microsoft365 10.5.0-beta.d99742c → 10.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/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/Auth.js +58 -2
- package/dist/m365/booking/commands/business/business-get.js +0 -3
- package/dist/m365/commands/login.js +3 -0
- package/dist/m365/entra/commands/user/user-guest-add.js +0 -3
- package/dist/m365/flow/commands/environment/environment-get.js +0 -3
- package/dist/m365/flow/commands/flow-get.js +0 -3
- package/dist/m365/flow/commands/run/run-get.js +0 -3
- package/dist/m365/pa/commands/app/app-get.js +0 -3
- package/dist/m365/pa/commands/environment/environment-get.js +0 -3
- package/dist/m365/planner/commands/bucket/bucket-add.js +0 -3
- package/dist/m365/planner/commands/plan/plan-add.js +0 -3
- package/dist/m365/planner/commands/plan/plan-get.js +0 -3
- package/dist/m365/planner/commands/plan/plan-set.js +0 -3
- package/dist/m365/planner/commands/task/task-checklistitem-add.js +0 -3
- package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-get.js +0 -3
- package/dist/m365/pp/commands/card/card-get.js +0 -3
- package/dist/m365/pp/commands/copilot/copilot-get.js +0 -3
- package/dist/m365/pp/commands/dataverse/dataverse-table-get.js +0 -3
- package/dist/m365/pp/commands/environment/environment-get.js +0 -3
- package/dist/m365/pp/commands/solution/solution-get.js +0 -3
- package/dist/m365/pp/commands/solution/solution-publisher-get.js +0 -3
- package/dist/m365/pp/commands/website/website-get.js +0 -3
- package/dist/m365/spo/commands/group/group-member-add.js +0 -3
- package/dist/m365/spo/commands/homesite/homesite-add.js +66 -0
- package/dist/m365/spo/commands/page/page-copy.js +0 -3
- package/dist/m365/spo/commands/page/page-get.js +0 -3
- package/dist/m365/spo/commands/sitedesign/sitedesign-run-status-get.js +0 -3
- package/dist/m365/spo/commands.js +1 -0
- package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-health-get.js +0 -3
- package/dist/m365/todo/commands/list/list-get.js +0 -3
- package/dist/m365/todo/commands/task/task-get.js +0 -3
- package/dist/m365/viva/commands/engage/engage-message-add.js +0 -3
- package/dist/m365/viva/commands/engage/engage-message-get.js +0 -3
- package/dist/m365/viva/commands/engage/engage-user-get.js +0 -3
- package/docs/docs/cmd/booking/business/business-get.mdx +13 -0
- package/docs/docs/cmd/entra/user/user-guest-add.mdx +11 -0
- package/docs/docs/cmd/flow/environment/environment-get.mdx +2 -0
- package/docs/docs/cmd/flow/flow-get.mdx +2 -0
- package/docs/docs/cmd/flow/run/run-get.mdx +17 -13
- package/docs/docs/cmd/login.mdx +9 -1
- package/docs/docs/cmd/pa/app/app-get.mdx +8 -2
- package/docs/docs/cmd/pa/environment/environment-get.mdx +5 -3
- package/docs/docs/cmd/planner/plan/plan-add.mdx +2 -0
- package/docs/docs/cmd/planner/plan/plan-get.mdx +8 -4
- package/docs/docs/cmd/planner/plan/plan-set.mdx +2 -0
- package/docs/docs/cmd/planner/task/task-checklistitem-add.mdx +6 -3
- package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-get.mdx +12 -3
- package/docs/docs/cmd/pp/card/card-get.mdx +36 -5
- package/docs/docs/cmd/pp/copilot/copilot-get.mdx +41 -5
- package/docs/docs/cmd/pp/dataverse/dataverse-table-get.mdx +19 -4
- package/docs/docs/cmd/pp/environment/environment-get.mdx +5 -2
- package/docs/docs/cmd/pp/solution/solution-get.mdx +12 -7
- package/docs/docs/cmd/pp/solution/solution-publisher-get.mdx +12 -7
- package/docs/docs/cmd/pp/website/website-get.mdx +22 -4
- package/docs/docs/cmd/spo/group/group-member-add.mdx +12 -3
- package/docs/docs/cmd/spo/homesite/homesite-add.mdx +124 -0
- package/docs/docs/cmd/spo/page/page-copy.mdx +30 -4
- package/docs/docs/cmd/spo/page/page-get.mdx +44 -5
- package/docs/docs/cmd/spo/sitedesign/sitedesign-run-status-get.mdx +7 -0
- package/docs/docs/cmd/todo/list/list-get.mdx +7 -4
- package/docs/docs/cmd/todo/task/task-get.mdx +7 -2
- package/docs/docs/cmd/viva/engage/engage-message-add.mdx +37 -12
- package/docs/docs/cmd/viva/engage/engage-message-get.mdx +27 -13
- package/docs/docs/cmd/viva/engage/engage-user-get.mdx +50 -8
- package/package.json +2 -2
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# spo homesite add
|
|
6
|
+
|
|
7
|
+
Adds a home site
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 spo homesite add [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`-u, --url <url>`
|
|
19
|
+
: URL of the site to use as a home site.
|
|
20
|
+
|
|
21
|
+
`--isInDraftMode [isInDraftMode]`
|
|
22
|
+
: Specifies whether the home site is in draft mode. Accepts `true` or `false`. Default is `false`.
|
|
23
|
+
|
|
24
|
+
`--vivaConnectionsDefaultStart [vivaConnectionsDefaultStart]`
|
|
25
|
+
: Specifies whether the home site is the default start for Viva Connections. Accepts `true` or `false`. Default is `true`.
|
|
26
|
+
|
|
27
|
+
`--audiences [audiences]`
|
|
28
|
+
: Comma-separated list of Microsoft Entra group IDs that will be used as audience.
|
|
29
|
+
|
|
30
|
+
`--order [order]`
|
|
31
|
+
: Order of the home site. Must be a positive integer.
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
<Global />
|
|
35
|
+
|
|
36
|
+
## Examples
|
|
37
|
+
|
|
38
|
+
Add a home site
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
m365 spo homesite add --url "https://contoso.sharepoint.com/sites/testcomms"
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Add a home site with additional options
|
|
45
|
+
|
|
46
|
+
```sh
|
|
47
|
+
m365 spo homesite add --url "https://contoso.sharepoint.com/sites/testcomms" --isInDraftMode true --vivaConnectionsDefaultStart false --audiences "af8c0bc8-7b1b-44b4-b087-ffcc8df70d16,754ff15c-76b1-44cb-88c7-0065a4d3cfb7" --order 2
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Response
|
|
51
|
+
|
|
52
|
+
<Tabs>
|
|
53
|
+
<TabItem value="JSON">
|
|
54
|
+
|
|
55
|
+
```json
|
|
56
|
+
{
|
|
57
|
+
"Audiences": [
|
|
58
|
+
{
|
|
59
|
+
"Email": "active@contoso.onmicrosoft.com",
|
|
60
|
+
"Id": "7a1eea7f-9ab0-40ff-8f2e-0083d9d63451",
|
|
61
|
+
"Title": "active Members"
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"IsInDraftMode": true,
|
|
65
|
+
"IsVivaBackendSite": false,
|
|
66
|
+
"SiteId": "ca49054c-85f3-41eb-a290-46ffda8f219c",
|
|
67
|
+
"TargetedLicenseType": 0,
|
|
68
|
+
"Title": "testcommsite",
|
|
69
|
+
"Url": "https://contoso.sharepoint.com/sites/testcomms",
|
|
70
|
+
"VivaConnectionsDefaultStart": false,
|
|
71
|
+
"WebId": "256c4f0f-e372-47b4-a891-b4888e829e20"
|
|
72
|
+
}
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
</TabItem>
|
|
76
|
+
<TabItem value="Text">
|
|
77
|
+
|
|
78
|
+
```text
|
|
79
|
+
Audiences : [{"Email":"active@contoso.onmicrosoft.com","Id":"7a1eea7f-9ab0-40ff-8f2e-0083d9d63451","Title":"active Members"}]
|
|
80
|
+
IsInDraftMode : true
|
|
81
|
+
IsVivaBackendSite : false
|
|
82
|
+
SiteId : ca49054c-85f3-41eb-a290-46ffda8f219c
|
|
83
|
+
TargetedLicenseType : 0
|
|
84
|
+
Title : testcommsite
|
|
85
|
+
Url : https://contoso.sharepoint.com/sites/testcomms
|
|
86
|
+
VivaConnectionsDefaultStart: false
|
|
87
|
+
WebId : 256c4f0f-e372-47b4-a891-b4888e829e20
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
</TabItem>
|
|
91
|
+
<TabItem value="CSV">
|
|
92
|
+
|
|
93
|
+
```csv
|
|
94
|
+
IsInDraftMode,IsVivaBackendSite,SiteId,TargetedLicenseType,Title,Url,VivaConnectionsDefaultStart,WebId
|
|
95
|
+
1,0,ca49054c-85f3-41eb-a290-46ffda8f219c,0,testcommsite,https://contoso.sharepoint.com/sites/testcomms,0,256c4f0f-e372-47b4-a891-b4888e829e20
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
</TabItem>
|
|
99
|
+
<TabItem value="Markdown">
|
|
100
|
+
|
|
101
|
+
```md
|
|
102
|
+
# spo homesite add --url "https://contoso.sharepoint.com/sites/testcomms"
|
|
103
|
+
|
|
104
|
+
Date: 12/23/2024
|
|
105
|
+
|
|
106
|
+
## testcommsite (https://contoso.sharepoint.com/sites/testcomms)
|
|
107
|
+
|
|
108
|
+
Property | Value
|
|
109
|
+
---------|-------
|
|
110
|
+
IsInDraftMode | true
|
|
111
|
+
IsVivaBackendSite | false
|
|
112
|
+
SiteId | ca49054c-85f3-41eb-a290-46ffda8f219c
|
|
113
|
+
TargetedLicenseType | 0
|
|
114
|
+
Title | testcommsite
|
|
115
|
+
Url | https://contoso.sharepoint.com/sites/testcomms
|
|
116
|
+
VivaConnectionsDefaultStart | false
|
|
117
|
+
WebId | 256c4f0f-e372-47b4-a891-b4888e829e20
|
|
118
|
+
```
|
|
119
|
+
</TabItem>
|
|
120
|
+
</Tabs>
|
|
121
|
+
|
|
122
|
+
## More information
|
|
123
|
+
|
|
124
|
+
- SharePoint home sites [Viva Connections set up](https://learn.microsoft.com/en-us/viva/connections/set-up-admin-center)
|
|
@@ -109,10 +109,36 @@ m365 spo page copy --webUrl https://contoso.sharepoint.com/sites/team-a --source
|
|
|
109
109
|
<TabItem value="Text">
|
|
110
110
|
|
|
111
111
|
```text
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
112
|
+
AbsoluteUrl : https://contoso.sharepoint.com/sites/SPDemo/SitePages/home-copy.aspx
|
|
113
|
+
AlternativeUrlMap : {"MediaTAThumbnailPathUrl":"https://southindia1-mediap.svc.ms/transform/thumbnail?provider=spo&inputFormat={.fileType}&cs=UEFHRVN8U1BP&docid={.spHost}/_api/v2.0/sharePoint:{.resourceUrl}:/driveItem&w={.widthValue}&oauth_token=bearer%20{.oauthToken}","MediaTAThumbnailHostUrl":"https://southindia1-mediap.svc.ms","AFDCDNEnabled":"ClientNotOnEdge","CurrentSiteCDNPolicy":"True","PublicCDNEnabled":"True","PrivateCDNEnabled":"True"}
|
|
114
|
+
AuthorByline : null
|
|
115
|
+
BannerImageUrl : https://contoso.sharepoint.com/_layouts/15/images/sitepagethumbnail.png
|
|
116
|
+
BannerThumbnailUrl : https://media.akamai.odsp.cdn.office.net/contoso.sharepoint.com/_layouts/15/images/sitepagethumbnail.png
|
|
117
|
+
CallToAction :
|
|
118
|
+
CanvasContent1 : [{"controlType":3,"displayMode":2,"id":"7558d804-0334-49ca-b14a-53870cf6caae","position":{"controlIndex":1,"sectionIndex":1,"zoneIndex":1,"sectionFactor":12,"layoutIndex":1},"webPartId":"e377ea37-9047-43b9-8cdb-a761be2f8e09","emphasis":{},"webPartData":{"dataVersion":"1.0","description":"Display a location on a map using Bing Maps.","id":"e377ea37-9047-43b9-8cdb-a761be2f8e09","instanceId":"7558d804-0334-49ca-b14a-53870cf6caae","properties":{"pushPins":[],"maxNumberOfPushPins":1,"shouldShowPushPinTitle":true,"zoomLevel":12,"mapType":"road"},"title":"Bing Maps","serverProcessedContent":{"htmlStrings":{},"searchablePlainTexts":{},"imageSources":{},"links":{}}}},{"controlType":0,"pageSettingsSlice":{"isDefaultDescription":true,"isDefaultThumbnail":true}}]
|
|
119
|
+
Categories : null
|
|
120
|
+
CoAuthState : null
|
|
121
|
+
ContentTypeId : 0x0101009D1CB255DA76424F860D91F20E6C411800F1678937A82C3142BEF3C962300813B5
|
|
122
|
+
Description : null
|
|
123
|
+
DoesUserHaveEditPermission : true
|
|
124
|
+
FileName : home-copy.aspx
|
|
125
|
+
FirstPublished : 0001-01-01T08:00:00Z
|
|
126
|
+
Id : 23
|
|
127
|
+
IsPageCheckedOutToCurrentUser: false
|
|
128
|
+
IsWebWelcomePage : false
|
|
129
|
+
Language : en-us
|
|
130
|
+
LayoutWebpartsContent : null
|
|
131
|
+
Modified : 2022-11-26T10:11:30Z
|
|
132
|
+
PageLayoutType : Article
|
|
133
|
+
Path : {"DecodedUrl":"SitePages/home-copy.aspx"}
|
|
134
|
+
PromotedState : 0
|
|
135
|
+
SitePageFlags :
|
|
136
|
+
Title : new-page
|
|
137
|
+
TopicHeader : null
|
|
138
|
+
UniqueId : 3c4b010b-7043-4b2b-b7eb-e6110d1bebac
|
|
139
|
+
Url : SitePages/home-copy.aspx
|
|
140
|
+
Version : 0.1
|
|
141
|
+
VersionInfo : {"LastVersionCreated":"0001-01-01T00:00:00","LastVersionCreatedBy":""}
|
|
116
142
|
```
|
|
117
143
|
|
|
118
144
|
</TabItem>
|
|
@@ -137,11 +137,50 @@ m365 spo page get --webUrl https://contoso.sharepoint.com/sites/team-a --name ho
|
|
|
137
137
|
<TabItem value="Text">
|
|
138
138
|
|
|
139
139
|
```text
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
140
|
+
BannerImageUrl : {"Description":"https://contoso.sharepoint.com/_layouts/15/images/sitepagethumbnail.png","Url":"https://contoso.sharepoint.com/_layouts/15/images/sitepagethumbnail.png"}
|
|
141
|
+
CanvasContent1 : <div><div data-sp-canvascontrol="" data-sp-canvasdataversion="1.0" data-sp-controldata="{"controlType":3,"displayMode":2,"id":"7558d804-0334-49ca-b14a-53870cf6caae","position":{"controlIndex":1,"sectionIndex":1,"zoneIndex":1,"sectionFactor":12,"layoutIndex":1},"webPartId":"e377ea37-9047-43b9-8cdb-a761be2f8e09","emphasis":{}}"><div data-sp-webpart="" data-sp-webpartdataversion="1.0" data-sp-webpartdata="{"dataVersion":"1.0","description":"Display a location on a map using Bing Maps.","id":"e377ea37-9047-43b9-8cdb-a761be2f8e09","instanceId":"7558d804-0334-49ca-b14a-53870cf6caae","properties":{"pushPins":[],"maxNumberOfPushPins":1,"shouldShowPushPinTitle":true,"zoomLevel":12,"mapType":"road"},"title":"Bing Maps"}"><div data-sp-componentid="e377ea37-9047-43b9-8cdb-a761be2f8e09"></div><div data-sp-htmlproperties=""></div></div></div><div data-sp-canvascontrol="" data-sp-canvasdataversion="1.0" data-sp-controldata="{"controlType":0,"pageSettingsSlice":{"isDefaultDescription":true,"isDefaultThumbnail":true}}"></div></div>
|
|
142
|
+
CheckInComment :
|
|
143
|
+
CheckOutType : 2
|
|
144
|
+
ClientSideApplicationId: b6917cb1-93a0-4b97-a84d-7cf49975d4ec
|
|
145
|
+
ComplianceAssetId : null
|
|
146
|
+
ContentTag : {C431F2EF-447C-4F72-BC3E-ED2687456C33},8,3
|
|
147
|
+
ContentTypeId : 0x0101009D1CB255DA76424F860D91F20E6C411800F1678937A82C3142BEF3C962300813B5
|
|
148
|
+
Created : 2022-11-26T01:51:46
|
|
149
|
+
CustomizedPageStatus : 2
|
|
150
|
+
Description : null
|
|
151
|
+
EditorId : 7
|
|
152
|
+
ETag : "{C431F2EF-447C-4F72-BC3E-ED2687456C33},8"
|
|
153
|
+
Exists : true
|
|
154
|
+
FileSystemObjectType : 0
|
|
155
|
+
FirstPublishedDate : null
|
|
156
|
+
GUID : c8e64e90-e546-4b67-ad05-44e76dac54fb
|
|
157
|
+
IrmEnabled : false
|
|
158
|
+
IsHiddenInUI : false
|
|
159
|
+
LayoutWebpartsContent : null
|
|
160
|
+
Length : 4106
|
|
161
|
+
Level : 2
|
|
162
|
+
LinkingUri : null
|
|
163
|
+
LinkingUrl :
|
|
164
|
+
ListItemAllFields : {"CanvasContent1":"<div><div data-sp-canvascontrol=\"\" data-sp-canvasdataversion=\"1.0\" data-sp-controldata=\"{"controlType":3,"displayMode":2,"id":"7558d804-0334-49ca-b14a-53870cf6caae",...","ContentTypeId":"0x0101009D1CB255DA76424F860D91F20E6C411800F1678937A82C3142BEF3C962300813B5",...}
|
|
165
|
+
MajorVersion : 0
|
|
166
|
+
MinorVersion : 4
|
|
167
|
+
Modified : 2022-11-26T09:55:46Z
|
|
168
|
+
Name : new-page.aspx
|
|
169
|
+
NumControls : 2
|
|
170
|
+
NumSections : 1
|
|
171
|
+
OData__ModerationStatus: 3
|
|
172
|
+
PageLayoutType : Article
|
|
173
|
+
PromotedState : 0
|
|
174
|
+
ServerRelativeUrl : /sites/SPDemo/SitePages/new-page.aspx
|
|
175
|
+
TimeCreated : 2022-11-26T09:51:46Z
|
|
176
|
+
TimeLastModified : 2022-11-26T09:55:46Z
|
|
177
|
+
Title : new-page
|
|
178
|
+
UIVersion : 4
|
|
179
|
+
UIVersionLabel : 0.4
|
|
180
|
+
UniqueId : c431f2ef-447c-4f72-bc3e-ed2687456c33
|
|
181
|
+
commentsDisabled : true
|
|
182
|
+
layoutType : Article
|
|
183
|
+
title : new-page
|
|
145
184
|
```
|
|
146
185
|
|
|
147
186
|
</TabItem>
|
|
@@ -62,8 +62,15 @@ m365 spo sitedesign run status get --webUrl https://contoso.sharepoint.com/sites
|
|
|
62
62
|
<TabItem value="Text">
|
|
63
63
|
|
|
64
64
|
```text
|
|
65
|
+
ActionIndex : 0
|
|
66
|
+
ActionKey : 00000000-0000-0000-0000-000000000000
|
|
65
67
|
ActionTitle : Activate feature f151bb39-7c3b-414f-bb36-6bf18872052f
|
|
68
|
+
LastModified : 1687422166000
|
|
69
|
+
OrdinalIndex : 0
|
|
70
|
+
OutcomeCode : 0
|
|
66
71
|
OutcomeText : null
|
|
72
|
+
SiteScriptID : 0c88bed7-943b-42aa-8fef-8fb69eebe3fe
|
|
73
|
+
SiteScriptIndex: 0
|
|
67
74
|
SiteScriptTitle: Contoso
|
|
68
75
|
```
|
|
69
76
|
|
|
@@ -26,13 +26,13 @@ m365 todo list get [options]
|
|
|
26
26
|
|
|
27
27
|
## Examples
|
|
28
28
|
|
|
29
|
-
Get a specific Microsoft To Do task list based on id
|
|
29
|
+
Get a specific Microsoft To Do task list based on id.
|
|
30
30
|
|
|
31
31
|
```sh
|
|
32
32
|
m365 todo list get --id "AAMkADY3NmM5ZjhiLTc3M2ItNDg5ZC1iNGRiLTAyM2FmMjVjZmUzOQAuAAAAAAAZ1T9YqZrvS66KkevskFAXAQBEMhhN5VK7RaaKpIc1KhMKAAAZ3e1AAAA="
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
Get a specific Microsoft To Do task list based on name
|
|
35
|
+
Get a specific Microsoft To Do task list based on name.
|
|
36
36
|
|
|
37
37
|
```sh
|
|
38
38
|
m365 todo list get --name "Task list"
|
|
@@ -57,8 +57,11 @@ m365 todo list get --name "Task list"
|
|
|
57
57
|
<TabItem value="Text">
|
|
58
58
|
|
|
59
59
|
```text
|
|
60
|
-
displayName
|
|
61
|
-
id
|
|
60
|
+
displayName : Task list
|
|
61
|
+
id : AAMkADY3NmM5ZjhiLTc3M2ItNDg5ZC1iNGRiLTAyM2FmMjVjZmUzOQAuAAAAAAAZ1T9YqZrvS66KkevskFAXAQBEMhhN5VK7RaaKpIc1KhMKAAAZ3e1AAAA=
|
|
62
|
+
isOwner : true
|
|
63
|
+
isShared : false
|
|
64
|
+
wellknownListName: defaultList
|
|
62
65
|
```
|
|
63
66
|
|
|
64
67
|
</TabItem>
|
|
@@ -29,13 +29,13 @@ m365 todo task get [options]
|
|
|
29
29
|
|
|
30
30
|
## Examples
|
|
31
31
|
|
|
32
|
-
Gets a specific task from a Microsoft To Do tasks list based on the name of the list and the task id
|
|
32
|
+
Gets a specific task from a Microsoft To Do tasks list based on the name of the list and the task id.
|
|
33
33
|
|
|
34
34
|
```sh
|
|
35
35
|
m365 todo task get --listName "My task list" --id "AAMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAAAAAAw3-tXgryDSr5p162KnUPKBwDEwEFouXWWT50CfwqSN9cpAAEX8ECDAADEwEFouXWWT50CfwqSN9cpAAEX8GuPAAA="
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
Gets a specific task from a Microsoft To Do tasks list based on the id of the list and the task id
|
|
38
|
+
Gets a specific task from a Microsoft To Do tasks list based on the id of the list and the task id.
|
|
39
39
|
|
|
40
40
|
```sh
|
|
41
41
|
m365 todo task get --listId "AQMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MAAuAAADMN-7V4K8g0q_adetip1DygEAxMBBaLl1lk_dAn8KkjfXKQABF-BAgwAAAA==" --id "AAMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAAAAAAw3-tXgryDSr5p162KnUPKBwDEwEFouXWWT50CfwqSN9cpAAEX8ECDAADEwEFouXWWT50CfwqSN9cpAAEX8GuPAAA="
|
|
@@ -68,8 +68,13 @@ m365 todo task get --listId "AQMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM
|
|
|
68
68
|
<TabItem value="Text">
|
|
69
69
|
|
|
70
70
|
```text
|
|
71
|
+
body : {"content":"","contentType":"text"}
|
|
72
|
+
categories : []
|
|
71
73
|
createdDateTime : 2022-10-23T14:05:09.2673009Z
|
|
74
|
+
hasAttachments : false
|
|
72
75
|
id : AAMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAAAAAAw3-tXgryDSr5p162KnUPKBwDEwEFouXWWT50CfwqSN9cpAAEX8ECDAADEwEFouXWWT50CfwqSN9cpAAEX8GuPAAA=
|
|
76
|
+
importance : normal
|
|
77
|
+
isReminderOn : false
|
|
73
78
|
lastModifiedDateTime: 2022-10-23T14:15:11.3180312Z
|
|
74
79
|
status : notStarted
|
|
75
80
|
title : Stay healthy
|
|
@@ -16,19 +16,19 @@ m365 viva engage message add [options]
|
|
|
16
16
|
|
|
17
17
|
```md definition-list
|
|
18
18
|
`-b, --body <body>`
|
|
19
|
-
: The text of the message body
|
|
19
|
+
: The text of the message body.
|
|
20
20
|
|
|
21
21
|
`--groupId [groupId]`
|
|
22
|
-
: Post the message to this group, specified by ID. If this is set then the networkId is inferred from it. You must either specify `groupId`, `repliedToId`, or `directToUserIds` to send the message
|
|
22
|
+
: Post the message to this group, specified by ID. If this is set then the networkId is inferred from it. You must either specify `groupId`, `repliedToId`, or `directToUserIds` to send the message.
|
|
23
23
|
|
|
24
24
|
`-r, --repliedToId [repliedToId]`
|
|
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
|
|
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 Viva Engage 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
|
-
: Specify the network to post a message
|
|
31
|
+
: Specify the network to post a message.
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
<Global />
|
|
@@ -43,37 +43,37 @@ In order to use this command, you need to grant the Microsoft Entra application
|
|
|
43
43
|
|
|
44
44
|
## Examples
|
|
45
45
|
|
|
46
|
-
Replies to a message with the ID 1231231231
|
|
46
|
+
Replies to a message with the ID 1231231231.
|
|
47
47
|
|
|
48
48
|
```sh
|
|
49
49
|
m365 viva engage message add --body "Hello everyone!" --repliedToId 1231231231
|
|
50
50
|
```
|
|
51
51
|
|
|
52
|
-
Sends a private conversation to the user with the ID 1231231231
|
|
52
|
+
Sends a private conversation to the user with the ID 1231231231.
|
|
53
53
|
|
|
54
54
|
```sh
|
|
55
55
|
m365 viva engage message add --body "Hello everyone!" --directToUserIds 1231231231
|
|
56
56
|
```
|
|
57
57
|
|
|
58
|
-
Sends a private conversation to multiple users by ID
|
|
58
|
+
Sends a private conversation to multiple users by ID.
|
|
59
59
|
|
|
60
60
|
```sh
|
|
61
61
|
m365 viva engage message add --body "Hello everyone!" --directToUserIds "1231231231,1121312"
|
|
62
62
|
```
|
|
63
63
|
|
|
64
|
-
Sends a private conversation to the user with several e-mail addresses
|
|
64
|
+
Sends a private conversation to the user with several e-mail addresses.
|
|
65
65
|
|
|
66
66
|
```sh
|
|
67
67
|
m365 viva engage message add --body "Hello everyone!" --directToUserIds "pl@nubo.eu,sc@nubo.eu"
|
|
68
68
|
```
|
|
69
69
|
|
|
70
|
-
Posts a message to the group with the ID 12312312312
|
|
70
|
+
Posts a message to the group with the ID 12312312312.
|
|
71
71
|
|
|
72
72
|
```sh
|
|
73
73
|
m365 viva engage message add --body "Hello everyone!" --groupId 12312312312
|
|
74
74
|
```
|
|
75
75
|
|
|
76
|
-
Posts a message to the group with the ID 12312312312 in the network 11112312
|
|
76
|
+
Posts a message to the group with the ID 12312312312 in the network 11112312.
|
|
77
77
|
|
|
78
78
|
```sh
|
|
79
79
|
m365 viva engage message add --body "Hello everyone!" --groupId 12312312312 --networkId 11112312
|
|
@@ -126,7 +126,32 @@ m365 viva engage message add --body "Hello everyone!" --groupId 12312312312 --ne
|
|
|
126
126
|
<TabItem value="Text">
|
|
127
127
|
|
|
128
128
|
```text
|
|
129
|
-
|
|
129
|
+
attachments : []
|
|
130
|
+
body : {"parsed":"Hello everyone!","plain":"Hello everyone!","rich":"Hello everyone!"}
|
|
131
|
+
chat_client_sequence: null
|
|
132
|
+
client_type : O365 Api Auth
|
|
133
|
+
client_url : https://api.yammer.com
|
|
134
|
+
content_excerpt : Hello everyone!
|
|
135
|
+
created_at : 2022/11/11 20:59:56 +0000
|
|
136
|
+
delegate_id : null
|
|
137
|
+
direct_message : false
|
|
138
|
+
group_created_id : 31158067201
|
|
139
|
+
group_id : 31158067201
|
|
140
|
+
id : 2000337346863105
|
|
141
|
+
language : null
|
|
142
|
+
liked_by : {"count":0,"names":[]}
|
|
143
|
+
message_type : update
|
|
144
|
+
network_id : 5897756673
|
|
145
|
+
notified_user_ids : []
|
|
146
|
+
privacy : public
|
|
147
|
+
replied_to_id : null
|
|
148
|
+
sender_id : 36425097217
|
|
149
|
+
sender_type : user
|
|
150
|
+
supplemental_reply : false
|
|
151
|
+
system_message : false
|
|
152
|
+
thread_id : 2000337346863105
|
|
153
|
+
url : https://www.yammer.com/api/v1/messages/2000337346863105
|
|
154
|
+
web_url : https://www.yammer.com/contoso.onmicrosoft.com/messages/2000337346863105
|
|
130
155
|
```
|
|
131
156
|
|
|
132
157
|
</TabItem>
|
|
@@ -31,13 +31,13 @@ In order to use this command, you need to grant the Microsoft Entra application
|
|
|
31
31
|
|
|
32
32
|
## Examples
|
|
33
33
|
|
|
34
|
-
Returns the Viva Engage message with the id 1239871123
|
|
34
|
+
Returns the Viva Engage message with the id 1239871123.
|
|
35
35
|
|
|
36
36
|
```sh
|
|
37
37
|
m365 viva engage message get --id 1239871123
|
|
38
38
|
```
|
|
39
39
|
|
|
40
|
-
Returns the Viva Engage 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
43
|
m365 viva engage message get --id 1239871123 --output json
|
|
@@ -89,17 +89,31 @@ m365 viva engage message get --id 1239871123 --output json
|
|
|
89
89
|
<TabItem value="Text">
|
|
90
90
|
|
|
91
91
|
```text
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
92
|
+
attachments : []
|
|
93
|
+
body : {"parsed":"Hello everyone!","plain":"Hello everyone!","rich":"Hello everyone!"}
|
|
94
|
+
chat_client_sequence: null
|
|
95
|
+
client_type : O365 Api Auth
|
|
96
|
+
client_url : https://api.yammer.com
|
|
97
|
+
content_excerpt : Hello everyone!
|
|
98
|
+
created_at : 2022/11/11 21:00:20 +0000
|
|
99
|
+
delegate_id : null
|
|
100
|
+
direct_message : false
|
|
101
|
+
group_id : 31158067201
|
|
102
|
+
id : 2000337749565441
|
|
103
|
+
language : no
|
|
104
|
+
liked_by : {"count":0,"names":[]}
|
|
105
|
+
message_type : update
|
|
106
|
+
network_id : 5897756673
|
|
107
|
+
notified_user_ids : []
|
|
108
|
+
privacy : public
|
|
109
|
+
replied_to_id : null
|
|
110
|
+
sender_id : 36425097217
|
|
111
|
+
sender_type : user
|
|
112
|
+
supplemental_reply : false
|
|
113
|
+
system_message : false
|
|
114
|
+
thread_id : 2000337749565441
|
|
115
|
+
url : https://www.yammer.com/api/v1/messages/2000337749565441
|
|
116
|
+
web_url : https://www.yammer.com/contoso.onmicrosoft.com/messages/2000337749565441
|
|
103
117
|
```
|
|
104
118
|
|
|
105
119
|
</TabItem>
|
|
@@ -146,20 +146,62 @@ m365 viva engage user get --email john.smith@contoso.com --output json
|
|
|
146
146
|
<TabItem value="Text">
|
|
147
147
|
|
|
148
148
|
```text
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
149
|
+
type : user
|
|
150
|
+
id : 172006440961
|
|
151
|
+
network_id : 5897756673
|
|
152
|
+
state : active
|
|
153
|
+
job_title :
|
|
154
|
+
location : null
|
|
155
|
+
interests : null
|
|
156
|
+
summary : null
|
|
157
|
+
expertise : null
|
|
158
|
+
full_name : johndoe
|
|
159
|
+
activated_at : 2021/10/08 11:45:32 +0000
|
|
160
|
+
auto_activated : false
|
|
161
|
+
show_ask_for_photo : true
|
|
162
|
+
first_name :
|
|
163
|
+
last_name :
|
|
164
|
+
network_name : Contoso
|
|
165
|
+
network_domains : [contoso.onmicrosoft.com]
|
|
166
|
+
url : https://www.yammer.com/api/v1/users/172006440961
|
|
167
|
+
web_url : https://www.yammer.com/contoso.onmicrosoft.com/users/172006440961
|
|
168
|
+
name : admvalo
|
|
169
|
+
mugshot_url : https://mugshot0eu-1.assets-yammer.com/mugshot/images/no_photo.png?P1=1668205841&P2=104&P3=1&P4=rnM2FPGOQRZja018qxAFshyyDKKH5SoUXkdpCeizRsdD7Ggb9sLSsdEaq-icgk8g-QTHFd0Te4e1gWAZTGEQekSQop6G6zDcipIVbZMJStEzfKKUpSPckcXnRhfiI55yq5AOLhVcH2PP_ZBFF-0KXMaP8Hy4dGDIRzmnUGhFuik0yjNBoGaYL86ltEaDMQdpS6rS3lmIMzLPGEMfr30vethAxRT7SKBbNYxZ9iPxO6TY26cYCfv0VyyMQkGGviPU4__EVjOoklhD_AqFGFGHtRTcsafpKOxCE70Z-nUpIPbYCel3las7w105u4SvPPC00Q5LUMDynUvzPiR4-vbWPg&size=48x48
|
|
170
|
+
mugshot_redirect_url : https://www.yammer.com/mugshot/images/redirect/48x48/no_photo.png
|
|
171
|
+
mugshot_url_template : https://mugshot0eu-1.assets-yammer.com/mugshot/images/no_photo.png?P1=1668205841&P2=104&P3=1&P4=rnM2FPGOQRZja018qxAFshyyDKKH5SoUXkdpCeizRsdD7Ggb9sLSsdEaq-icgk8g-QTHFd0Te4e1gWAZTGEQekSQop6G6zDcipIVbZMJStEzfKKUpSPckcXnRhfiI55yq5AOLhVcH2PP_ZBFF-0KXMaP8Hy4dGDIRzmnUGhFuik0yjNBoGaYL86ltEaDMQdpS6rS3lmIMzLPGEMfr30vethAxRT7SKBbNYxZ9iPxO6TY26cYCfv0VyyMQkGGviPU4__EVjOoklhD_AqFGFGHtRTcsafpKOxCE70Z-nUpIPbYCel3las7w105u4SvPPC00Q5LUMDynUvzPiR4-vbWPg&size={width}x{height}
|
|
172
|
+
mugshot_redirect_url_template: https://www.yammer.com/mugshot/images/redirect/{width}x{height}/no_photo.png
|
|
173
|
+
birth_date :
|
|
174
|
+
birth_date_complete :
|
|
175
|
+
timezone : Pacific Time (US & Canada)
|
|
176
|
+
external_urls : []
|
|
177
|
+
admin : true
|
|
178
|
+
verified_admin : true
|
|
179
|
+
m365_yammer_admin : false
|
|
180
|
+
supervisor_admin : false
|
|
181
|
+
o365_tenant_admin : true
|
|
182
|
+
can_broadcast : true
|
|
183
|
+
department : null
|
|
184
|
+
email : johndoe@contoso.onmicrosoft.com
|
|
185
|
+
guest : false
|
|
186
|
+
aad_guest : false
|
|
187
|
+
can_view_delegations : false
|
|
188
|
+
can_create_new_network : false
|
|
189
|
+
can_browse_external_networks: false
|
|
190
|
+
reaction_accent_color : none
|
|
191
|
+
significant_other :
|
|
192
|
+
kids_names :
|
|
193
|
+
previous_companies : []
|
|
194
|
+
schools : []
|
|
195
|
+
show_invite_lightbox : false
|
|
196
|
+
age_bucket : notSet
|
|
155
197
|
```
|
|
156
198
|
|
|
157
199
|
</TabItem>
|
|
158
200
|
<TabItem value="CSV">
|
|
159
201
|
|
|
160
202
|
```csv
|
|
161
|
-
id,full_name,email,
|
|
162
|
-
172006440961,
|
|
203
|
+
type,id,network_id,state,job_title,location,interests,summary,expertise,full_name,activated_at,auto_activated,show_ask_for_photo,first_name,last_name,network_name,network_domains,url,web_url,name,mugshot_url,mugshot_redirect_url,mugshot_url_template,mugshot_redirect_url_template,birth_date,birth_date_complete,timezone,external_urls,admin,verified_admin,m365_yammer_admin,supervisor_admin,o365_tenant_admin,can_broadcast,department,email,guest,aad_guest,can_view_delegations,can_create_new_network,can_browse_external_networks,reaction_accent_color,significant_other,kids_names,previous_companies,schools,show_invite_lightbox,age_bucket
|
|
204
|
+
user,172006440961,5897756673,active,,,null,null,null,johndoe,"2021/10/08 11:45:32 +0000",false,true,,,Contoso,"[contoso.onmicrosoft.com]","https://www.yammer.com/api/v1/users/172006440961","https://www.yammer.com/contoso.onmicrosoft.com/users/172006440961",admvalo,"https://mugshot0eu-1.assets-yammer.com/mugshot/images/no_photo.png?P1=1668205841&P2=104&P3=1&P4=rnM2FPGOQRZja018qxAFshyyDKKH5SoUXkdpCeizRsdD7Ggb9sLSsdEaq-icgk8g-QTHFd0Te4e1gWAZTGEQekSQop6G6zDcipIVbZMJStEzfKKUpSPckcXnRhfiI55yq5AOLhVcH2PP_ZBFF-0KXMaP8Hy4dGDIRzmnUGhFuik0yjNBoGaYL86ltEaDMQdpS6rS3lmIMzLPGEMfr30vethAxRT7SKBbNYxZ9iPxO6TY26cYCfv0VyyMQkGGviPU4__EVjOoklhD_AqFGFGHtRTcsafpKOxCE70Z-nUpIPbYCel3las7w105u4SvPPC00Q5LUMDynUvzPiR4-vbWPg&size=48x48","https://www.yammer.com/mugshot/images/redirect/48x48/no_photo.png","https://mugshot0eu-1.assets-yammer.com/mugshot/images/no_photo.png?P1=1668205841&P2=104&P3=1&P4=rnM2FPGOQRZja018qxAFshyyDKKH5SoUXkdpCeizRsdD7Ggb9sLSsdEaq-icgk8g-QTHFd0Te4e1gWAZTGEQekSQop6G6zDcipIVbZMJStEzfKKUpSPckcXnRhfiI55yq5AOLhVcH2PP_ZBFF-0KXMaP8Hy4dGDIRzmnUGhFuik0yjNBoGaYL86ltEaDMQdpS6rS3lmIMzLPGEMfr30vethAxRT7SKBbNYxZ9iPxO6TY26cYCfv0VyyMQkGGviPU4__EVjOoklhD_AqFGFGHtRTcsafpKOxCE70Z-nUpIPbYCel3las7w105u4SvPPC00Q5LUMDynUvzPiR4-vbWPg&size={width}x{height}","https://www.yammer.com/mugshot/images/redirect/{width}x{height}/no_photo.png",,"",Pacific Time (US & Canada),[],true,true,false,false,true,true,null,johndoe@contoso.onmicrosoft.com,false,false,false,false,false,none,,,[],[],false,notSet
|
|
163
205
|
```
|
|
164
206
|
|
|
165
207
|
</TabItem>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnp/cli-microsoft365",
|
|
3
|
-
"version": "10.5.0
|
|
3
|
+
"version": "10.5.0",
|
|
4
4
|
"description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/api.js",
|
|
@@ -312,4 +312,4 @@
|
|
|
312
312
|
"sinon": "^19.0.2",
|
|
313
313
|
"source-map-support": "^0.5.21"
|
|
314
314
|
}
|
|
315
|
-
}
|
|
315
|
+
}
|