@pnp/cli-microsoft365 5.4.0-beta.fdd7cb1 → 5.5.0-beta.5a6c547

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 (38) hide show
  1. package/dist/Auth.js +1 -1
  2. package/dist/m365/aad/commands/app/app-set.js +4 -1
  3. package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-remove.js +129 -0
  4. package/dist/m365/aad/commands.js +1 -0
  5. package/dist/m365/planner/commands/plan/plan-get.js +57 -16
  6. package/dist/m365/planner/commands/task/task-add.js +57 -8
  7. package/dist/m365/planner/commands/task/task-checklistitem-list.js +53 -0
  8. package/dist/m365/planner/commands/task/task-checklistitem-remove.js +85 -0
  9. package/dist/m365/planner/commands/task/task-reference-remove.js +125 -0
  10. package/dist/m365/planner/commands/task/task-set.js +17 -1
  11. package/dist/m365/planner/commands/tenant/tenant-settings-set.js +95 -0
  12. package/dist/m365/planner/commands.js +5 -1
  13. package/dist/m365/planner/taskPriority.js +27 -0
  14. package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.15.0-rc.0.js → upgrade-1.15.0.js} +28 -28
  15. package/dist/m365/spfx/commands/project/project-upgrade.js +13 -15
  16. package/dist/m365/spo/commands/hubsite/hubsite-list.js +1 -1
  17. package/dist/m365/spo/commands/list/ListPrincipalType.js +13 -0
  18. package/dist/m365/spo/commands/list/list-get.js +6 -0
  19. package/dist/m365/spo/commands/list/list-list.js +10 -1
  20. package/docs/docs/cmd/aad/app/app-set.md +1 -1
  21. package/docs/docs/cmd/aad/o365group/o365group-recyclebinitem-remove.md +45 -0
  22. package/docs/docs/cmd/planner/plan/plan-get.md +14 -2
  23. package/docs/docs/cmd/planner/task/task-add.md +40 -4
  24. package/docs/docs/cmd/planner/task/task-checklistitem-list.md +24 -0
  25. package/docs/docs/cmd/planner/task/task-checklistitem-remove.md +36 -0
  26. package/docs/docs/cmd/planner/task/task-reference-remove.md +39 -0
  27. package/docs/docs/cmd/planner/task/task-set.md +11 -1
  28. package/docs/docs/cmd/planner/tenant/tenant-settings-set.md +56 -0
  29. package/docs/docs/cmd/spfx/project/project-upgrade.md +1 -1
  30. package/docs/docs/cmd/spo/hubsite/hubsite-list.md +1 -4
  31. package/docs/docs/cmd/spo/list/list-list.md +3 -0
  32. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-get.md +1 -1
  33. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-list.md +1 -1
  34. package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-list.md +1 -1
  35. package/npm-shrinkwrap.json +2 -2
  36. package/package.json +1 -1
  37. package/dist/m365/planner/commands/plan/plan-details-get.js +0 -116
  38. package/docs/docs/cmd/planner/plan/plan-details-get.md +0 -45
@@ -39,9 +39,6 @@ m365 planner task add [options]
39
39
 
40
40
  `--percentComplete [percentComplete]`
41
41
  : Percentage of task completion. Number between 0 and 100.
42
- - When set to 0, the task is considered _Not started_.
43
- - When set between 1 and 99, the task is considered _In progress_.
44
- - When set to 100, the task is considered _Completed_.
45
42
 
46
43
  `--assignedToUserIds [assignedToUserIds]`
47
44
  : The comma-separated IDs of the assignees the task is assigned to. Specify either `assignedToUserIds` or `assignedToUserNames` but not both.
@@ -49,14 +46,41 @@ m365 planner task add [options]
49
46
  `--assignedToUserNames [assignedToUserNames]`
50
47
  : The comma-separated UPNs of the assignees the task is assigned to. Specify either `assignedToUserIds` or `assignedToUserNames` but not both.
51
48
 
49
+ `--assigneePriority [assigneePriority]`
50
+ : Hint used to order items of this type in a list view. The format is defined as outlined [here](https://docs.microsoft.com/graph/api/resources/planner-order-hint-format?view=graph-rest-1.0).
51
+
52
52
  `--description [description]`
53
53
  : Description of the task
54
54
 
55
+ `--appliedCategories [appliedCategories]`
56
+ : Comma-separated categories that should be added to the task. The possible options are: `category1`, `category2`, `category3`, `category4`, `category5` and/or `category6`. Additional info defined [here](https://docs.microsoft.com/graph/api/resources/plannerappliedcategories?view=graph-rest-1.0).
57
+
58
+ `--previewType [previewType]`
59
+ : This sets the type of preview that shows up on the task. The possible values are: `automatic`, `noPreview`, `checklist`, `description`, `reference`. When set to automatic the displayed preview is chosen by the app viewing the task. Default `automatic`.
60
+
55
61
  `--orderHint [orderHint]`
56
- : Hint used to order items of this type in a list view. The format is defined as outlined [here](https://docs.microsoft.com/en-us/graph/api/resources/planner-order-hint-format?view=graph-rest-1.0).
62
+ : Hint used to order items of this type in a list view. The format is defined as outlined [here](https://docs.microsoft.com/graph/api/resources/planner-order-hint-format?view=graph-rest-1.0).
63
+
64
+ `--priority [priority]`
65
+ : Priority of the task: Urgent, Important, Medium, Low. Or an integer between 0 and 10 (check remarks section for more info). Default value is Medium.
57
66
 
58
67
  --8<-- "docs/cmd/_global.md"
59
68
 
69
+ ## Remarks
70
+
71
+ When you specify the value for `percentComplete`, consider the following:
72
+
73
+ - when set to 0, the task is considered _Not started_
74
+ - when set between 1 and 99, the task is considered _In progress_
75
+ - when set to 100, the task is considered _Completed_
76
+
77
+ When you specify an integer value for `priority`, consider the following:
78
+
79
+ - values 0 and 1 are interpreted as _Urgent_
80
+ - values 2, 3 and 4 are interpreted as _Important_
81
+ - values 5, 6 and 7 are interpreted as _Medium_
82
+ - values 8, 9 and 10 are interpreted as _Low_
83
+
60
84
  ## Examples
61
85
 
62
86
  Adds a Microsoft Planner task with the name _My Planner Task_ for plan with the ID _8QZEH7b3wkSbGQobscsM5gADCBa_ and for the bucket with the ID _IK8tuFTwQEa5vTonM7ZMRZgAKdna_
@@ -76,3 +100,15 @@ Adds a Microsoft Planner task with the name _My Planner Task_ for plan with the
76
100
  ```sh
77
101
  m365 planner task add --title "My Planner Task" --planId "8QZEH7b3wkSbGQobscsM5gADCBa" --bucketId "IK8tuFTwQEa5vTonM7ZMRZgAKdna" --assignedToUserNames "Allan.Carroll@contoso.com,Ida.Stevens@contoso.com" --dueDateTime "2021-12-16"
78
102
  ```
103
+
104
+ Adds a Microsoft Planner task with the name _My Planner Task_ for plan with the ID _8QZEH7b3wkbGQobscsM5gADCBa_ and for the bucket with the ID _IK8tuFTwQEa5vTonM7ZMRZgAKdna_. The new task will be assigned to the users _Allan.Carroll@contoso.com_ and _Ida.Stevens@contoso.com_ who will appear first with the asssignee priority _' !'_
105
+
106
+ ```sh
107
+ m365 planner task add --title "My Planner Task" --planId "8QZEH7b3wkSbGQobscsM5gADCBa" --bucketId "IK8tuFTwQEa5vTonM7ZMRZgAKdna" --assignedToUserNames "Allan.Carroll@contoso.com,Ida.Stevens@contoso.com" --asssigneePriority ' !'
108
+ ```
109
+
110
+ Adds a Microsoft Planner task with the name _My Planner Task_ for plan with the ID _8QZEH7b3wkbGQobscsM5gADCBa_ and for the bucket with the ID _IK8tuFTwQEa5vTonM7ZMRZgAKdna_. The new task will receive the categories _category1,category3_ and get a preview with the type _noPreview_
111
+
112
+ ```sh
113
+ m365 planner task add --title "My Planner Task" --planId "8QZEH7b3wkSbGQobscsM5gADCBa" --bucketId "IK8tuFTwQEa5vTonM7ZMRZgAKdna" --appliedCategories "category1,category3" --previewType "noPreview"
114
+ ```
@@ -0,0 +1,24 @@
1
+ # planner task checklistitem list
2
+
3
+ Lists the checklist items of a Planner task.
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 planner task checklistitem list [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-i, --taskId <taskId>`
14
+ : ID of the task
15
+
16
+ --8<-- "docs/cmd/_global.md"
17
+
18
+ ## Examples
19
+
20
+ Lists the checklist items of a Planner task.
21
+
22
+ ```sh
23
+ m365 planner task checklistitem list --taskId 'vzCcZoOv-U27PwydxHB8opcADJo-'
24
+ ```
@@ -0,0 +1,36 @@
1
+ # planner task checklistitem remove
2
+
3
+ Removes the checklist item from the Planner task.
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 planner task checklistitem remove [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-i, --id <id>`
14
+ : ID of the checklist item.
15
+
16
+ `--taskId <taskId>`
17
+ : ID of the task.
18
+
19
+ `--confirm`
20
+ : Don't prompt for confirmation
21
+
22
+ --8<-- "docs/cmd/_global.md"
23
+
24
+ ## Examples
25
+
26
+ Removes a checklist item with the id _40012_ from the Planner task with the id _2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2_
27
+
28
+ ```sh
29
+ m365 planner task checklistitem remove --id "40012" --taskId "2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2"
30
+ ```
31
+
32
+ Removes a checklist item with the id _40012_ from the Planner task with the id _2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2_ without prompt
33
+
34
+ ```sh
35
+ m365 planner task checklistitem remove --id "40012" --taskId "2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2" --confirm
36
+ ```
@@ -0,0 +1,39 @@
1
+ # planner task reference remove
2
+
3
+ Removes the reference from the Planner task.
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 planner task reference remove [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-u, --url [url]`
14
+ : URL location of the reference. Specify either `alias` or `url` but not both.
15
+
16
+ `--alias [alias]`
17
+ : The alias of the reference. Specify either `alias` or `url` but not both.
18
+
19
+ `-i, --taskId <taskId>`
20
+ : ID of the task.
21
+
22
+ `--confirm`
23
+ : Don't prompt for confirmation
24
+
25
+ --8<-- "docs/cmd/_global.md"
26
+
27
+ ## Examples
28
+
29
+ Removes a reference with the url _https://www.microsoft.com_ from the Planner task with the id _2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2_
30
+
31
+ ```sh
32
+ m365 planner task reference remove --url "https://www.microsoft.com" --taskId "2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2"
33
+ ```
34
+
35
+ Removes a reference with the alias _Parker_ from the Planner task with the id _2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2_
36
+
37
+ ```sh
38
+ m365 planner task reference remove --alias "Parker" --taskId "2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2"
39
+ ```
@@ -61,16 +61,26 @@ m365 planner task set [options]
61
61
  `--appliedCategories [appliedCategories]`
62
62
  : Comma-separated categories that should be added to the task
63
63
 
64
+ `--priority [priority]`
65
+ : Priority of the task: Urgent, Important, Medium, Low. Or an integer between 0 and 10 (check remarks section for more info).
66
+
64
67
  --8<-- "docs/cmd/_global.md"
65
68
 
66
69
  ## Remarks
67
70
 
68
- When you specify the value for `percentageComplete`, consider the following:
71
+ When you specify the value for `percentComplete`, consider the following:
69
72
 
70
73
  - when set to 0, the task is considered _Not started_
71
74
  - when set between 1 and 99, the task is considered _In progress_
72
75
  - when set to 100, the task is considered _Completed_
73
76
 
77
+ When you specify an integer value for `priority`, consider the following:
78
+
79
+ - values 0 and 1 are interpreted as _Urgent_
80
+ - values 2, 3 and 4 are interpreted as _Important_
81
+ - values 5, 6 and 7 are interpreted as _Medium_
82
+ - values 8, 9 and 10 are interpreted as _Low_
83
+
74
84
  You can add up to 6 categories to the task. An example to add _category1_ and _category3_ would be `category1,category3`.
75
85
 
76
86
  ## Examples
@@ -0,0 +1,56 @@
1
+ # planner tenant settings set
2
+
3
+ Sets Microsoft Planner configuration of the tenant
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 planner tenant settings set [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `--isPlannerAllowed [isPlannerAllowed]`
14
+ : Configure whether Planner should be enabled on the tenant.
15
+
16
+ `--allowCalendarSharing [allowCalendarSharing]`
17
+ : Configure whether Outlook calendar sync is enabled.
18
+
19
+ `--allowTenantMoveWithDataLoss [allowTenantMoveWithDataLoss]`
20
+ : Configure whether a tenant move into a new region is authorized.
21
+
22
+ `--allowTenantMoveWithDataMigration [allowTenantMoveWithDataMigration]`
23
+ : Configure whether a tenant move with data migration is authorized.
24
+
25
+ `--allowRosterCreation [allowRosterCreation]`
26
+ : Configure whether Planner roster creation is allowed.
27
+
28
+ `--allowPlannerMobilePushNotifications [allowPlannerMobilePushNotifications]`
29
+ : Configure whether push notifications are enabled in the mobile app.
30
+
31
+ --8<-- "docs/cmd/_global.md"
32
+
33
+ ## Remarks
34
+
35
+ !!! important
36
+ To use this command you must be a global administrator.
37
+
38
+ ## Examples
39
+
40
+ Disable Microsoft Planner in the tenant
41
+
42
+ ```sh
43
+ m365 planner tenant settings set --isPlannerAllowed false
44
+ ```
45
+
46
+ Disable Outlook calendar sync and mobile push notifications
47
+
48
+ ```sh
49
+ m365 planner tenant settings set --allowCalendarSharing false --allowPlannerMobilePushNotifications false
50
+ ```
51
+
52
+ Enable Microsoft Planner but disallow roster plans to be created
53
+
54
+ ```sh
55
+ m365 planner tenant settings set --isPlannerAllowed true --allowRosterCreation false
56
+ ```
@@ -32,7 +32,7 @@ m365 spfx project upgrade [options]
32
32
 
33
33
  ## Remarks
34
34
 
35
- The `spfx project upgrade` command helps you upgrade your SharePoint Framework project to the specified version. If no version is specified, the command will upgrade to the latest version of the SharePoint Framework it supports (v1.14.0). If you specify the `preview` option without a specific version, the command will upgrade your project to the latest preview version v1.15.0-rc.0.
35
+ The `spfx project upgrade` command helps you upgrade your SharePoint Framework project to the specified version. If no version is specified, the command will upgrade to the latest version of the SharePoint Framework it supports (v1.15.0).
36
36
 
37
37
  This command doesn't change your project files. Instead, it gives you a report with all steps necessary to upgrade your project to the specified version of the SharePoint Framework. Changing project files is error-prone, especially when it comes to updating your solution's code. This is why at this moment, this command produces a report that you can use yourself to perform the necessary updates and verify that everything is working as expected.
38
38
 
@@ -17,10 +17,7 @@ m365 spo hubsite list [options]
17
17
 
18
18
  ## Remarks
19
19
 
20
- !!! attention
21
- This command is based on a SharePoint API that is currently in preview and is subject to change once the API reached general availability.
22
-
23
- When using the text output type (default), the command lists only the values of the `ID`, `SiteUrl` and `Title` properties of the hub site. When setting the output type to JSON, all available properties are included in the command output.
20
+ When using the text or csv output type, the command lists only the values of the `ID`, `SiteUrl` and `Title` properties of the hub site. With the output type as JSON, all available properties are included in the command output.
24
21
 
25
22
  ## Examples
26
23
 
@@ -13,6 +13,9 @@ m365 spo list list [options]
13
13
  `-u, --webUrl <webUrl>`
14
14
  : URL of the site where the lists to retrieve are located
15
15
 
16
+ `--executeWithLimitedPermissions`
17
+ : Use this option to execute this command with site member or visitor permissions. Not specifying this option will require site owner (or admin) permissions.
18
+
16
19
  --8<-- "docs/cmd/_global.md"
17
20
 
18
21
  ## Examples
@@ -16,7 +16,7 @@ m365 tenant serviceannouncement health get [options]
16
16
  `-i, --issues`
17
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
18
 
19
- --8<-- "docs/cmd/\_global.md"
19
+ --8<-- "docs/cmd/_global.md"
20
20
 
21
21
  ## Examples
22
22
 
@@ -13,7 +13,7 @@ m365 tenant serviceannouncement healthissue list [options]
13
13
  `-s, --service [service]`
14
14
  : Retrieve service health issues for the particular service. If not provided, retrieves health issues for all services
15
15
 
16
- --8<-- "docs/cmd/\_global.md"
16
+ --8<-- "docs/cmd/_global.md"
17
17
 
18
18
  ## Examples
19
19
 
@@ -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/\_global.md"
16
+ --8<-- "docs/cmd/_global.md"
17
17
 
18
18
  ## Examples
19
19
 
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@pnp/cli-microsoft365",
3
- "version": "5.4.0",
3
+ "version": "5.5.0",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@pnp/cli-microsoft365",
9
- "version": "5.4.0",
9
+ "version": "5.5.0",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@azure/msal-node": "^1.9.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnp/cli-microsoft365",
3
- "version": "5.4.0-beta.fdd7cb1",
3
+ "version": "5.5.0-beta.5a6c547",
4
4
  "description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/api.js",
@@ -1,116 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const utils_1 = require("../../../../utils");
4
- const Auth_1 = require("../../../../Auth");
5
- const request_1 = require("../../../../request");
6
- const planner_1 = require("../../../../utils/planner");
7
- const GraphCommand_1 = require("../../../base/GraphCommand");
8
- const commands_1 = require("../../commands");
9
- const aadGroup_1 = require("../../../../utils/aadGroup");
10
- class PlannerPlanDetailsGetCommand extends GraphCommand_1.default {
11
- constructor() {
12
- super(...arguments);
13
- this.groupId = '';
14
- }
15
- get name() {
16
- return commands_1.default.PLAN_DETAILS_GET;
17
- }
18
- get description() {
19
- return 'Get details of a Microsoft Planner plan';
20
- }
21
- getTelemetryProperties(args) {
22
- const telemetryProps = super.getTelemetryProperties(args);
23
- telemetryProps.planId = typeof args.options.planId !== 'undefined';
24
- telemetryProps.planTitle = typeof args.options.planTitle !== 'undefined';
25
- telemetryProps.ownerGroupId = typeof args.options.ownerGroupId !== 'undefined';
26
- telemetryProps.ownerGroupName = typeof args.options.ownerGroupName !== 'undefined';
27
- return telemetryProps;
28
- }
29
- commandAction(logger, args, cb) {
30
- if (utils_1.accessToken.isAppOnlyAccessToken(Auth_1.default.service.accessTokens[this.resource].accessToken)) {
31
- this.handleError('This command does not support application permissions.', logger, cb);
32
- return;
33
- }
34
- this
35
- .getGroupId(args)
36
- .then((groupId) => {
37
- this.groupId = groupId;
38
- return this.getPlanId(args);
39
- })
40
- .then((planId) => {
41
- args.options.planId = planId;
42
- return this.getPlanDetails(args);
43
- })
44
- .then((res) => {
45
- logger.log(res);
46
- cb();
47
- }, (err) => this.handleRejectedODataJsonPromise(err, logger, cb));
48
- }
49
- getGroupId(args) {
50
- if (args.options.planId) {
51
- return Promise.resolve('');
52
- }
53
- if (args.options.ownerGroupId) {
54
- return Promise.resolve(args.options.ownerGroupId);
55
- }
56
- return aadGroup_1.aadGroup
57
- .getGroupByDisplayName(args.options.ownerGroupName)
58
- .then(group => group.id);
59
- }
60
- getPlanId(args) {
61
- if (args.options.planId) {
62
- return Promise.resolve(args.options.planId);
63
- }
64
- return planner_1.planner
65
- .getPlanByName(args.options.planTitle, this.groupId)
66
- .then(plan => plan.id);
67
- }
68
- getPlanDetails(args) {
69
- const requestOptions = {
70
- url: `${this.resource}/v1.0/planner/plans/${args.options.planId}/details`,
71
- headers: {
72
- 'accept': 'application/json;odata.metadata=none'
73
- },
74
- responseType: 'json'
75
- };
76
- return request_1.default.get(requestOptions);
77
- }
78
- options() {
79
- const options = [
80
- {
81
- option: '-i, --planId [planId]'
82
- },
83
- {
84
- option: '-t, --planTitle [planTitle]'
85
- },
86
- {
87
- option: '--ownerGroupId [ownerGroupId]'
88
- },
89
- {
90
- option: '--ownerGroupName [ownerGroupName]'
91
- }
92
- ];
93
- const parentOptions = super.options();
94
- return options.concat(parentOptions);
95
- }
96
- validate(args) {
97
- if (!args.options.planId && !args.options.planTitle) {
98
- return 'Specify either planId or planTitle';
99
- }
100
- if (args.options.planId && args.options.planTitle) {
101
- return 'Specify either planId or planTitle';
102
- }
103
- if (args.options.planTitle && !args.options.ownerGroupId && !args.options.ownerGroupName) {
104
- return 'Specify either ownerGroupId or ownerGroupName';
105
- }
106
- if (args.options.planTitle && args.options.ownerGroupId && args.options.ownerGroupName) {
107
- return 'Specify either ownerGroupId or ownerGroupName but not both';
108
- }
109
- if (args.options.ownerGroupId && !utils_1.validation.isValidGuid(args.options.ownerGroupId)) {
110
- return `${args.options.ownerGroupId} is not a valid GUID`;
111
- }
112
- return true;
113
- }
114
- }
115
- module.exports = new PlannerPlanDetailsGetCommand();
116
- //# sourceMappingURL=plan-details-get.js.map
@@ -1,45 +0,0 @@
1
- # planner plan details get
2
-
3
- Retrieve the planner details about the specified plan.
4
-
5
- ## Usage
6
-
7
- ```sh
8
- m365 planner plan details get [options]
9
- ```
10
-
11
- ## Options
12
-
13
- `-i, --planId [planId]`
14
- : ID of the plan. Specify either `planId` or `planTitle` but not both.
15
-
16
- `-t, --planTitle [planTitle]`
17
- : Title of the plan. Specify either `planId` or `planTitle` but not both.
18
-
19
- `--ownerGroupId [ownerGroupId]`
20
- : ID of the Group that owns the plan. Specify either `ownerGroupId` or `ownerGroupName` when using `planTitle`.
21
-
22
- `--ownerGroupName [ownerGroupName]`
23
- : Name of the Group that owns the plan. Specify either `ownerGroupId` or `ownerGroupName` when using `planTitle`.
24
-
25
- --8<-- "docs/cmd/_global.md"
26
-
27
- ## Examples
28
-
29
- Returns the Microsoft Planner plan details with id _gndWOTSK60GfPQfiDDj43JgACDCb_
30
-
31
- ```sh
32
- m365 planner plan details get --planId "gndWOTSK60GfPQfiDDj43JgACDCb"
33
- ```
34
-
35
- Returns the Microsoft Planner plan details with title _MyPlan_ for Group _233e43d0-dc6a-482e-9b4e-0de7a7bce9b4_
36
-
37
- ```sh
38
- m365 planner plan details get --planTitle "MyPlan" --ownerGroupId "233e43d0-dc6a-482e-9b4e-0de7a7bce9b4"
39
- ```
40
-
41
- Returns the Microsoft Planner plan details with title _MyPlan_ for Group _My Planner Group_
42
-
43
- ```sh
44
- m365 planner plan details get --planTitle "MyPlan" --ownerGroupName "My Planner Group"
45
- ```