@pnp/cli-microsoft365 5.0.0-beta.cdbc898 → 5.0.0-beta.d025005

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 (41) hide show
  1. package/.eslintrc.js +1 -0
  2. package/dist/api.d.ts +11 -0
  3. package/dist/api.js +17 -0
  4. package/dist/cli/Cli.js +19 -4
  5. package/dist/m365/aad/commands/app/app-add.js +43 -7
  6. package/dist/m365/aad/commands/user/user-list.js +7 -4
  7. package/dist/m365/flow/commands/flow-get.js +2 -2
  8. package/dist/m365/planner/AppliedCategories.js +3 -0
  9. package/dist/m365/planner/commands/task/task-details-get.js +39 -0
  10. package/dist/m365/planner/commands/task/task-get.js +37 -0
  11. package/dist/m365/planner/commands/task/task-set.js +357 -0
  12. package/dist/m365/planner/commands.js +4 -1
  13. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014008_CODE_launch_hostedWorkbench_type.js +62 -0
  14. package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.14.0-beta.4.js → upgrade-1.14.0-rc.2.js} +27 -25
  15. package/dist/m365/spfx/commands/project/project-upgrade.js +1 -1
  16. package/dist/m365/spo/commands/group/group-user-add.js +6 -6
  17. package/dist/m365/spo/commands/group/group-user-remove.js +100 -0
  18. package/dist/m365/spo/commands.js +1 -0
  19. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-health-get.js +57 -0
  20. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-health-list.js +56 -0
  21. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-healthissue-get.js +39 -0
  22. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-healthissue-list.js +38 -0
  23. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-message-get.js +51 -0
  24. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-message-list.js +38 -0
  25. package/dist/m365/tenant/commands.js +6 -0
  26. package/docs/docs/cmd/aad/user/user-list.md +9 -0
  27. package/docs/docs/cmd/planner/task/task-details-get.md +24 -0
  28. package/docs/docs/cmd/planner/task/task-get.md +24 -0
  29. package/docs/docs/cmd/planner/task/task-set.md +99 -0
  30. package/docs/docs/cmd/search/externalconnection/externalconnection-add.md +3 -3
  31. package/docs/docs/cmd/spo/group/group-user-remove.md +39 -0
  32. package/docs/docs/cmd/teams/channel/channel-get.md +1 -1
  33. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-get.md +33 -0
  34. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-list.md +30 -0
  35. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-get.md +24 -0
  36. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-list.md +34 -0
  37. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-get.md +28 -0
  38. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-list.md +34 -0
  39. package/npm-shrinkwrap.json +808 -770
  40. package/package.json +19 -18
  41. package/dist/m365/base/AadCommand.js +0 -10
@@ -0,0 +1,99 @@
1
+ # planner task set
2
+
3
+ Updates a Microsoft Planner task
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 planner task set [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-i, --id <id>`
14
+ : ID of the task.
15
+
16
+ `-t, --title [title]`
17
+ : New title of the task.
18
+
19
+ `--bucketId [bucketId]`
20
+ : ID of the bucket to move the task to. Specify either `bucketId` or `bucketName` but not both.
21
+
22
+ `--bucketName [bucketName]`
23
+ : Name of the bucket to move the task to. The bucket needs to exist in the selected plan. Specify either `bucketId` or `bucketName` but not both.
24
+
25
+ `--planId [planId]`
26
+ : ID of the plan to move the task to. Specify either `planId` or `planName` but not both.
27
+
28
+ `--planName [planName]`
29
+ : Name of the plan to move the task to. Specify either `planId` or `planName` but not both.
30
+
31
+ `--ownerGroupId [ownerGroupId]`
32
+ : ID of the group to which the plan belongs. Specify `ownerGroupId` or `ownerGroupName` when using `planName`.
33
+
34
+ `--ownerGroupName [ownerGroupName]`
35
+ : Name of the group to which the plan belongs. Specify `ownerGroupId` or `ownerGroupName` when using `planName`.
36
+
37
+ `--startDateTime [startDateTime]`
38
+ : The date and time when the task started. This should be defined as a valid ISO 8601 string. `2021-12-16T18:28:48.6964197Z`
39
+
40
+ `--dueDateTime [dueDateTime]`
41
+ : The date and time when the task is due. This should be defined as a valid ISO 8601 string. `2021-12-16T18:28:48.6964197Z`
42
+
43
+ `--percentComplete [percentComplete]`
44
+ : Percentage of task completion. Number between 0 and 100.
45
+
46
+ `--assignedToUserIds [assignedToUserIds]`
47
+ : Comma-separated IDs of the assignees that should be added to the task assignment. Specify either `assignedToUserIds` or `assignedToUserNames` but not both.
48
+
49
+ `--assignedToUserNames [assignedToUserNames]`
50
+ : Comma-separated UPNs of the assignees that should be added to the task assignment. Specify either `assignedToUserIds` or `assignedToUserNames` but not both.
51
+
52
+ `--description [description]`
53
+ : Description of the task
54
+
55
+ `--orderHint [orderHint]`
56
+ : Hint used to order items of this type in a list view
57
+
58
+ `--assigneePriority [assigneePriority]`
59
+ : Hint used to order items of this type in a list view
60
+
61
+ `--appliedCategories [appliedCategories]`
62
+ : Comma-separated categories that should be added to the task
63
+
64
+ --8<-- "docs/cmd/_global.md"
65
+
66
+ ## Remarks
67
+
68
+ When you specify the value for `percentageComplete`, consider the following:
69
+
70
+ - when set to 0, the task is considered _Not started_
71
+ - when set between 1 and 99, the task is considered _In progress_
72
+ - when set to 100, the task is considered _Completed_
73
+
74
+ You can add up to 6 categories to the task. An example to add _category1_ and _category3_ would be `category1,category3`.
75
+
76
+ ## Examples
77
+
78
+ Updates a Microsoft Planner task name to _My Planner Task_ for the task with the ID _Z-RLQGfppU6H3663DBzfs5gAMD3o_
79
+
80
+ ```sh
81
+ m365 planner task set --id "Z-RLQGfppU6H3663DBzfs5gAMD3o" --title "My Planner Task"
82
+ ```
83
+
84
+ Moves a Microsoft Planner task with the ID _Z-RLQGfppU6H3663DBzfs5gAMD3o_ to the bucket named _My Planner Bucket_. Based on the plan with the name _My Planner Plan_ owned by the group _My Planner Group_
85
+
86
+ ```sh
87
+ m365 planner task set --id "2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2" --bucketName "My Planner Bucket" --planName "My Planner Plan" --ownerGroupName "My Planner Group"
88
+ ```
89
+
90
+ Marks a Microsoft Planner task with the ID _Z-RLQGfppU6H3663DBzfs5gAMD3o_ as 50% complete and assigned to categories 1 and 3.
91
+
92
+ ```sh
93
+ m365 planner task set --id "2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2" --percentComplete 50 --appliedCategories "category1,category3"
94
+ ```
95
+
96
+ ## Additional information
97
+
98
+ - Using order hints in Planner: [https://docs.microsoft.com/graph/api/resources/planner-order-hint-format?view=graph-rest-1.0](https://docs.microsoft.com/graph/api/resources/planner-order-hint-format?view=graph-rest-1.0)
99
+ - Applied categories in Planner: [https://docs.microsoft.com/graph/api/resources/plannerappliedcategories?view=graph-rest-1.0](https://docs.microsoft.com/en-us/graph/api/resources/plannerappliedcategories?view=graph-rest-1.0)
@@ -30,14 +30,14 @@ The `id` must be at least 3 and no more than 32 characters long. It can contain
30
30
 
31
31
  ## Examples
32
32
 
33
- Adds a new external connection with name and description of test
33
+ Adds a new external connection with name and description of test app
34
34
 
35
35
  ```sh
36
- m365 search externalconnection add --id MyApp --name "My application" --description "Description of your application"
36
+ m365 search externalconnection add --id MyApp --name "Test" --description "Test"
37
37
  ```
38
38
 
39
39
  Adds a new external connection with a limited number of authorized apps
40
40
 
41
41
  ```sh
42
- m365 search externalconnection add --id MyApp --name "My application" --description "Description of your application" --authorizedAppIds "00000000-0000-0000-0000-000000000000,00000000-0000-0000-0000-000000000001,00000000-0000-0000-0000-000000000002"
42
+ m365 search externalconnection add --id MyApp --name "Test" --description "Test" --authorizedAppIds "00000000-0000-0000-0000-000000000000,00000000-0000-0000-0000-000000000001,00000000-0000-0000-0000-000000000002"
43
43
  ```
@@ -0,0 +1,39 @@
1
+ # spo group user remove
2
+
3
+ Removes the specified user from a SharePoint group
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 spo group user remove [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-u, --webUrl <webUrl>`
14
+ : URL of the site where the SharePoint group is available
15
+
16
+ `--groupId [groupId]`
17
+ : Id of the SharePoint group from which user has to be removed from. Use either `groupName` or `groupId`, but not both
18
+
19
+ `--groupName [groupName]`
20
+ : Name of the SharePoint group from which user has to be removed from. Use either `groupName` or `groupId`, but not both
21
+
22
+ `--userName <userName>`
23
+ : User's UPN (user principal name, eg. megan.bowen@contoso.com).
24
+
25
+ --8<-- "docs/cmd/_global.md"
26
+
27
+ ## Examples
28
+
29
+ Remove a user from SharePoint group with id _5_ available on the web _https://contoso.sharepoint.com/sites/SiteA_
30
+
31
+ ```sh
32
+ m365 spo group user remove --webUrl https://contoso.sharepoint.com/sites/SiteA --groupId 5 --userName "Alex.Wilber@contoso.com"
33
+ ```
34
+
35
+ Remove a user from SharePoint group with Name _Site A Visitors_ available on the web _https://contoso.sharepoint.com/sites/SiteA_
36
+
37
+ ```sh
38
+ m365 spo group user remove --webUrl https://contoso.sharepoint.com/sites/SiteA --groupName "Site A Visitors" --userName "Alex.Wilber@contoso.com"
39
+ ```
@@ -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,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)