@pnp/cli-microsoft365 6.2.0 → 6.3.0-beta.1336e33

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 (164) hide show
  1. package/.eslintrc.js +8 -0
  2. package/dist/Auth.js +0 -18
  3. package/dist/Command.js +12 -1
  4. package/dist/cli/Cli.js +4 -1
  5. package/dist/m365/aad/commands/group/group-list.js +2 -1
  6. package/dist/m365/base/O365MgmtCommand.js +10 -0
  7. package/dist/m365/context/commands/option/option-list.js +54 -0
  8. package/dist/m365/context/commands.js +1 -0
  9. package/dist/m365/file/commands/convert/convert-pdf.js +7 -6
  10. package/dist/m365/flow/commands/run/run-list.js +55 -3
  11. package/dist/m365/graph/commands/changelog/changelog-list.js +3 -2
  12. package/dist/m365/onenote/commands/notebook/notebook-list.js +50 -53
  13. package/dist/m365/onenote/commands/page/page-list.js +2 -16
  14. package/dist/m365/outlook/commands/mail/mail-send.js +3 -2
  15. package/dist/m365/outlook/commands/message/message-get.js +4 -3
  16. package/dist/m365/planner/commands/plan/plan-add.js +20 -6
  17. package/dist/m365/planner/commands/plan/plan-get.js +40 -26
  18. package/dist/m365/planner/commands/plan/plan-list.js +24 -14
  19. package/dist/m365/planner/commands/plan/plan-remove.js +1 -1
  20. package/dist/m365/planner/commands/plan/plan-set.js +21 -10
  21. package/dist/m365/planner/commands/roster/roster-add.js +47 -0
  22. package/dist/m365/planner/commands/roster/roster-get.js +61 -0
  23. package/dist/m365/planner/commands/roster/roster-member-add.js +113 -0
  24. package/dist/m365/planner/commands/roster/roster-member-list.js +54 -0
  25. package/dist/m365/planner/commands/roster/roster-remove.js +88 -0
  26. package/dist/m365/planner/commands/task/task-add.js +3 -0
  27. package/dist/m365/planner/commands/task/task-checklistitem-add.js +2 -1
  28. package/dist/m365/planner/commands/task/task-checklistitem-list.js +2 -1
  29. package/dist/m365/planner/commands.js +5 -0
  30. package/dist/m365/pp/commands/solution/solution-get.js +2 -1
  31. package/dist/m365/pp/commands/solution/solution-list.js +2 -1
  32. package/dist/m365/purview/commands/auditlog/auditlog-list.js +205 -0
  33. package/dist/m365/purview/commands/retentionevent/retentionevent-get.js +76 -0
  34. package/dist/m365/purview/commands/retentionevent/retentionevent-list.js +47 -0
  35. package/dist/m365/purview/commands/retentionevent/retentionevent-remove.js +92 -0
  36. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-add.js +77 -0
  37. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-get.js +70 -0
  38. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-list.js +44 -0
  39. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-remove.js +97 -0
  40. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-set.js +90 -0
  41. package/dist/m365/purview/commands.js +9 -0
  42. package/dist/m365/spfx/commands/project/WebApiPermissionRequests.js +3 -0
  43. package/dist/m365/spfx/commands/project/project-permissions-grant.js +81 -0
  44. package/dist/m365/spfx/commands.js +3 -2
  45. package/dist/m365/spo/commands/app/app-add.js +2 -1
  46. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-add.js +95 -0
  47. package/dist/m365/spo/commands/customaction/customaction-get.js +17 -66
  48. package/dist/m365/spo/commands/customaction/customaction-list.js +2 -36
  49. package/dist/m365/spo/commands/customaction/customaction-remove.js +11 -18
  50. package/dist/m365/spo/commands/file/GraphFileDetails.js +0 -1
  51. package/dist/m365/spo/commands/file/file-sharinginfo-get.js +2 -1
  52. package/dist/m365/spo/commands/file/file-sharinglink-add.js +2 -22
  53. package/dist/m365/spo/commands/file/file-sharinglink-clear.js +137 -0
  54. package/dist/m365/spo/commands/file/file-sharinglink-get.js +2 -25
  55. package/dist/m365/spo/commands/file/file-sharinglink-list.js +9 -29
  56. package/dist/m365/spo/commands/file/file-sharinglink-remove.js +2 -25
  57. package/dist/m365/spo/commands/file/file-sharinglink-set.js +104 -0
  58. package/dist/m365/spo/commands/group/group-list.js +2 -1
  59. package/dist/m365/spo/commands/hubsite/hubsite-get.js +1 -1
  60. package/dist/m365/spo/commands/listitem/listitem-add.js +2 -1
  61. package/dist/m365/spo/commands/listitem/listitem-list.js +2 -1
  62. package/dist/m365/spo/commands/navigation/navigation-node-add.js +17 -3
  63. package/dist/m365/spo/commands/navigation/navigation-node-get.js +73 -0
  64. package/dist/m365/spo/commands/navigation/navigation-node-list.js +4 -7
  65. package/dist/m365/spo/commands/navigation/navigation-node-set.js +118 -0
  66. package/dist/m365/spo/commands/page/page-column-get.js +2 -1
  67. package/dist/m365/spo/commands/page/page-column-list.js +2 -1
  68. package/dist/m365/spo/commands/page/page-section-get.js +2 -1
  69. package/dist/m365/spo/commands/page/page-section-list.js +2 -1
  70. package/dist/m365/spo/commands/site/site-apppermission-add.js +2 -14
  71. package/dist/m365/spo/commands/site/site-apppermission-get.js +2 -14
  72. package/dist/m365/spo/commands/site/site-apppermission-list.js +2 -14
  73. package/dist/m365/spo/commands/site/site-apppermission-remove.js +2 -14
  74. package/dist/m365/spo/commands/site/site-apppermission-set.js +2 -14
  75. package/dist/m365/spo/commands/sitedesign/sitedesign-add.js +6 -0
  76. package/dist/m365/spo/commands/spo-search.js +2 -1
  77. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-add.js +179 -0
  78. package/dist/m365/spo/commands/term/term-list.js +2 -1
  79. package/dist/m365/spo/commands/userprofile/userprofile-get.js +2 -2
  80. package/dist/m365/spo/commands/web/web-set.js +11 -4
  81. package/dist/m365/spo/commands.js +6 -0
  82. package/dist/m365/teams/commands/chat/chat-list.js +4 -4
  83. package/dist/m365/teams/commands/meeting/meeting-attendancereport-list.js +5 -5
  84. package/dist/m365/teams/commands/meeting/meeting-get.js +5 -5
  85. package/dist/m365/teams/commands/meeting/meeting-list.js +5 -4
  86. package/dist/m365/teams/commands/team/team-app-list.js +1 -1
  87. package/dist/m365/teams/commands/user/user-app-list.js +2 -1
  88. package/dist/m365/todo/commands/task/task-get.js +2 -1
  89. package/dist/m365/todo/commands/task/task-list.js +2 -1
  90. package/dist/m365/yammer/commands/yammer-search.js +2 -1
  91. package/dist/utils/accessToken.js +1 -1
  92. package/dist/utils/planner.js +16 -5
  93. package/dist/utils/spo.js +116 -0
  94. package/docs/docs/cmd/aad/app/app-list.md +3 -0
  95. package/docs/docs/cmd/aad/user/user-set.md +1 -1
  96. package/docs/docs/cmd/context/option/option-list.md +63 -0
  97. package/docs/docs/cmd/flow/run/run-list.md +21 -0
  98. package/docs/docs/cmd/login.md +26 -0
  99. package/docs/docs/cmd/logout.md +4 -0
  100. package/docs/docs/cmd/pa/app/app-get.md +24 -0
  101. package/docs/docs/cmd/pa/app/app-list.md +21 -0
  102. package/docs/docs/cmd/pa/connector/connector-list.md +17 -0
  103. package/docs/docs/cmd/pa/environment/environment-get.md +18 -0
  104. package/docs/docs/cmd/pa/environment/environment-list.md +19 -0
  105. package/docs/docs/cmd/planner/plan/plan-add.md +17 -6
  106. package/docs/docs/cmd/planner/plan/plan-get.md +21 -7
  107. package/docs/docs/cmd/planner/plan/plan-list.md +16 -2
  108. package/docs/docs/cmd/planner/plan/plan-remove.md +4 -0
  109. package/docs/docs/cmd/planner/plan/plan-set.md +10 -4
  110. package/docs/docs/cmd/planner/roster/roster-add.md +60 -0
  111. package/docs/docs/cmd/planner/roster/roster-get.md +73 -0
  112. package/docs/docs/cmd/planner/roster/roster-member-add.md +87 -0
  113. package/docs/docs/cmd/planner/roster/roster-member-list.md +76 -0
  114. package/docs/docs/cmd/planner/roster/roster-remove.md +48 -0
  115. package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-get.md +43 -0
  116. package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-list.md +43 -0
  117. package/docs/docs/cmd/pp/card/card-clone.md +12 -0
  118. package/docs/docs/cmd/pp/card/card-get.md +49 -0
  119. package/docs/docs/cmd/pp/card/card-list.md +49 -0
  120. package/docs/docs/cmd/pp/chatbot/chatbot-get.md +55 -0
  121. package/docs/docs/cmd/pp/chatbot/chatbot-list.md +36 -0
  122. package/docs/docs/cmd/pp/dataverse/dataverse-table-get.md +30 -0
  123. package/docs/docs/cmd/pp/dataverse/dataverse-table-list.md +30 -0
  124. package/docs/docs/cmd/pp/dataverse/dataverse-table-row-list.md +30 -0
  125. package/docs/docs/cmd/pp/environment/environment-get.md +19 -0
  126. package/docs/docs/cmd/pp/environment/environment-list.md +19 -0
  127. package/docs/docs/cmd/pp/gateway/gateway-get.md +19 -0
  128. package/docs/docs/cmd/pp/gateway/gateway-list.md +19 -0
  129. package/docs/docs/cmd/pp/managementapp/managementapp-add.md +12 -0
  130. package/docs/docs/cmd/pp/managementapp/managementapp-list.md +12 -0
  131. package/docs/docs/cmd/pp/solution/solution-get.md +14 -0
  132. package/docs/docs/cmd/pp/solution/solution-list.md +14 -0
  133. package/docs/docs/cmd/pp/solution/solution-publisher-get.md +20 -1
  134. package/docs/docs/cmd/pp/solution/solution-publisher-list.md +18 -0
  135. package/docs/docs/cmd/pp/tenant/tenant-settings-list.md +21 -0
  136. package/docs/docs/cmd/purview/auditlog/auditlog-list.md +123 -0
  137. package/docs/docs/cmd/purview/retentionevent/retentionevent-get.md +132 -0
  138. package/docs/docs/cmd/purview/retentionevent/retentionevent-list.md +107 -0
  139. package/docs/docs/cmd/purview/retentionevent/retentionevent-remove.md +42 -0
  140. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.md +106 -0
  141. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-get.md +100 -0
  142. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-list.md +97 -0
  143. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-remove.md +43 -0
  144. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-set.md +43 -0
  145. package/docs/docs/cmd/request.md +74 -0
  146. package/docs/docs/cmd/spfx/project/project-permissions-grant.md +65 -0
  147. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-add.md +56 -0
  148. package/docs/docs/cmd/spo/file/file-sharinglink-clear.md +46 -0
  149. package/docs/docs/cmd/spo/file/file-sharinglink-list.md +1 -1
  150. package/docs/docs/cmd/spo/file/file-sharinglink-set.md +104 -0
  151. package/docs/docs/cmd/spo/listitem/listitem-attachment-list.md +2 -2
  152. package/docs/docs/cmd/spo/listitem/listitem-isrecord.md +2 -2
  153. package/docs/docs/cmd/spo/navigation/navigation-node-add.md +18 -3
  154. package/docs/docs/cmd/spo/navigation/navigation-node-get.md +91 -0
  155. package/docs/docs/cmd/spo/navigation/navigation-node-list.md +30 -0
  156. package/docs/docs/cmd/spo/navigation/navigation-node-remove.md +1 -1
  157. package/docs/docs/cmd/spo/navigation/navigation-node-set.md +59 -0
  158. package/docs/docs/cmd/spo/sitedesign/sitedesign-add.md +3 -0
  159. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-add.md +59 -0
  160. package/docs/docs/cmd/spo/web/web-set.md +9 -0
  161. package/docs/docs/cmd/status.md +46 -0
  162. package/docs/docs/cmd/version.md +26 -0
  163. package/npm-shrinkwrap.json +913 -878
  164. package/package.json +13 -13
@@ -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"
@@ -27,6 +27,10 @@ m365 planner plan remove [options]
27
27
 
28
28
  --8<-- "docs/cmd/_global.md"
29
29
 
30
+ ## Remarks
31
+
32
+ If you wish to delete a Planner plan contained within a Planner Roster, you'll have to remove the roster using [planner roster remove](../roster/roster-remove.md).
33
+
30
34
  ## Examples
31
35
 
32
36
  Removes the Microsoft Planner plan by ID
@@ -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,60 @@
1
+ # planner roster add
2
+
3
+ Creates a new Microsoft Planner Roster
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 planner roster add [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ --8<-- "docs/cmd/_global.md"
14
+
15
+ ## Remarks
16
+
17
+ !!! attention
18
+ The Roster will be automatically deleted when it doesn't contain a plan 24 hours after its creation. Membership information will be completely erased within 30 days of this deletion.
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
+ !!! important
24
+ To be able to create a new Roster, the Planner Roster creation tenant setting should be enabled. Use the [planner tenant settings list](../tenant/tenant-settings-list.md) command to check if this setting is enabled for your tenant.
25
+
26
+ ## Examples
27
+
28
+ Creates a new Microsoft Planner Roster
29
+
30
+ ```sh
31
+ m365 planner roster add
32
+ ```
33
+
34
+ ## Response
35
+
36
+ === "JSON"
37
+
38
+ ```json
39
+ {
40
+ "id": "e6fmvM_yi0OJgvmepE5uj5cAE6qX",
41
+ "assignedSensitivityLabel": null
42
+ }
43
+ ```
44
+
45
+ === "Text"
46
+
47
+ ```text
48
+ assignedSensitivityLabel: null
49
+ id : e6fmvM_yi0OJgvmepE5uj5cAE6qX
50
+ ```
51
+
52
+ === "CSV"
53
+
54
+ ```csv
55
+ id,assignedSensitivityLabel
56
+ e6fmvM_yi0OJgvmepE5uj5cAE6qX,
57
+ ```
58
+
59
+ ## Additional information
60
+ 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,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,48 @@
1
+ # planner roster remove
2
+
3
+ Removes a Microsoft Planner Roster
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 planner roster remove [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `--id <id>`
14
+ : ID of the Planner Roster.
15
+
16
+ `--confirm`
17
+ : Don't prompt for confirmation.
18
+
19
+ --8<-- "docs/cmd/_global.md"
20
+
21
+ ## Remarks
22
+
23
+ !!! attention
24
+ Deleting a Planner Roster will also delete the plan within the Roster.
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
+ Removes a Planner Roster
32
+
33
+ ```sh
34
+ m365 planner roster remove --id tYqYlNd6eECmsNhN_fcq85cAGAnd
35
+ ```
36
+
37
+ Removes a Planner Roster without confirmation prompt
38
+
39
+ ```sh
40
+ m365 planner roster remove --id tYqYlNd6eECmsNhN_fcq85cAGAnd --confirm
41
+ ```
42
+
43
+ ## Response
44
+
45
+ The command won't return a response on success.
46
+
47
+ ## Additional information
48
+ 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.
@@ -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
+ ```