@pnp/cli-microsoft365 10.5.0-beta.094447f → 10.5.0-beta.31351d1
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-community-user-add.js +113 -0
- package/dist/m365/viva/commands/engage/engage-community-user-remove.js +107 -0
- 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/dist/m365/viva/commands.js +2 -0
- 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-community-user-add.mdx +67 -0
- package/docs/docs/cmd/viva/engage/engage-community-user-remove.mdx +55 -0
- 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 +1 -1
|
@@ -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