@pnp/cli-microsoft365 5.0.0-beta.117f66f → 5.0.0-beta.156f91b

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.
Files changed (77) hide show
  1. package/.devcontainer/devcontainer.json +9 -1
  2. package/.eslintrc.js +1 -0
  3. package/dist/Command.js +1 -1
  4. package/dist/Utils.js +7 -0
  5. package/dist/api.d.ts +11 -0
  6. package/dist/api.js +17 -0
  7. package/dist/cli/Cli.js +26 -13
  8. package/dist/m365/aad/commands/app/app-add.js +43 -7
  9. package/dist/m365/aad/commands/app/app-delete.js +126 -0
  10. package/dist/m365/aad/commands/group/group-list.js +49 -0
  11. package/dist/m365/aad/commands/o365group/{Group.js → GroupExtended.js} +1 -1
  12. package/dist/m365/aad/commands/o365group/o365group-user-set.js +3 -3
  13. package/dist/m365/aad/commands/user/user-get.js +33 -6
  14. package/dist/m365/aad/commands/user/user-hibp.js +67 -0
  15. package/dist/m365/aad/commands/user/user-list.js +7 -4
  16. package/dist/m365/aad/commands.js +3 -0
  17. package/dist/m365/cli/commands/config/config-set.js +4 -1
  18. package/dist/m365/flow/commands/flow-get.js +2 -2
  19. package/dist/m365/pa/cds-project-mutator.js +1 -1
  20. package/dist/m365/{aad/commands/o365group/GroupUser.js → planner/AppliedCategories.js} +1 -1
  21. package/dist/m365/planner/commands/task/task-add.js +288 -0
  22. package/dist/m365/planner/commands/task/task-details-get.js +39 -0
  23. package/dist/m365/planner/commands/task/task-get.js +50 -0
  24. package/dist/m365/planner/commands/task/task-list.js +37 -7
  25. package/dist/m365/planner/commands/task/task-set.js +357 -0
  26. package/dist/m365/planner/commands.js +5 -1
  27. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014008_CODE_launch_hostedWorkbench_type.js +62 -0
  28. package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.14.0-beta.4.js → upgrade-1.14.0-rc.2.js} +27 -25
  29. package/dist/m365/spfx/commands/project/project-upgrade.js +1 -1
  30. package/dist/m365/spo/commands/group/group-user-add.js +64 -13
  31. package/dist/m365/spo/commands/group/group-user-remove.js +100 -0
  32. package/dist/m365/spo/commands/site/site-ensure.js +1 -1
  33. package/dist/m365/spo/commands/site/site-recyclebinitem-list.js +76 -0
  34. package/dist/m365/spo/commands.js +2 -0
  35. package/dist/m365/teams/commands/app/app-list.js +9 -6
  36. package/dist/m365/teams/commands/chat/chat-list.js +43 -0
  37. package/dist/m365/teams/commands/chat/chat-member-list.js +42 -0
  38. package/dist/m365/teams/commands/chat/chat-message-list.js +60 -0
  39. package/dist/m365/teams/commands/message/message-get.js +1 -1
  40. package/dist/m365/teams/commands/tab/tab-get.js +9 -6
  41. package/dist/m365/teams/commands.js +3 -0
  42. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-health-get.js +57 -0
  43. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-health-list.js +56 -0
  44. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-healthissue-get.js +39 -0
  45. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-healthissue-list.js +38 -0
  46. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-message-get.js +51 -0
  47. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-message-list.js +38 -0
  48. package/dist/m365/tenant/commands.js +6 -0
  49. package/dist/settingsNames.js +6 -1
  50. package/docs/docs/cmd/aad/app/app-delete.md +51 -0
  51. package/docs/docs/cmd/aad/group/group-list.md +30 -0
  52. package/docs/docs/cmd/aad/user/user-get.md +13 -4
  53. package/docs/docs/cmd/aad/user/user-hibp.md +46 -0
  54. package/docs/docs/cmd/aad/user/user-list.md +9 -0
  55. package/docs/docs/cmd/planner/task/task-add.md +78 -0
  56. package/docs/docs/cmd/planner/task/task-details-get.md +24 -0
  57. package/docs/docs/cmd/planner/task/task-get.md +29 -0
  58. package/docs/docs/cmd/planner/task/task-list.md +5 -0
  59. package/docs/docs/cmd/planner/task/task-set.md +99 -0
  60. package/docs/docs/cmd/search/externalconnection/externalconnection-add.md +3 -3
  61. package/docs/docs/cmd/spo/group/group-user-add.md +24 -6
  62. package/docs/docs/cmd/spo/group/group-user-remove.md +39 -0
  63. package/docs/docs/cmd/spo/site/site-recyclebinitem-list.md +40 -0
  64. package/docs/docs/cmd/teams/channel/channel-get.md +1 -1
  65. package/docs/docs/cmd/teams/chat/chat-list.md +30 -0
  66. package/docs/docs/cmd/teams/chat/chat-member-list.md +24 -0
  67. package/docs/docs/cmd/teams/chat/chat-message-list.md +24 -0
  68. package/docs/docs/cmd/teams/message/message-get.md +0 -3
  69. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-get.md +33 -0
  70. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-list.md +30 -0
  71. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-get.md +24 -0
  72. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-list.md +34 -0
  73. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-get.md +28 -0
  74. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-list.md +34 -0
  75. package/npm-shrinkwrap.json +938 -1001
  76. package/package.json +31 -27
  77. package/dist/m365/base/AadCommand.js +0 -10
@@ -0,0 +1,40 @@
1
+ # spo site recyclebinitem list
2
+
3
+ Lists items from recycle bin
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 spo site recyclebinitem list [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-u, --siteUrl <siteUrl>`
14
+ : URL of the site for which to retrieve the recycle bin items
15
+
16
+ `--type [type]`
17
+ : Type of items which should be retrieved (listItems, folders, files)
18
+
19
+ `--secondary`
20
+ : Use this switch to retrieve items from secondary recycle bin
21
+
22
+ --8<-- "docs/cmd/_global.md"
23
+
24
+ ## Remarks
25
+
26
+ When type is not specified then the command will return all items in the recycle bin
27
+
28
+ ## Examples
29
+
30
+ Lists all files, items and folders from recycle bin for site _https://contoso.sharepoint.com/site_
31
+
32
+ ```sh
33
+ m365 spo site recyclebinitem list --siteUrl https://contoso.sharepoint.com/site
34
+ ```
35
+
36
+ Lists only files from recycle bin for site _https://contoso.sharepoint.com/site_
37
+
38
+ ```sh
39
+ m365 spo site recyclebinitem list --siteUrl https://contoso.sharepoint.com/site --type files
40
+ ```
@@ -16,7 +16,7 @@ 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 <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]`
@@ -0,0 +1,30 @@
1
+ # teams chat list
2
+
3
+ Lists all Microsoft Teams chat conversations for the current user.
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 teams chat list [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-t, --type [chatType]`
14
+ : The chat type to optionally filter chat conversations by type. The value can be `oneOnOne`, `group` or `meeting`.
15
+
16
+ --8<-- "docs/cmd/_global.md"
17
+
18
+ ## Examples
19
+
20
+ List all the Microsoft Teams chat conversations of the current user.
21
+
22
+ ```sh
23
+ m365 teams chat list
24
+ ```
25
+
26
+ List only the one on one Microsoft Teams chat conversations.
27
+
28
+ ```sh
29
+ m365 teams chat list --type oneOnOne
30
+ ```
@@ -0,0 +1,24 @@
1
+ # teams chat member list
2
+
3
+ Lists all members from a Microsoft Teams chat conversation.
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 teams chat member list [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-i, --chatId <chatId>`
14
+ : The ID of the chat conversation
15
+
16
+ --8<-- "docs/cmd/_global.md"
17
+
18
+ ## Examples
19
+
20
+ List the members from a Microsoft Teams chat conversation
21
+
22
+ ```sh
23
+ m365 teams chat member list --chatId 19:8b081ef6-4792-4def-b2c9-c363a1bf41d5_5031bb31-22c0-4f6f-9f73-91d34ab2b32d@unq.gbl.spaces
24
+ ```
@@ -0,0 +1,24 @@
1
+ # teams chat message list
2
+
3
+ Lists all messages from a Microsoft Teams chat conversation.
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 teams chat message list [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-i, --chatId <chatId>`
14
+ : The ID of the chat conversation
15
+
16
+ --8<-- "docs/cmd/_global.md"
17
+
18
+ ## Examples
19
+
20
+ List the messages from a Microsoft Teams chat conversation
21
+
22
+ ```sh
23
+ m365 teams chat message list --chatId 19:2da4c29f6d7041eca70b638b43d45437@thread.v2
24
+ ```
@@ -23,9 +23,6 @@ m365 teams message get [options]
23
23
 
24
24
  ## Remarks
25
25
 
26
- !!! attention
27
- This command is based on an API that is currently in preview and is subject to change once the API reached general availability.
28
-
29
26
  You can only retrieve a message from a Microsoft Teams team if you are a member of that team.
30
27
 
31
28
  ## Examples
@@ -0,0 +1,33 @@
1
+ # tenant service announcement health get
2
+
3
+ Get the health report of a specified service for a tenant
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 tenant serviceannouncement health get [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-s, --serviceName <serviceName>`
14
+ : The service name to retrieve the health report for.
15
+
16
+ `-i, --issues`
17
+ : Return the collection of issues that happened on the service, with detailed information for each issue. Is only returned in JSON output mode.
18
+
19
+ --8<-- "docs/cmd/\_global.md"
20
+
21
+ ## Examples
22
+
23
+ Get the health report for the service _Exchange Online_
24
+
25
+ ```sh
26
+ m365 tenant serviceannouncement health get --serviceName "Exchange Online"
27
+ ```
28
+
29
+ Get the health report for the service _Exchange Online_ including the issues of the service
30
+
31
+ ```sh
32
+ m365 tenant serviceannouncement health get --serviceName "Exchange Online" --issues
33
+ ```
@@ -0,0 +1,30 @@
1
+ # tenant service announcement health list
2
+
3
+ Gets the health report of all subscribed services for a tenant
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 tenant serviceannouncement health list [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-i, --issues`
14
+ : Return the collection of issues that happened on the service, with detailed information for each issue. Is only returned in JSON output mode.
15
+
16
+ --8<-- "docs/cmd/_global.md"
17
+
18
+ ## Examples
19
+
20
+ Get the health report of all subscribed services for a tenant
21
+
22
+ ```sh
23
+ m365 tenant serviceannouncement health list
24
+ ```
25
+
26
+ Get the health report of all subscribed services for a tenant including the issues that happend on each service
27
+
28
+ ```sh
29
+ m365 tenant serviceannouncement health list --issues
30
+ ```
@@ -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)
@@ -0,0 +1,28 @@
1
+ # tenant serviceannouncement message get
2
+
3
+ Retrieves a specified service update message for the tenant
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 tenant serviceannouncement message get [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-i, --id <id>`
14
+ : The ID of the service update message.
15
+
16
+ --8<-- "docs/cmd/_global.md"
17
+
18
+ ## Examples
19
+
20
+ Get service update message with ID MC001337
21
+
22
+ ```sh
23
+ m365 tenant serviceannouncement message get --id MC001337
24
+ ```
25
+
26
+ ## More information
27
+
28
+ - Microsoft Graph REST API reference: [https://docs.microsoft.com/en-us/graph/api/serviceupdatemessage-get](https://docs.microsoft.com/en-us/graph/api/serviceupdatemessage-get)
@@ -0,0 +1,34 @@
1
+ # tenant serviceannouncement message list
2
+
3
+ Gets all service update messages for the tenant.
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 tenant serviceannouncement message list [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-s, --service [service]`
14
+ : Retrieve service update messages for the particular service. If not provided, retrieves messages for all services
15
+
16
+ --8<-- "docs/cmd/\_global.md"
17
+
18
+ ## Examples
19
+
20
+ Get service update messages of all services in Microsoft 365
21
+
22
+ ```sh
23
+ m365 tenant serviceannouncement message list
24
+ ```
25
+
26
+ Get service update messages for Microsoft Teams
27
+
28
+ ```sh
29
+ m365 tenant serviceannouncement message list --service "Microsoft Teams"
30
+ ```
31
+
32
+ ## More information
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)