@pnp/cli-microsoft365 6.3.0-beta.e46ffee → 6.3.0-beta.f76dcaa

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 (149) hide show
  1. package/.eslintrc.js +8 -0
  2. package/dist/Command.js +12 -1
  3. package/dist/cli/Cli.js +42 -1
  4. package/dist/m365/aad/commands/group/group-list.js +2 -1
  5. package/dist/m365/aad/commands/user/user-recyclebinitem-clear.js +103 -0
  6. package/dist/m365/aad/commands/user/user-recyclebinitem-remove.js +92 -0
  7. package/dist/m365/aad/commands.js +2 -0
  8. package/dist/m365/base/O365MgmtCommand.js +10 -0
  9. package/dist/m365/context/commands/option/option-list.js +54 -0
  10. package/dist/m365/context/commands.js +1 -0
  11. package/dist/m365/graph/commands/changelog/changelog-list.js +3 -2
  12. package/dist/m365/onenote/commands/notebook/notebook-list.js +51 -40
  13. package/dist/m365/pa/commands/environment/environment-get.js +13 -5
  14. package/dist/m365/planner/commands/plan/plan-get.js +40 -26
  15. package/dist/m365/planner/commands/plan/plan-list.js +24 -14
  16. package/dist/m365/planner/commands/plan/plan-set.js +21 -10
  17. package/dist/m365/planner/commands/roster/roster-get.js +61 -0
  18. package/dist/m365/planner/commands/roster/roster-member-add.js +113 -0
  19. package/dist/m365/planner/commands/roster/roster-member-list.js +54 -0
  20. package/dist/m365/planner/commands/roster/roster-member-remove.js +140 -0
  21. package/dist/m365/planner/commands/task/task-add.js +3 -0
  22. package/dist/m365/planner/commands/task/task-checklistitem-add.js +2 -1
  23. package/dist/m365/planner/commands/task/task-checklistitem-list.js +2 -1
  24. package/dist/m365/planner/commands.js +4 -0
  25. package/dist/m365/pp/commands/environment/environment-get.js +18 -9
  26. package/dist/m365/pp/commands/solution/solution-get.js +2 -1
  27. package/dist/m365/pp/commands/solution/solution-list.js +2 -1
  28. package/dist/m365/purview/commands/auditlog/auditlog-list.js +205 -0
  29. package/dist/m365/purview/commands/retentionevent/retentionevent-get.js +75 -0
  30. package/dist/m365/purview/commands/retentionevent/retentionevent-list.js +46 -0
  31. package/dist/m365/purview/commands/retentionevent/retentionevent-remove.js +97 -0
  32. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-add.js +77 -0
  33. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-get.js +13 -8
  34. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-list.js +43 -0
  35. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-remove.js +97 -0
  36. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-set.js +90 -0
  37. package/dist/m365/purview/commands/retentionlabel/retentionlabel-add.js +5 -0
  38. package/dist/m365/purview/commands/retentionlabel/retentionlabel-get.js +5 -0
  39. package/dist/m365/purview/commands/retentionlabel/retentionlabel-list.js +5 -0
  40. package/dist/m365/purview/commands/retentionlabel/retentionlabel-remove.js +5 -0
  41. package/dist/m365/purview/commands/retentionlabel/retentionlabel-set.js +11 -1
  42. package/dist/m365/purview/commands.js +8 -0
  43. package/dist/m365/spo/commands/app/app-add.js +2 -1
  44. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-add.js +95 -0
  45. package/dist/m365/spo/commands/customaction/customaction-get.js +17 -66
  46. package/dist/m365/spo/commands/customaction/customaction-list.js +2 -36
  47. package/dist/m365/spo/commands/customaction/customaction-remove.js +11 -18
  48. package/dist/m365/spo/commands/file/GraphFileDetails.js +0 -1
  49. package/dist/m365/spo/commands/file/file-sharinginfo-get.js +2 -1
  50. package/dist/m365/spo/commands/file/file-sharinglink-add.js +2 -22
  51. package/dist/m365/spo/commands/file/file-sharinglink-clear.js +137 -0
  52. package/dist/m365/spo/commands/file/file-sharinglink-get.js +2 -25
  53. package/dist/m365/spo/commands/file/file-sharinglink-list.js +9 -29
  54. package/dist/m365/spo/commands/file/file-sharinglink-remove.js +2 -25
  55. package/dist/m365/spo/commands/file/file-sharinglink-set.js +104 -0
  56. package/dist/m365/spo/commands/group/group-list.js +2 -1
  57. package/dist/m365/spo/commands/hubsite/hubsite-get.js +1 -1
  58. package/dist/m365/spo/commands/listitem/listitem-add.js +2 -1
  59. package/dist/m365/spo/commands/listitem/listitem-list.js +2 -1
  60. package/dist/m365/spo/commands/navigation/navigation-node-get.js +73 -0
  61. package/dist/m365/spo/commands/page/page-column-get.js +2 -1
  62. package/dist/m365/spo/commands/page/page-column-list.js +2 -1
  63. package/dist/m365/spo/commands/page/page-section-get.js +2 -1
  64. package/dist/m365/spo/commands/page/page-section-list.js +2 -1
  65. package/dist/m365/spo/commands/sitedesign/sitedesign-add.js +6 -0
  66. package/dist/m365/spo/commands/spo-search.js +2 -1
  67. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-add.js +179 -0
  68. package/dist/m365/spo/commands/term/term-list.js +2 -1
  69. package/dist/m365/spo/commands/userprofile/userprofile-get.js +2 -2
  70. package/dist/m365/spo/commands.js +5 -0
  71. package/dist/m365/teams/commands/meeting/meeting-list.js +1 -1
  72. package/dist/m365/teams/commands/team/team-app-list.js +1 -1
  73. package/dist/m365/teams/commands/user/user-app-list.js +2 -1
  74. package/dist/m365/todo/commands/task/task-get.js +2 -1
  75. package/dist/m365/todo/commands/task/task-list.js +2 -1
  76. package/dist/m365/yammer/commands/yammer-search.js +2 -1
  77. package/dist/utils/aadUser.js +38 -0
  78. package/dist/utils/planner.js +13 -2
  79. package/dist/utils/spo.js +89 -0
  80. package/docs/docs/cmd/aad/user/user-recyclebinitem-clear.md +42 -0
  81. package/docs/docs/cmd/aad/user/user-recyclebinitem-remove.md +45 -0
  82. package/docs/docs/cmd/context/option/option-list.md +63 -0
  83. package/docs/docs/cmd/login.md +26 -0
  84. package/docs/docs/cmd/logout.md +4 -0
  85. package/docs/docs/cmd/pa/app/app-get.md +24 -0
  86. package/docs/docs/cmd/pa/app/app-list.md +21 -0
  87. package/docs/docs/cmd/pa/connector/connector-list.md +17 -0
  88. package/docs/docs/cmd/pa/environment/environment-get.md +26 -2
  89. package/docs/docs/cmd/pa/environment/environment-list.md +19 -0
  90. package/docs/docs/cmd/planner/plan/plan-get.md +21 -7
  91. package/docs/docs/cmd/planner/plan/plan-list.md +16 -2
  92. package/docs/docs/cmd/planner/plan/plan-set.md +10 -4
  93. package/docs/docs/cmd/planner/roster/roster-get.md +73 -0
  94. package/docs/docs/cmd/planner/roster/roster-member-add.md +87 -0
  95. package/docs/docs/cmd/planner/roster/roster-member-list.md +76 -0
  96. package/docs/docs/cmd/planner/roster/roster-member-remove.md +51 -0
  97. package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-get.md +43 -0
  98. package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-list.md +43 -0
  99. package/docs/docs/cmd/pp/card/card-clone.md +12 -0
  100. package/docs/docs/cmd/pp/card/card-get.md +49 -0
  101. package/docs/docs/cmd/pp/card/card-list.md +49 -0
  102. package/docs/docs/cmd/pp/chatbot/chatbot-get.md +55 -0
  103. package/docs/docs/cmd/pp/chatbot/chatbot-list.md +36 -0
  104. package/docs/docs/cmd/pp/dataverse/dataverse-table-get.md +30 -0
  105. package/docs/docs/cmd/pp/dataverse/dataverse-table-list.md +30 -0
  106. package/docs/docs/cmd/pp/dataverse/dataverse-table-row-list.md +30 -0
  107. package/docs/docs/cmd/pp/environment/environment-get.md +19 -0
  108. package/docs/docs/cmd/pp/environment/environment-list.md +19 -0
  109. package/docs/docs/cmd/pp/gateway/gateway-get.md +19 -0
  110. package/docs/docs/cmd/pp/gateway/gateway-list.md +19 -0
  111. package/docs/docs/cmd/pp/managementapp/managementapp-add.md +12 -0
  112. package/docs/docs/cmd/pp/managementapp/managementapp-list.md +12 -0
  113. package/docs/docs/cmd/pp/solution/solution-get.md +14 -0
  114. package/docs/docs/cmd/pp/solution/solution-list.md +14 -0
  115. package/docs/docs/cmd/pp/solution/solution-publisher-get.md +20 -1
  116. package/docs/docs/cmd/pp/solution/solution-publisher-list.md +18 -0
  117. package/docs/docs/cmd/pp/tenant/tenant-settings-list.md +21 -0
  118. package/docs/docs/cmd/purview/auditlog/auditlog-list.md +123 -0
  119. package/docs/docs/cmd/purview/retentionevent/retentionevent-get.md +132 -0
  120. package/docs/docs/cmd/purview/retentionevent/retentionevent-list.md +107 -0
  121. package/docs/docs/cmd/purview/retentionevent/retentionevent-remove.md +45 -0
  122. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.md +106 -0
  123. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-get.md +3 -0
  124. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-list.md +97 -0
  125. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-remove.md +43 -0
  126. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-set.md +43 -0
  127. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.md +3 -0
  128. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-get.md +3 -0
  129. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-list.md +3 -0
  130. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.md +3 -0
  131. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-set.md +3 -0
  132. package/docs/docs/cmd/request.md +74 -0
  133. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.md +56 -0
  134. package/docs/docs/cmd/spo/file/file-sharinglink-clear.md +46 -0
  135. package/docs/docs/cmd/spo/file/file-sharinglink-list.md +1 -1
  136. package/docs/docs/cmd/spo/file/file-sharinglink-set.md +104 -0
  137. package/docs/docs/cmd/spo/list/list-contenttype-add.md +1 -1
  138. package/docs/docs/cmd/spo/list/list-contenttype-default-set.md +1 -1
  139. package/docs/docs/cmd/spo/list/list-contenttype-list.md +1 -1
  140. package/docs/docs/cmd/spo/list/list-contenttype-remove.md +1 -1
  141. package/docs/docs/cmd/spo/navigation/navigation-node-add.md +1 -1
  142. package/docs/docs/cmd/spo/navigation/navigation-node-get.md +91 -0
  143. package/docs/docs/cmd/spo/navigation/navigation-node-set.md +1 -1
  144. package/docs/docs/cmd/spo/sitedesign/sitedesign-add.md +3 -0
  145. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.md +59 -0
  146. package/docs/docs/cmd/status.md +46 -0
  147. package/docs/docs/cmd/version.md +26 -0
  148. package/npm-shrinkwrap.json +911 -876
  149. package/package.json +12 -12
@@ -11,39 +11,53 @@ m365 planner plan get [options]
11
11
  ## Options
12
12
 
13
13
  `-i, --id [id]`
14
- : ID of the plan. Specify either `id` or `title` but not both.
14
+ : ID of the plan. Specify either `id`, `title` or `rosterId` but not multiple.
15
15
 
16
16
  `-t, --title [title]`
17
- : Title of the plan. Specify either `id` or `title` but not both.
17
+ : Title of the plan. Specify either `id`, `title` or `rosterId` but not multiple.
18
+
19
+ `--rosterId [rosterId]`
20
+ : ID of the Planner Roster. Specify either `id`, `title` or `rosterId` but not multiple.
18
21
 
19
22
  `--ownerGroupId [ownerGroupId]`
20
- : ID of the Group that owns the plan. Specify either `ownerGroupId` or `ownerGroupName` when using `title`.
23
+ : ID of the Group that owns the plan. Specify either `ownerGroupId` or `ownerGroupName` when using `title` but not both.
21
24
 
22
25
  `--ownerGroupName [ownerGroupName]`
23
- : Name of the Group that owns the plan. Specify either `ownerGroupId` or `ownerGroupName` when using `title`.
26
+ : Name of the Group that owns the plan. Specify either `ownerGroupId` or `ownerGroupName` when using `title` but not both.
24
27
 
25
28
  --8<-- "docs/cmd/_global.md"
26
29
 
30
+ ## Remarks
31
+
32
+ !!! attention
33
+ When using `rosterId`, the command is based on an API that is currently in preview and is subject to change once the API reached general availability.
34
+
27
35
  ## Examples
28
36
 
29
- Returns the Microsoft Planner plan with id _gndWOTSK60GfPQfiDDj43JgACDCb_
37
+ Returns the Microsoft Planner plan by id
30
38
 
31
39
  ```sh
32
40
  m365 planner plan get --id "gndWOTSK60GfPQfiDDj43JgACDCb"
33
41
  ```
34
42
 
35
- Returns the Microsoft Planner plan with title _MyPlan_ for Group _233e43d0-dc6a-482e-9b4e-0de7a7bce9b4_
43
+ Returns the Microsoft Planner plan by title and owner group id
36
44
 
37
45
  ```sh
38
46
  m365 planner plan get --title "MyPlan" --ownerGroupId "233e43d0-dc6a-482e-9b4e-0de7a7bce9b4"
39
47
  ```
40
48
 
41
- Returns the Microsoft Planner plan with title _MyPlan_ for Group _My Planner Group_
49
+ Returns the Microsoft Planner plan by title and owner group name
42
50
 
43
51
  ```sh
44
52
  m365 planner plan get --title "MyPlan" --ownerGroupName "My Planner Group"
45
53
  ```
46
54
 
55
+ Returns the Microsoft Planner plan by roster id
56
+
57
+ ```sh
58
+ m365 planner plan get --rosterId "FeMZFDoK8k2oWmuGE-XFHZcAEwtn"
59
+ ```
60
+
47
61
  ## Response
48
62
 
49
63
  === "JSON"
@@ -11,13 +11,21 @@ m365 planner plan list [options]
11
11
  ## Options
12
12
 
13
13
  `--ownerGroupId [ownerGroupId]`
14
- : ID of the Group that owns the plan. Specify either `ownerGroupId` or `ownerGroupName` but not both.
14
+ : ID of the Group that owns the plan. Specify either `ownerGroupId`, `ownerGroupName` or `rosterId`.
15
15
 
16
16
  `--ownerGroupName [ownerGroupName]`
17
- : Name of the Group that owns the plan. Specify either `ownerGroupId` or `ownerGroupName` but not both.
17
+ : Name of the Group that owns the plan. Specify either `ownerGroupId`, `ownerGroupName` or `rosterId`.
18
+
19
+ `--rosterId [rosterId]`
20
+ : ID of the Planner Roster. Specify either `ownerGroupId`, `ownerGroupName` or `rosterId`.
18
21
 
19
22
  --8<-- "docs/cmd/_global.md"
20
23
 
24
+ ## Remarks
25
+
26
+ !!! attention
27
+ When using rosterId, the command is based on an API that is currently in preview and is subject to change once the API reached general availability.
28
+
21
29
  ## Examples
22
30
 
23
31
  Returns a list of Microsoft Planner plans for Group _233e43d0-dc6a-482e-9b4e-0de7a7bce9b4_
@@ -32,6 +40,12 @@ Returns a list of Microsoft Planner plans for Group _My Planner Group_
32
40
  m365 planner plan list --ownerGroupName "My Planner Group"
33
41
  ```
34
42
 
43
+ Returns a list of Microsoft Planner plans for Roster _FeMZFDoK8k2oWmuGE-XFHZcAEwtn_
44
+
45
+ ```sh
46
+ m365 planner plan list --rosterId "FeMZFDoK8k2oWmuGE-XFHZcAEwtn"
47
+ ```
48
+
35
49
  ## Response
36
50
 
37
51
  === "JSON"
@@ -11,16 +11,19 @@ m365 planner plan set [options]
11
11
  ## Options
12
12
 
13
13
  `-i, --id [id]`
14
- : ID of the plan. Specify either `id` or `title` but not both.
14
+ : ID of the plan. Specify either `id`, `title` or `rosterId` but not multiple.
15
15
 
16
16
  `-t, --title [title]`
17
- : Title of the plan. Specify either `id` or `title` but not both.
17
+ : Title of the plan. Specify either `id`, `title` or `rosterId` but not multiple.
18
+
19
+ `--rosterId [rosterId]`
20
+ : ID of the Planner Roster. Specify either `id`, `title` or `rosterId` but not multiple.
18
21
 
19
22
  `--ownerGroupId [ownerGroupId]`
20
- : ID of the group to which the plan belongs. Specify either `ownerGroupId` or `ownerGroupName` when using `title`.
23
+ : ID of the group to which the plan belongs. Specify either `ownerGroupId` or `ownerGroupName` when using `title` but not both.
21
24
 
22
25
  `--ownerGroupName [ownerGroupName]`
23
- : Name of the Group to which the plan belongs. Specify either `ownerGroupId` or `ownerGroupName` when using `title`.
26
+ : Name of the Group to which the plan belongs. Specify either `ownerGroupId` or `ownerGroupName` when using `title` but not both.
24
27
 
25
28
  `--newTitle [newTitle]`
26
29
  : New title of the plan.
@@ -40,6 +43,9 @@ This command allows using unknown options.
40
43
  `--category1 [category1]`
41
44
  : New label for a category. Define the category key within your option to update the related label. Category 1 to 25 are available. E.g., `--category4`, `--category12`.
42
45
 
46
+ !!! attention
47
+ When using `rosterId`, the command is based on an API that is currently in preview and is subject to change once the API reached general availability.
48
+
43
49
  ## Examples
44
50
 
45
51
  Updates a Microsoft Planner plan title to New Title
@@ -0,0 +1,73 @@
1
+ # planner roster get
2
+
3
+ Gets information about the specific Microsoft Planner Roster.
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 planner roster get [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `--id <id>`
14
+ : ID of the Planner Roster.
15
+
16
+ --8<-- "docs/cmd/_global.md"
17
+
18
+ ## Remarks
19
+
20
+ !!! attention
21
+ This command is based on an API that is currently in preview and is subject to change once the API reached general availability.
22
+
23
+ ## Examples
24
+
25
+ Gets information about a specific Planner Roster.
26
+
27
+ ```sh
28
+ m365 planner roster get --id tYqYlNd6eECmsNhN_fcq85cAGAnd
29
+ ```
30
+
31
+ ## Response
32
+
33
+ === "JSON"
34
+
35
+ ```json
36
+ {
37
+ "id": "tYqYlNd6eECmsNhN_fcq85cAGAnd",
38
+ "assignedSensitivityLabel": null
39
+ }
40
+ ```
41
+
42
+ === "Text"
43
+
44
+ ```text
45
+ assignedSensitivityLabel: null
46
+ id : tYqYlNd6eECmsNhN_fcq85cAGAnd
47
+ ```
48
+
49
+ === "CSV"
50
+
51
+ ```csv
52
+ id,assignedSensitivityLabel
53
+ tYqYlNd6eECmsNhN_fcq85cAGAnd,
54
+ ```
55
+
56
+ === "Markdown"
57
+
58
+ ```md
59
+ # planner roster get --id "tYqYlNd6eECmsNhN_fcq85cAGAnd"
60
+
61
+ Date: 1/30/2023
62
+
63
+ ## undefined (tYqYlNd6eECmsNhN_fcq85cAGAnd)
64
+
65
+ Property | Value
66
+ ---------|-------
67
+ id | tYqYlNd6eECmsNhN_fcq85cAGAnd
68
+ assignedSensitivityLabel | null
69
+ ```
70
+
71
+ ## Additional information
72
+
73
+ Rosters are a new type of container for Microsoft Planner plans. This enables users to create a Planner plan without the need to create a new Microsoft 365 group (with a mailbox, SharePoint site, ...). Access to Roster-contained plans is controlled by the members on the Roster. A Planner Roster can contain only 1 plan.
@@ -0,0 +1,87 @@
1
+ # planner roster member add
2
+
3
+ Adds a user to a Microsoft Planner Roster
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 planner roster member add [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `--rosterId <rosterId>`
14
+ : ID of the Planner Roster.
15
+
16
+ `--userId [userId]`
17
+ : User's Azure AD ID. Specify either `userId`, `userName` but not both.
18
+
19
+ `--userName [userName]`
20
+ : User's UPN (user principal name, e.g. johndoe@example.com). Specify either `userId`, `userName` but not both.
21
+
22
+ --8<-- "docs/cmd/_global.md"
23
+
24
+ ## Remarks
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
+ ## Examples
30
+
31
+ Adds a specific user by user name as member of the Planner Roster
32
+
33
+ ```sh
34
+ m365 planner roster member add --rosterId tYqYlNd6eECmsNhN_fcq85cAGAnd --userName john.doe@contoso.com
35
+ ```
36
+
37
+ Adds a specific user by ID as member of the Planner Roster
38
+
39
+ ```sh
40
+ m365 planner roster member add --rosterId tYqYlNd6eECmsNhN_fcq85cAGAnd --userId d049a857-f1c3-4fb3-a629-d8cfb3bd7275
41
+ ```
42
+
43
+ ## Response
44
+
45
+ === "JSON"
46
+
47
+ ```json
48
+ {
49
+ "id": "b3a1be03-54a5-43d2-b4fb-6562fe9bec0b",
50
+ "userId": "2056d2f6-3257-4253-8cfc-b73393e414e5",
51
+ "tenantId": "5b7b813c-2339-48cd-8c51-bd4fcb269420",
52
+ "roles": []
53
+ }
54
+ ```
55
+
56
+ === "Text"
57
+
58
+ ```text
59
+ id : b3a1be03-54a5-43d2-b4fb-6562fe9bec0b
60
+ roles : []
61
+ tenantId: 5b7b813c-2339-48cd-8c51-bd4fcb269420
62
+ userId : 2056d2f6-3257-4253-8cfc-b73393e414e5
63
+ ```
64
+
65
+ === "CSV"
66
+
67
+ ```csv
68
+ id,userId,tenantId,roles
69
+ b3a1be03-54a5-43d2-b4fb-6562fe9bec0b,2056d2f6-3257-4253-8cfc-b73393e414e5,5b7b813c-2339-48cd-8c51-bd4fcb269420,[]
70
+ ```
71
+
72
+ === "Markdown"
73
+
74
+ ```md
75
+ # planner roster member add --rosterId "tYqYlNd6eECmsNhN_fcq85cAGAnd" --userId "2056d2f6-3257-4253-8cfc-b73393e414e5"
76
+
77
+ Date: 6/2/2023
78
+
79
+ ## b3a1be03-54a5-43d2-b4fb-6562fe9bec0b
80
+
81
+ Property | Value
82
+ ---------|-------
83
+ id | b3a1be03-54a5-43d2-b4fb-6562fe9bec0b
84
+ userId | 2056d2f6-3257-4253-8cfc-b73393e414e5
85
+ tenantId | 5b7b813c-2339-48cd-8c51-bd4fcb269420
86
+ roles | []
87
+ ```
@@ -0,0 +1,76 @@
1
+ # planner roster member list
2
+
3
+ Lists members of the specified Microsoft Planner Roster
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 planner roster member list [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `--rosterId <rosterId>`
14
+ : ID of the Planner Roster.
15
+
16
+ --8<-- "docs/cmd/_global.md"
17
+
18
+ ## Remarks
19
+
20
+ !!! attention
21
+ This command is based on an API that is currently in preview and is subject to change once the API reached general availability.
22
+
23
+ ## Examples
24
+
25
+ Lists members of the specified Microsoft Planner Roster
26
+
27
+ ```sh
28
+ m365 planner roster member list --rosterId tYqYlNd6eECmsNhN_fcq85cAGAnd
29
+ ```
30
+
31
+ ## Response
32
+
33
+ === "JSON"
34
+
35
+ ```json
36
+ [
37
+ {
38
+ "id": "b3a1be03-54a5-43d2-b4fb-6562fe9bec0b",
39
+ "userId": "2056d2f6-3257-4253-8cfc-b73393e414e5",
40
+ "tenantId": "5b7b813c-2339-48cd-8c51-bd4fcb269420",
41
+ "roles": []
42
+ }
43
+ ]
44
+ ```
45
+
46
+ === "Text"
47
+
48
+ ```text
49
+ id userId tenantId roles
50
+ ------------------------------------ ------------------------------------ ------------------------------------ ------------------------------------
51
+ b3a1be03-54a5-43d2-b4fb-6562fe9bec0b 2056d2f6-3257-4253-8cfc-b73393e414e5 5b7b813c-2339-48cd-8c51-bd4fcb269420 []
52
+ ```
53
+
54
+ === "CSV"
55
+
56
+ ```csv
57
+ id,userId,tenantId,roles
58
+ b3a1be03-54a5-43d2-b4fb-6562fe9bec0b,2056d2f6-3257-4253-8cfc-b73393e414e5,5b7b813c-2339-48cd-8c51-bd4fcb269420,[]
59
+ ```
60
+
61
+ === "Markdown"
62
+
63
+ ```md
64
+ # planner roster member list --rosterId "RuY-PSpdw02drevnYDTCJpgAEfoI"
65
+
66
+ Date: 5/2/2023
67
+
68
+ ## b3a1be03-54a5-43d2-b4fb-6562fe9bec0b
69
+
70
+ Property | Value
71
+ ---------|-------
72
+ id | b3a1be03-54a5-43d2-b4fb-6562fe9bec0b
73
+ userId | 2056d2f6-3257-4253-8cfc-b73393e414e5
74
+ tenantId | 5b7b813c-2339-48cd-8c51-bd4fcb269420
75
+ roles | []
76
+ ```
@@ -0,0 +1,51 @@
1
+ # planner roster member remove
2
+
3
+ Removes a member from a Microsoft Planner Roster
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 planner roster member remove [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `--rosterId <rosterId>`
14
+ : ID of the Planner Roster.
15
+
16
+ `--userId [userId]`
17
+ : User's Azure AD ID. Specify either `userId` or `userName` but not both.
18
+
19
+ `--userName [userName]`
20
+ : User's UPN (user principal name, e.g. johndoe@example.com). Specify either `userId` or `userName` but not both.
21
+
22
+ `--confirm`
23
+ : Don't prompt for confirmation.
24
+
25
+ --8<-- "docs/cmd/_global.md"
26
+
27
+ ## Remarks
28
+
29
+ !!! attention
30
+ This command is based on an API that is currently in preview and is subject to change once the API reached general availability.
31
+
32
+ !!! attention
33
+ The Planner Roster will be deleted when it doesn't have any users remaining in the membership list because the last user removed themselves. Roster, its plan and all contained tasks will be deleted within 30 days of this operation. We will show an extra prompt when this happens. This prompt is also suppressed when specifying `--confirm`.
34
+
35
+ ## Examples
36
+
37
+ Remove a Roster member by its Azure AD ID
38
+
39
+ ```sh
40
+ m365 planner roster member remove --rosterId tYqYlNd6eECmsNhN_fcq85cAGAnd --userId 126878e5-d8f9-4db2-951d-d25486488d38
41
+ ```
42
+
43
+ Remove a Roster member by its UPN
44
+
45
+ ```sh
46
+ m365 planner roster member remove --rosterId tYqYlNd6eECmsNhN_fcq85cAGAnd --userName john.doe@contoso.com
47
+ ```
48
+
49
+ ## Response
50
+
51
+ The command won't return a response on success.
@@ -97,3 +97,46 @@ m365 pp aibuildermodel get --environment "Default-d87a7535-dd31-4437-bfe1-95340a
97
97
  msdyn_name,msdyn_aimodelid,createdon,modifiedon
98
98
  "Document Processing 11/29/2022, 12:58:43 PM",08ffffbe-ec1c-4e64-b64b-dd1db926c613,2022-11-29T11:58:45Z,2022-11-29T11:58:45Z
99
99
  ```
100
+
101
+ === "Markdown"
102
+
103
+ ```md
104
+ # pp aibuildermodel get --environment "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --id "08ffffbe-ec1c-4e64-b64b-dd1db926c613"
105
+
106
+ Date: 6/2/2023
107
+
108
+ Property | Value
109
+ ---------|-------
110
+ overwritetime | 1900-01-01T00:00:00Z
111
+ msdyn\_aimodelid | 08ffffbe-ec1c-4e64-b64b-dd1db926c613
112
+ \_owningbusinessunit\_value | 6da087c1-1c4d-ed11-bba1-000d3a2caf7f
113
+ solutionid | fd140aae-4df4-11dd-bd17-0019b9312238
114
+ msdyn\_aimodelidunique | b0802b54-1dbe-4bb0-812a-8579549e9144
115
+ introducedversion | 1.0
116
+ \_owninguser\_value | 2311d2bd-1b41-e911-a9aa-000d3a2d57c3
117
+ msdyn\_name | Document Processing 11/29/2022, 12:58:43 PM
118
+ statecode | 0
119
+ statuscode | 0
120
+ ismanaged | false
121
+ \_ownerid\_value | 2311d2bd-1b41-e911-a9aa-000d3a2d57c3
122
+ componentstate | 0
123
+ modifiedon | 2019-09-20T13:34:04Z
124
+ \_msdyn\_templateid\_value | 10707e4e-1d56-e911-8194-000d3a6cd5a5
125
+ \_modifiedby\_value | 2311d2bd-1b41-e911-a9aa-000d3a2d57c3
126
+ versionnumber | 8076095
127
+ createdon | 2019-09-20T13:34:04Z
128
+ \_createdby\_value | 2311d2bd-1b41-e911-a9aa-000d3a2d57c3
129
+ \_msdyn\_activerunconfigurationid\_value | null
130
+ overriddencreatedon | null
131
+ \_msdyn\_retrainworkflowid\_value | null
132
+ msdyn\_modelcreationcontext | null
133
+ importsequencenumber | null
134
+ msdyn\_sharewithorganizationoncreate | null
135
+ \_msdyn\_scheduleinferenceworkflowid\_value | null
136
+ \_modifiedonbehalfby\_value | null
137
+ utcconversiontimezonecode | null
138
+ \_createdonbehalfby\_value | null
139
+ \_owningteam\_value | null
140
+ timezoneruleversionnumber | null
141
+ iscustomizable | {"Value":true,"CanBeChanged":true,"ManagedPropertyLogicalName":"iscustomizableanddeletable"}
142
+ ```
@@ -93,3 +93,46 @@ m365 pp aibuildermodel list --environment "Default-d87a7535-dd31-4437-bfe1-95340
93
93
  msdyn_name,msdyn_aimodelid,createdon,modifiedon
94
94
  "Document Processing 11/29/2022, 12:58:43 PM",08ffffbe-ec1c-4e64-b64b-dd1db926c613,2022-11-29T11:58:45Z,2022-11-29T11:58:45Z
95
95
  ```
96
+
97
+ === "Markdown"
98
+
99
+ ```md
100
+ # pp aibuildermodel list --environment "Default-d87a7535-dd31-4437-bfe1-95340acd55c5"
101
+
102
+ Date: 9/1/2023
103
+
104
+ Property | Value
105
+ ---------|-------
106
+ statecode | 0
107
+ \_msdyn\_templateid\_value | 10707e4e-1d56-e911-8194-000d3a6cd5a5
108
+ msdyn\_modelcreationcontext | {}
109
+ createdon | 2022-11-29T11:58:45Z
110
+ \_ownerid\_value | 5fa787c1-1c4d-ed11-bba1-000d3a2caf7f
111
+ modifiedon | 2022-11-29T11:58:45Z
112
+ msdyn\_sharewithorganizationoncreate | false
113
+ msdyn\_aimodelidunique | b0328b67-47e2-4202-8189-e617ec9a88bd
114
+ solutionid | fd140aae-4df4-11dd-bd17-0019b9312238
115
+ ismanaged | false
116
+ versionnumber | 1458121
117
+ msdyn\_name | Document Processing 11/29/2022, 12:58:43 PM
118
+ introducedversion | 1.0
119
+ statuscode | 0
120
+ \_modifiedby\_value | 5fa787c1-1c4d-ed11-bba1-000d3a2caf7f
121
+ overwritetime | 1900-01-01T00:00:00Z
122
+ componentstate | 0
123
+ \_createdby\_value | 5fa787c1-1c4d-ed11-bba1-000d3a2caf7f
124
+ \_owningbusinessunit\_value | 6da087c1-1c4d-ed11-bba1-000d3a2caf7f
125
+ \_owninguser\_value | 5fa787c1-1c4d-ed11-bba1-000d3a2caf7f
126
+ msdyn\_aimodelid | 08ffffbe-ec1c-4e64-b64b-dd1db926c613
127
+ \_msdyn\_activerunconfigurationid\_value | null
128
+ overriddencreatedon | null
129
+ \_msdyn\_retrainworkflowid\_value | null
130
+ importsequencenumber | null
131
+ \_msdyn\_scheduleinferenceworkflowid\_value | null
132
+ \_modifiedonbehalfby\_value | null
133
+ utcconversiontimezonecode | null
134
+ \_createdonbehalfby\_value | null
135
+ \_owningteam\_value | null
136
+ timezoneruleversionnumber | null
137
+ iscustomizable | {"Value":true,"CanBeChanged":true,"ManagedPropertyLogicalName":"iscustomizableanddeletable"}
138
+ ```
@@ -75,3 +75,15 @@ m365 pp card clone --environment "Default-d87a7535-dd31-4437-bfe1-95340acd55c5"
75
75
  CardIdClone
76
76
  80cff342-ddf1-4633-aec1-6d3d131b29e0
77
77
  ```
78
+
79
+ === "Markdown"
80
+
81
+ ```md
82
+ # pp card clone --environment "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --id "408e3f42-4c9e-4c93-8aaf-3cbdea9179aa" --newName "CLI 365 new Card"
83
+
84
+ Date: 9/1/2023
85
+
86
+ Property | Value
87
+ ---------|-------
88
+ CardIdClone | 90460614-6ede-4231-8467-ce99a6359f45
89
+ ```
@@ -120,3 +120,52 @@ m365 pp card get --environment "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --
120
120
  name,cardid,publishdate,createdon,modifiedon
121
121
  Tasks List,0eab9392-7354-ed11-bba2-000d3adf774e,2022-10-30T16:00:00Z,2022-10-25T14:44:48Z,2022-10-25T14:44:48Z
122
122
  ```
123
+
124
+ === "Markdown"
125
+
126
+ ```md
127
+ # pp card get --environment "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" --id "0eab9392-7354-ed11-bba2-000d3adf774e"
128
+
129
+ Date: 9/1/2023
130
+
131
+ ## Tasks List
132
+
133
+ Property | Value
134
+ ---------|-------
135
+ solutionid | fd140aae-4df4-11dd-bd17-0019b9312238
136
+ modifiedon | 2022-10-25T14:44:48Z
137
+ \_owninguser\_value | 4f175d04-b952-ed11-bba2-000d3adf774e
138
+ overriddencreatedon | null
139
+ ismanaged | false
140
+ schemaversion | null
141
+ tags | null
142
+ importsequencenumber | null
143
+ componentidunique | 24205370-bc43-4c5e-b095-16da18f0b1a3
144
+ \_modifiedonbehalfby\_value | null
145
+ componentstate | 0
146
+ statecode | 0
147
+ name | Tasks List
148
+ versionnumber | 4451230
149
+ utcconversiontimezonecode | null
150
+ cardid | 0eab9392-7354-ed11-bba2-000d3adf774e
151
+ publishdate | null
152
+ \_createdonbehalfby\_value | null
153
+ \_modifiedby\_value | 4f175d04-b952-ed11-bba2-000d3adf774e
154
+ createdon | 2022-10-25T14:44:48Z
155
+ overwritetime | 1900-01-01T00:00:00Z
156
+ \_owningbusinessunit\_value | b419f090-fe22-ec11-b6e5-000d3ab596a1
157
+ hiddentags | null
158
+ description |
159
+ appdefinition | {"screens":{"main":{"template":{"type":"AdaptiveCard","body":[{"type":"TextBlock","size":"Medium","weight":"bolder","text":"Your card title goes here"},{"type":"TextBlock","text":"Add and remove element to customize your new card.","wrap":true}],"actions":[],"$schema":"http://adaptivecards.io/schemas/1.4.0/adaptive-card.json","version":"1.4"},"verbs":{"submit":"echo"}}},"sampleData":{"main":{}},"connections":{},"variables":{},"flows":{}}
160
+ statuscode | 1
161
+ remixsourceid | null
162
+ sizes | null
163
+ \_createdby\_value | 4f175d04-b952-ed11-bba2-000d3adf774e
164
+ \_owningteam\_value | null
165
+ coowners | null
166
+ \_ownerid\_value | 4f175d04-b952-ed11-bba2-000d3adf774e
167
+ publishsourceid | null
168
+ timezoneruleversionnumber | null
169
+ iscustomizable | {"Value":true,"CanBeChanged":true,"ManagedPropertyLogicalName":"iscustomizableanddeletable"}
170
+ owninguser | {"azureactivedirectoryobjectid":"78ccf530-bbf0-47e4-aae6-da5f8c6fb142","fullname":"# Nico","systemuserid":"4f175d04-b952-ed11-bba2-000d3adf774e","ownerid":"4f175d04-b952-ed11-bba2-000d3adf774e"}
171
+ ```
@@ -102,3 +102,52 @@ m365 pp card list --environment "Default-d87a7535-dd31-4437-bfe1-95340acd55c5" -
102
102
  name,cardid,publishdate,createdon,modifiedon
103
103
  Tasks List,0eab9392-7354-ed11-bba2-000d3adf774e,2022-10-30T16:00:00Z,2022-10-25T14:44:48Z,2022-10-25T14:44:48Z
104
104
  ```
105
+
106
+ === "Markdown"
107
+
108
+ ```md
109
+ # pp card list --environment "Default-d87a7535-dd31-4437-bfe1-95340acd55c5"
110
+
111
+ Date: 9/1/2023
112
+
113
+ ## Tasks List
114
+
115
+ Property | Value
116
+ ---------|-------
117
+ solutionid | fd140aae-4df4-11dd-bd17-0019b9312238
118
+ modifiedon | 2022-10-25T14:44:48Z
119
+ \_owninguser\_value | 4f175d04-b952-ed11-bba2-000d3adf774e
120
+ overriddencreatedon | null
121
+ ismanaged | false
122
+ schemaversion | null
123
+ tags | null
124
+ importsequencenumber | null
125
+ componentidunique | 24205370-bc43-4c5e-b095-16da18f0b1a3
126
+ \_modifiedonbehalfby\_value | null
127
+ componentstate | 0
128
+ statecode | 0
129
+ name | Tasks List
130
+ versionnumber | 4451230
131
+ utcconversiontimezonecode | null
132
+ cardid | 0eab9392-7354-ed11-bba2-000d3adf774e
133
+ publishdate | null
134
+ \_createdonbehalfby\_value | null
135
+ \_modifiedby\_value | 4f175d04-b952-ed11-bba2-000d3adf774e
136
+ createdon | 2022-10-25T14:44:48Z
137
+ overwritetime | 1900-01-01T00:00:00Z
138
+ \_owningbusinessunit\_value | b419f090-fe22-ec11-b6e5-000d3ab596a1
139
+ hiddentags | null
140
+ description |
141
+ appdefinition | {"screens":{"main":{"template":{"type":"AdaptiveCard","body":[{"type":"TextBlock","size":"Medium","weight":"bolder","text":"Your card title goes here"},{"type":"TextBlock","text":"Add and remove element to customize your new card.","wrap":true}],"actions":[],"$schema":"http://adaptivecards.io/schemas/1.4.0/adaptive-card.json","version":"1.4"},"verbs":{"submit":"echo"}}},"sampleData":{"main":{}},"connections":{},"variables":{},"flows":{}}
142
+ statuscode | 1
143
+ remixsourceid | null
144
+ sizes | null
145
+ \_createdby\_value | 4f175d04-b952-ed11-bba2-000d3adf774e
146
+ \_owningteam\_value | null
147
+ coowners | null
148
+ \_ownerid\_value | 4f175d04-b952-ed11-bba2-000d3adf774e
149
+ publishsourceid | null
150
+ timezoneruleversionnumber | null
151
+ iscustomizable | {"Value":true,"CanBeChanged":true,"ManagedPropertyLogicalName":"iscustomizableanddeletable"}
152
+ owninguser | {"azureactivedirectoryobjectid":"78ccf530-bbf0-47e4-aae6-da5f8c6fb142","fullname":"# Nico","systemuserid":"4f175d04-b952-ed11-bba2-000d3adf774e","ownerid":"4f175d04-b952-ed11-bba2-000d3adf774e"}
153
+ ```