@pnp/cli-microsoft365 9.0.0-beta.e69e8d0 → 9.0.0-beta.f2c5f82
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/cli/cli.js +11 -6
- package/dist/m365/cli/commands/cli-consent.js +3 -7
- package/dist/m365/entra/commands/enterpriseapp/enterpriseapp-remove.js +123 -0
- package/dist/m365/entra/commands/group/group-set.js +256 -0
- package/dist/m365/entra/commands.js +3 -0
- package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-get.js +0 -1
- package/dist/m365/teams/commands/message/message-restore.js +106 -0
- package/dist/m365/teams/commands.js +1 -0
- package/dist/m365/viva/commands/engage/engage-group-list.js +0 -5
- package/dist/m365/viva/commands/engage/engage-group-user-add.js +0 -5
- package/dist/m365/viva/commands/engage/engage-group-user-remove.js +0 -5
- package/dist/m365/viva/commands/engage/engage-message-add.js +0 -5
- package/dist/m365/viva/commands/engage/engage-message-get.js +0 -5
- package/dist/m365/viva/commands/engage/engage-message-like-set.js +0 -5
- package/dist/m365/viva/commands/engage/engage-message-list.js +0 -5
- package/dist/m365/viva/commands/engage/engage-message-remove.js +0 -5
- package/dist/m365/viva/commands/engage/engage-network-list.js +0 -5
- package/dist/m365/viva/commands/engage/engage-report-activitycounts.js +0 -8
- package/dist/m365/viva/commands/engage/engage-report-activityusercounts.js +0 -8
- package/dist/m365/viva/commands/engage/engage-report-activityuserdetail.js +0 -8
- package/dist/m365/viva/commands/engage/engage-report-deviceusagedistributionusercounts.js +0 -8
- package/dist/m365/viva/commands/engage/engage-report-deviceusageusercounts.js +0 -8
- package/dist/m365/viva/commands/engage/engage-report-deviceusageuserdetail.js +0 -8
- package/dist/m365/viva/commands/engage/engage-report-groupsactivitycounts.js +0 -8
- package/dist/m365/viva/commands/engage/engage-report-groupsactivitydetail.js +0 -8
- package/dist/m365/viva/commands/engage/engage-report-groupsactivitygroupcounts.js +0 -8
- package/dist/m365/viva/commands/engage/engage-search.js +0 -5
- package/dist/m365/viva/commands/engage/engage-user-get.js +0 -5
- package/dist/m365/viva/commands/engage/engage-user-list.js +0 -5
- package/docs/docs/cmd/cli/cli-consent.mdx +1 -1
- package/docs/docs/cmd/entra/enterpriseapp/enterpriseapp-remove.mdx +65 -0
- package/docs/docs/cmd/entra/group/group-add.mdx +0 -4
- package/docs/docs/cmd/entra/group/group-set.mdx +89 -0
- package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-get.mdx +6 -5
- package/docs/docs/cmd/teams/message/message-remove.mdx +2 -1
- package/docs/docs/cmd/teams/message/message-restore.mdx +62 -0
- package/npm-shrinkwrap.json +0 -1
- package/package.json +1 -2
- package/dist/m365/viva/commands/engage/yammerCommands.js +0 -25
|
@@ -93,7 +93,10 @@ m365 spo applicationcustomizer get --id 14125658-a9bc-4ddf-9c75-1b5767c9a337 --w
|
|
|
93
93
|
"Name": "{4a428b32-08cf-45c7-9986-17585af38806}",
|
|
94
94
|
"RegistrationId": null,
|
|
95
95
|
"RegistrationType": 0,
|
|
96
|
-
"Rights":
|
|
96
|
+
"Rights": {
|
|
97
|
+
"High": 0,
|
|
98
|
+
"Low": 0
|
|
99
|
+
},
|
|
97
100
|
"Scope": "Web",
|
|
98
101
|
"ScriptBlock": null,
|
|
99
102
|
"ScriptSrc": null,
|
|
@@ -120,7 +123,6 @@ m365 spo applicationcustomizer get --id 14125658-a9bc-4ddf-9c75-1b5767c9a337 --w
|
|
|
120
123
|
Name : {4a428b32-08cf-45c7-9986-17585af38806}
|
|
121
124
|
RegistrationId : null
|
|
122
125
|
RegistrationType : 0
|
|
123
|
-
Rights : {"High":"0","Low":"0"}
|
|
124
126
|
Scope : Web
|
|
125
127
|
ScriptBlock : null
|
|
126
128
|
ScriptSrc : null
|
|
@@ -134,8 +136,8 @@ m365 spo applicationcustomizer get --id 14125658-a9bc-4ddf-9c75-1b5767c9a337 --w
|
|
|
134
136
|
<TabItem value="CSV">
|
|
135
137
|
|
|
136
138
|
```csv
|
|
137
|
-
ClientSideComponentId,ClientSideComponentProperties,CommandUIExtension,Description,Group,
|
|
138
|
-
9a8b100c-246b-4592-9454-67826523e159,"{""testMessage"":""Test message""}"
|
|
139
|
+
ClientSideComponentId,ClientSideComponentProperties,CommandUIExtension,Description,Group,Id,ImageUrl,Location,Name,RegistrationId,RegistrationType,Scope,ScriptBlock,ScriptSrc,Sequence,Title,Url,VersionOfUserCustomAction
|
|
140
|
+
9a8b100c-246b-4592-9454-67826523e159,"{""testMessage"":""Test message""}",,,,4a428b32-08cf-45c7-9986-17585af38806,,ClientSideExtension.ApplicationCustomizer,Some customizer,,0,Web,,,0,Some customizer,,16.0.1.0
|
|
139
141
|
```
|
|
140
142
|
|
|
141
143
|
</TabItem>
|
|
@@ -157,7 +159,6 @@ m365 spo applicationcustomizer get --id 14125658-a9bc-4ddf-9c75-1b5767c9a337 --w
|
|
|
157
159
|
Location | ClientSideExtension.ApplicationCustomizer
|
|
158
160
|
Name | {4a428b32-08cf-45c7-9986-17585af38806}
|
|
159
161
|
RegistrationType | 0
|
|
160
|
-
Rights | {"High":"0","Low":"0"}
|
|
161
162
|
Scope | Web
|
|
162
163
|
Sequence | 65536
|
|
163
164
|
Title | HelloWorld
|
|
@@ -36,7 +36,6 @@ m365 teams message remove [options]
|
|
|
36
36
|
|
|
37
37
|
## Remarks
|
|
38
38
|
|
|
39
|
-
You can only remove Microsoft Teams messages that you created yourself.
|
|
40
39
|
|
|
41
40
|
:::info
|
|
42
41
|
|
|
@@ -44,6 +43,8 @@ This command does only support delegated permissions.
|
|
|
44
43
|
|
|
45
44
|
:::
|
|
46
45
|
|
|
46
|
+
You can only remove Microsoft Teams messages that you created yourself.
|
|
47
|
+
|
|
47
48
|
## Examples
|
|
48
49
|
|
|
49
50
|
Remove a message by using IDs
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
4
|
+
|
|
5
|
+
# teams message restore
|
|
6
|
+
|
|
7
|
+
Restores a deleted message from a channel in a Microsoft Teams team
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
m365 teams message restore [options]
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
```md definition-list
|
|
18
|
+
`--teamId [teamId]`
|
|
19
|
+
: ID of the Microsoft Teams team. Specify either `teamId` or `teamName` but not both.
|
|
20
|
+
|
|
21
|
+
`--teamName [teamName]`
|
|
22
|
+
: Name of the Microsoft Teams team. Specify either `teamId` or `teamName` but not both.
|
|
23
|
+
|
|
24
|
+
`--channelId [channelId]`
|
|
25
|
+
: Channel ID of the Microsoft Teams team. Specify either `channelId` or `channelName` but not both.
|
|
26
|
+
|
|
27
|
+
`--channelName [channelName]`
|
|
28
|
+
: Channel name of the Microsoft Teams team. Specify either `channelId` or `channelName` but not both.
|
|
29
|
+
|
|
30
|
+
`-i, --id <id>`
|
|
31
|
+
: The ID of the Teams message.
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
<Global />
|
|
35
|
+
|
|
36
|
+
## Remarks
|
|
37
|
+
|
|
38
|
+
:::info
|
|
39
|
+
|
|
40
|
+
This command does only support delegated permissions.
|
|
41
|
+
|
|
42
|
+
:::
|
|
43
|
+
|
|
44
|
+
You can only restore Microsoft Teams messages that you created yourself.
|
|
45
|
+
|
|
46
|
+
## Examples
|
|
47
|
+
|
|
48
|
+
Restore a deleted message by using IDs
|
|
49
|
+
|
|
50
|
+
```sh
|
|
51
|
+
m365 teams message restore --teamId 5f5d7b71-1161-44d8-bcc1-3da710eb4171 --channelId 19:4a95f7d8db4c4e7fae857bcebe0623e6@thread.tacv2 --id 1540747442203
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Restore a deleted message by using display names
|
|
55
|
+
|
|
56
|
+
```sh
|
|
57
|
+
m365 teams message restore --teamName Marketing --channelName Branding --id 1540747442203
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Response
|
|
61
|
+
|
|
62
|
+
The command won't return a response on success.
|
package/npm-shrinkwrap.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnp/cli-microsoft365",
|
|
3
|
-
"version": "9.0.0-beta.
|
|
3
|
+
"version": "9.0.0-beta.f2c5f82",
|
|
4
4
|
"description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/api.js",
|
|
@@ -271,7 +271,6 @@
|
|
|
271
271
|
"easy-table": "^1.2.0",
|
|
272
272
|
"jmespath": "^0.16.0",
|
|
273
273
|
"json-to-ast": "^2.1.0",
|
|
274
|
-
"minimist": "^1.2.8",
|
|
275
274
|
"node-forge": "^1.3.1",
|
|
276
275
|
"omelette": "^0.4.17",
|
|
277
276
|
"open": "^10.1.0",
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
const prefix = 'yammer';
|
|
2
|
-
export default {
|
|
3
|
-
GROUP_LIST: `${prefix} group list`,
|
|
4
|
-
GROUP_USER_ADD: `${prefix} group user add`,
|
|
5
|
-
GROUP_USER_REMOVE: `${prefix} group user remove`,
|
|
6
|
-
MESSAGE_ADD: `${prefix} message add`,
|
|
7
|
-
MESSAGE_GET: `${prefix} message get`,
|
|
8
|
-
MESSAGE_LIKE_SET: `${prefix} message like set`,
|
|
9
|
-
MESSAGE_LIST: `${prefix} message list`,
|
|
10
|
-
MESSAGE_REMOVE: `${prefix} message remove`,
|
|
11
|
-
NETWORK_LIST: `${prefix} network list`,
|
|
12
|
-
REPORT_ACTIVITYCOUNTS: `${prefix} report activitycounts`,
|
|
13
|
-
REPORT_ACTIVITYUSERCOUNTS: `${prefix} report activityusercounts`,
|
|
14
|
-
REPORT_ACTIVITYUSERDETAIL: `${prefix} report activityuserdetail`,
|
|
15
|
-
REPORT_DEVICEUSAGEDISTRIBUTIONUSERCOUNTS: `${prefix} report deviceusagedistributionusercounts`,
|
|
16
|
-
REPORT_DEVICEUSAGEUSERCOUNTS: `${prefix} report deviceusageusercounts`,
|
|
17
|
-
REPORT_DEVICEUSAGEUSERDETAIL: `${prefix} report deviceusageuserdetail`,
|
|
18
|
-
REPORT_GROUPSACTIVITYCOUNTS: `${prefix} report groupsactivitycounts`,
|
|
19
|
-
REPORT_GROUPSACTIVITYDETAIL: `${prefix} report groupsactivitydetail`,
|
|
20
|
-
REPORT_GROUPSACTIVITYGROUPCOUNTS: `${prefix} report groupsactivitygroupcounts`,
|
|
21
|
-
SEARCH: `${prefix} search`,
|
|
22
|
-
USER_GET: `${prefix} user get`,
|
|
23
|
-
USER_LIST: `${prefix} user list`
|
|
24
|
-
};
|
|
25
|
-
//# sourceMappingURL=yammerCommands.js.map
|