@pnp/cli-microsoft365 5.0.0-beta.6fb0d2a → 5.0.0-beta.77249d9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.devcontainer/devcontainer.json +12 -9
- package/.eslintrc.js +2 -0
- package/.mocharc.json +9 -0
- package/README.md +2 -2
- package/dist/Auth.js +22 -9
- package/dist/Command.js +1 -1
- package/dist/api.d.ts +13 -0
- package/dist/api.js +17 -0
- package/dist/cli/Cli.js +19 -4
- package/dist/m365/aad/commands/app/app-add.js +43 -7
- package/dist/m365/aad/commands/app/app-delete.js +123 -0
- package/dist/m365/aad/commands/app/app-get.js +56 -11
- package/dist/m365/aad/commands/app/app-set.js +98 -3
- package/dist/m365/aad/commands/group/group-list.js +14 -1
- package/dist/m365/aad/commands/o365group/o365group-conversation-list.js +41 -0
- package/dist/m365/aad/commands.js +2 -0
- package/dist/m365/cli/commands/config/config-set.js +1 -0
- package/dist/m365/outlook/commands/room/room-list.js +43 -0
- package/dist/m365/outlook/commands/roomlist/roomlist-list.js +25 -0
- package/dist/m365/outlook/commands.js +2 -0
- package/dist/m365/planner/commands/task/task-details-get.js +39 -0
- package/dist/m365/planner/commands/task/task-get.js +37 -0
- package/dist/m365/planner/commands/task/task-list.js +37 -7
- package/dist/m365/planner/commands.js +2 -0
- package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.14.0-beta.5.js → upgrade-1.14.0.js} +25 -25
- package/dist/m365/spfx/commands/project/project-upgrade.js +13 -15
- package/dist/m365/spfx/commands/spfx-doctor.js +25 -6
- package/dist/m365/spo/commands/group/group-user-add.js +15 -8
- package/dist/m365/spo/commands/group/group-user-remove.js +100 -0
- package/dist/m365/spo/commands.js +1 -0
- package/dist/m365/teams/commands/app/app-install.js +75 -21
- package/dist/m365/teams/commands/app/app-update.js +54 -12
- package/dist/m365/teams/commands/channel/channel-get.js +29 -7
- package/dist/m365/teams/commands/chat/chat-message-send.js +225 -0
- package/dist/m365/teams/commands.js +1 -0
- package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-healthissue-get.js +39 -0
- package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-healthissue-list.js +38 -0
- package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-message-get.js +3 -6
- package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-message-list.js +6 -14
- package/dist/m365/tenant/commands.js +2 -0
- package/dist/settingsNames.js +7 -6
- package/docs/docs/cmd/aad/app/app-delete.md +51 -0
- package/docs/docs/cmd/aad/app/app-get.md +12 -1
- package/docs/docs/cmd/aad/app/app-set.md +21 -0
- package/docs/docs/cmd/aad/group/group-list.md +9 -0
- package/docs/docs/cmd/aad/o365group/o365group-conversation-list.md +24 -0
- package/docs/docs/cmd/outlook/room/room-list.md +30 -0
- package/docs/docs/cmd/outlook/roomlist/roomlist-list.md +21 -0
- package/docs/docs/cmd/planner/task/task-details-get.md +24 -0
- package/docs/docs/cmd/planner/task/task-get.md +29 -0
- package/docs/docs/cmd/planner/task/task-list.md +5 -0
- package/docs/docs/cmd/search/externalconnection/externalconnection-add.md +3 -3
- package/docs/docs/cmd/spfx/project/project-upgrade.md +8 -8
- package/docs/docs/cmd/spo/group/group-user-add.md +4 -0
- package/docs/docs/cmd/spo/group/group-user-remove.md +39 -0
- package/docs/docs/cmd/teams/app/app-install.md +22 -4
- package/docs/docs/cmd/teams/app/app-update.md +12 -3
- package/docs/docs/cmd/teams/channel/channel-get.md +11 -2
- package/docs/docs/cmd/teams/chat/chat-message-send.md +55 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-get.md +24 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-list.md +34 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-list.md +3 -3
- package/npm-shrinkwrap.json +838 -767
- package/package.json +23 -18
- package/dist/m365/base/AadCommand.js +0 -10
|
@@ -10,8 +10,11 @@ m365 teams app update [options]
|
|
|
10
10
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
|
-
`-i, --id
|
|
14
|
-
: ID of the app to update
|
|
13
|
+
`-i, --id [id]`
|
|
14
|
+
: ID of the app to update. Specify either id or name, but not both
|
|
15
|
+
|
|
16
|
+
`-n, --name [name]`
|
|
17
|
+
: The display name of the app to update. Specify either id or name, but not both
|
|
15
18
|
|
|
16
19
|
`-p, --filePath <filePath>`
|
|
17
20
|
: Absolute or relative path to the Teams manifest zip file to update in the app catalog
|
|
@@ -28,4 +31,10 @@ Update the Teams app with ID _83cece1e-938d-44a1-8b86-918cf6151957_ from file _t
|
|
|
28
31
|
|
|
29
32
|
```sh
|
|
30
33
|
m365 teams app update --id 83cece1e-938d-44a1-8b86-918cf6151957 --filePath ./teams-manifest.zip
|
|
31
|
-
```
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Update the Teams app with name _Test app_ from file _teams-manifest.zip_
|
|
37
|
+
|
|
38
|
+
```sh
|
|
39
|
+
m365 teams app update --name "Test app" --filePath ./teams-manifest.zip
|
|
40
|
+
```
|
|
@@ -16,12 +16,15 @@ m365 teams channel get [options]
|
|
|
16
16
|
`--teamName [teamName]`
|
|
17
17
|
: The display name of the team to which the channel belongs to. Specify either teamId or teamName but not both
|
|
18
18
|
|
|
19
|
-
`-c, --channelId
|
|
19
|
+
`-c, --channelId [channelId]`
|
|
20
20
|
: The ID of the channel for which to retrieve more information. Specify either channelId or channelName but not both
|
|
21
21
|
|
|
22
22
|
`--channelName [channelName]`
|
|
23
23
|
: The display name of the channel for which to retrieve more information. Specify either channelId or channelName but not both
|
|
24
24
|
|
|
25
|
+
`--primary`
|
|
26
|
+
: Gets the default channel, General, of a team. If specified, channelId or channelName are not needed
|
|
27
|
+
|
|
25
28
|
--8<-- "docs/cmd/_global.md"
|
|
26
29
|
|
|
27
30
|
## Examples
|
|
@@ -36,4 +39,10 @@ Get information about Microsoft Teams team channel with name _Channel Name_
|
|
|
36
39
|
|
|
37
40
|
```sh
|
|
38
41
|
m365 teams channel get --teamName "Team Name" --channelName "Channel Name"
|
|
39
|
-
```
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Get information about Microsoft Teams team primary channel , i.e. General
|
|
45
|
+
|
|
46
|
+
```sh
|
|
47
|
+
m365 teams channel get --teamName "Team Name" --primary
|
|
48
|
+
```
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# teams chat message send
|
|
2
|
+
|
|
3
|
+
Sends a chat message to a Microsoft Teams chat conversation.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 teams chat message send [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`--chatId [chatId]`
|
|
14
|
+
: The ID of the chat conversation. Specify either `chatId`, `chatName` or `userEmails`, but not multiple.
|
|
15
|
+
|
|
16
|
+
`--chatName [chatName]`
|
|
17
|
+
: The display name of the chat conversation. Specify either `chatId`, `chatName` or `userEmails`, but not multiple.
|
|
18
|
+
|
|
19
|
+
`-e, --userEmails [userEmails]`
|
|
20
|
+
: A comma-separated list of one or more e-mail addresses. Specify either `chatId`, `chatName` or `userEmails`, but not multiple.
|
|
21
|
+
|
|
22
|
+
`-m, --message <message>`
|
|
23
|
+
: The message to send
|
|
24
|
+
|
|
25
|
+
--8<-- "docs/cmd/_global.md"
|
|
26
|
+
|
|
27
|
+
## Remarks
|
|
28
|
+
|
|
29
|
+
A new chat conversation will be created if no existing conversation with the participants specified with emails is found.
|
|
30
|
+
|
|
31
|
+
## Examples
|
|
32
|
+
|
|
33
|
+
Send a message to a Microsoft Teams chat conversation by id
|
|
34
|
+
|
|
35
|
+
```sh
|
|
36
|
+
m365 teams chat message send --chatId 19:2da4c29f6d7041eca70b638b43d45437@thread.v2
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Send a message to a single person
|
|
40
|
+
|
|
41
|
+
```sh
|
|
42
|
+
m365 teams chat message send --userEmails alexw@contoso.com
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Send a message to a group of people
|
|
46
|
+
|
|
47
|
+
```sh
|
|
48
|
+
m365 teams chat message send --userEmails alexw@contoso.com,meganb@contoso.com
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Send a message to a chat conversation finding it by display name
|
|
52
|
+
|
|
53
|
+
```sh
|
|
54
|
+
m365 teams chat message send --chatName "Just a conversation"
|
|
55
|
+
```
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# tenant serviceannouncement healthissue get
|
|
2
|
+
|
|
3
|
+
Gets a specified service health issue for tenant.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 tenant serviceannouncement healthissue get [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-i, --id <id>`
|
|
14
|
+
: The issue id to get details for
|
|
15
|
+
|
|
16
|
+
--8<-- "docs/cmd/_global.md"
|
|
17
|
+
|
|
18
|
+
## Examples
|
|
19
|
+
|
|
20
|
+
Gets information about issue with ID _MO226784_
|
|
21
|
+
|
|
22
|
+
```sh
|
|
23
|
+
m365 tenant serviceannouncement healthissue get --id MO226784
|
|
24
|
+
```
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# tenant serviceannouncement healthissue list
|
|
2
|
+
|
|
3
|
+
Gets all service health issues for the tenant.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 tenant serviceannouncement healthissue list [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-s, --service [service]`
|
|
14
|
+
: Retrieve service health issues for the particular service. If not provided, retrieves health issues for all services
|
|
15
|
+
|
|
16
|
+
--8<-- "docs/cmd/\_global.md"
|
|
17
|
+
|
|
18
|
+
## Examples
|
|
19
|
+
|
|
20
|
+
Get service health issues of all services in Microsoft 365
|
|
21
|
+
|
|
22
|
+
```sh
|
|
23
|
+
m365 tenant serviceannouncement healthissue list
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Get service health issues for Microsoft Forms
|
|
27
|
+
|
|
28
|
+
```sh
|
|
29
|
+
m365 tenant serviceannouncement healthissue list --service "Microsoft Forms"
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## More information
|
|
33
|
+
|
|
34
|
+
- List serviceAnnouncement issues: [https://docs.microsoft.com/en-us/graph/api/serviceannouncement-list-issues](https://docs.microsoft.com/en-us/graph/api/serviceannouncement-list-issues)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# tenant serviceannouncement message list
|
|
2
2
|
|
|
3
|
-
Gets all service update messages
|
|
3
|
+
Gets all service update messages for the tenant.
|
|
4
4
|
|
|
5
5
|
## Usage
|
|
6
6
|
|
|
@@ -13,7 +13,7 @@ m365 tenant serviceannouncement message list [options]
|
|
|
13
13
|
`-s, --service [service]`
|
|
14
14
|
: Retrieve service update messages for the particular service. If not provided, retrieves messages for all services
|
|
15
15
|
|
|
16
|
-
--8<-- "docs/cmd
|
|
16
|
+
--8<-- "docs/cmd/\_global.md"
|
|
17
17
|
|
|
18
18
|
## Examples
|
|
19
19
|
|
|
@@ -31,4 +31,4 @@ m365 tenant serviceannouncement message list --service "Microsoft Teams"
|
|
|
31
31
|
|
|
32
32
|
## More information
|
|
33
33
|
|
|
34
|
-
- List serviceAnnouncement messages: [https://docs.microsoft.com/en-us/graph/api/serviceannouncement-list-messages](https://docs.microsoft.com/en-us/graph/api/serviceannouncement-list-messages)
|
|
34
|
+
- List serviceAnnouncement messages: [https://docs.microsoft.com/en-us/graph/api/serviceannouncement-list-messages](https://docs.microsoft.com/en-us/graph/api/serviceannouncement-list-messages)
|