@pnp/cli-microsoft365 7.0.0-beta.c0afb7b → 7.0.0-beta.c2db9df

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 (158) hide show
  1. package/README.md +4 -4
  2. package/dist/cli/Cli.js +3 -3
  3. package/dist/m365/aad/commands/app/app-add.js +8 -8
  4. package/dist/m365/aad/commands/app/app-get.js +4 -1
  5. package/dist/m365/aad/commands/app/app-remove.js +3 -1
  6. package/dist/m365/aad/commands/app/app-role-add.js +9 -6
  7. package/dist/m365/aad/commands/app/app-role-list.js +4 -1
  8. package/dist/m365/aad/commands/app/app-role-remove.js +5 -2
  9. package/dist/m365/aad/commands/app/app-set.js +9 -6
  10. package/dist/m365/aad/commands/approleassignment/approleassignment-add.js +7 -2
  11. package/dist/m365/aad/commands/group/group-get.js +4 -4
  12. package/dist/m365/aad/commands/group/group-list.js +1 -23
  13. package/dist/m365/aad/commands/m365group/m365group-add.js +12 -9
  14. package/dist/m365/aad/commands/m365group/m365group-recyclebinitem-remove.js +3 -1
  15. package/dist/m365/aad/commands/m365group/m365group-recyclebinitem-restore.js +4 -1
  16. package/dist/m365/aad/commands/m365group/m365group-teamify.js +4 -1
  17. package/dist/m365/aad/commands/policy/policy-list.js +5 -5
  18. package/dist/m365/aad/commands/sp/sp-add.js +4 -1
  19. package/dist/m365/aad/commands/sp/sp-get.js +4 -1
  20. package/dist/m365/aad/commands/user/user-get.js +7 -2
  21. package/dist/m365/booking/commands/business/business-get.js +4 -1
  22. package/dist/m365/cli/commands/cli-issue.js +5 -5
  23. package/dist/m365/cli/commands/config/config-get.js +5 -5
  24. package/dist/m365/cli/commands/config/config-reset.js +5 -5
  25. package/dist/m365/cli/commands/config/config-set.js +5 -5
  26. package/dist/m365/commands/login.js +5 -5
  27. package/dist/m365/commands/request.js +1 -1
  28. package/dist/m365/flow/commands/owner/owner-ensure.js +5 -5
  29. package/dist/m365/outlook/commands/message/message-list.js +4 -2
  30. package/dist/m365/outlook/commands/message/message-move.js +4 -2
  31. package/dist/m365/pa/commands/app/app-export.js +7 -7
  32. package/dist/m365/pa/commands/app/app-owner-set.js +5 -5
  33. package/dist/m365/pa/commands/app/app-permission-ensure.js +5 -5
  34. package/dist/m365/planner/commands/bucket/bucket-get.js +5 -1
  35. package/dist/m365/planner/commands/bucket/bucket-remove.js +3 -1
  36. package/dist/m365/planner/commands/bucket/bucket-set.js +4 -1
  37. package/dist/m365/planner/commands/task/task-add.js +17 -11
  38. package/dist/m365/planner/commands/task/task-get.js +42 -27
  39. package/dist/m365/planner/commands/task/task-list.js +26 -19
  40. package/dist/m365/planner/commands/task/task-remove.js +45 -37
  41. package/dist/m365/planner/commands/task/task-set.js +35 -23
  42. package/dist/m365/pp/commands/aibuildermodel/aibuildermodel-get.js +4 -1
  43. package/dist/m365/pp/commands/card/card-get.js +3 -5
  44. package/dist/m365/pp/commands/chatbot/chatbot-get.js +3 -1
  45. package/dist/m365/pp/commands/managementapp/managementapp-add.js +4 -1
  46. package/dist/m365/purview/commands/retentionlabel/retentionlabel-add.js +14 -14
  47. package/dist/m365/search/commands/externalconnection/externalconnection-remove.js +3 -1
  48. package/dist/m365/spfx/commands/package/package-generate.js +15 -15
  49. package/dist/m365/spfx/commands/project/DeployWorkflow.js +55 -0
  50. package/dist/m365/spfx/commands/project/project-doctor/{doctor-1.18.0-beta.5.js → doctor-1.18.0-rc.1.js} +2 -2
  51. package/dist/m365/spfx/commands/project/project-doctor.js +9 -9
  52. package/dist/m365/spfx/commands/project/project-github-workflow-add.js +157 -0
  53. package/dist/m365/spfx/commands/project/project-github-workflow-model.js +2 -0
  54. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002028_DEVDEP_microsoft_rush_stack_compiler_4_7.js +13 -0
  55. package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.18.0-beta.5.js → upgrade-1.18.0-rc.1.js} +35 -27
  56. package/dist/m365/spfx/commands/project/project-upgrade.js +14 -14
  57. package/dist/m365/spfx/commands/spfx-doctor.js +3 -3
  58. package/dist/m365/spfx/commands.js +1 -0
  59. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-add.js +5 -5
  60. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-get.js +5 -3
  61. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-list.js +5 -5
  62. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-remove.js +2 -2
  63. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-set.js +3 -2
  64. package/dist/m365/spo/commands/commandset/commandset-add.js +11 -11
  65. package/dist/m365/spo/commands/commandset/commandset-get.js +12 -10
  66. package/dist/m365/spo/commands/commandset/commandset-list.js +5 -5
  67. package/dist/m365/spo/commands/commandset/commandset-remove.js +7 -6
  68. package/dist/m365/spo/commands/commandset/commandset-set.js +14 -12
  69. package/dist/m365/spo/commands/customaction/customaction-get.js +5 -2
  70. package/dist/m365/spo/commands/customaction/customaction-remove.js +3 -1
  71. package/dist/m365/spo/commands/eventreceiver/eventreceiver-get.js +3 -1
  72. package/dist/m365/spo/commands/file/file-get.js +9 -6
  73. package/dist/m365/spo/commands/file/file-sharinglink-add.js +8 -8
  74. package/dist/m365/spo/commands/file/file-sharinglink-list.js +5 -5
  75. package/dist/m365/spo/commands/hubsite/hubsite-connect.js +7 -4
  76. package/dist/m365/spo/commands/hubsite/hubsite-disconnect.js +4 -1
  77. package/dist/m365/spo/commands/hubsite/hubsite-get.js +3 -1
  78. package/dist/m365/spo/commands/list/list-add.js +4 -4
  79. package/dist/m365/spo/commands/list/list-set.js +4 -4
  80. package/dist/m365/spo/commands/listitem/listitem-add.js +1 -0
  81. package/dist/m365/spo/commands/listitem/listitem-set.js +3 -2
  82. package/dist/m365/spo/commands/orgassetslibrary/orgassetslibrary-add.js +8 -8
  83. package/dist/m365/spo/commands/page/clientsidepages.js +18 -0
  84. package/dist/m365/spo/commands/page/page-get.js +1 -0
  85. package/dist/m365/spo/commands/page/page-list.js +4 -3
  86. package/dist/m365/spo/commands/page/page-section-add.js +56 -21
  87. package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-set.js +30 -32
  88. package/dist/m365/spo/commands/site/site-add.js +114 -161
  89. package/dist/m365/spo/commands/site/site-apppermission-add.js +15 -18
  90. package/dist/m365/spo/commands/site/site-apppermission-remove.js +34 -38
  91. package/dist/m365/spo/commands/site/site-apppermission-set.js +11 -14
  92. package/dist/m365/spo/commands/site/site-ensure.js +13 -66
  93. package/dist/m365/spo/commands/site/site-list.js +5 -7
  94. package/dist/m365/spo/commands/site/site-recyclebinitem-list.js +6 -6
  95. package/dist/m365/spo/commands/site/site-remove.js +166 -210
  96. package/dist/m365/spo/commands/site/site-set.js +121 -153
  97. package/dist/m365/spo/commands/tenant/tenant-appcatalog-add.js +1 -1
  98. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-get.js +8 -3
  99. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-list.js +3 -2
  100. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-remove.js +2 -1
  101. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-set.js +3 -2
  102. package/dist/m365/spo/commands/tenant/tenant-commandset-add.js +8 -8
  103. package/dist/m365/spo/commands/tenant/tenant-commandset-get.js +8 -3
  104. package/dist/m365/spo/commands/tenant/tenant-commandset-list.js +3 -2
  105. package/dist/m365/spo/commands/tenant/tenant-commandset-remove.js +3 -1
  106. package/dist/m365/spo/commands/tenant/tenant-commandset-set.js +8 -8
  107. package/dist/m365/spo/commands/tenant/tenant-settings-set.js +4 -4
  108. package/dist/m365/spo/commands/term/term-get.js +6 -6
  109. package/dist/m365/spo/commands/web/web-roleinheritance-break.js +3 -3
  110. package/dist/m365/spo/commands/web/web-set.js +5 -5
  111. package/dist/m365/teams/commands/app/app-list.js +5 -5
  112. package/dist/m365/teams/commands/channel/channel-add.js +5 -1
  113. package/dist/m365/teams/commands/channel/channel-member-add.js +4 -2
  114. package/dist/m365/teams/commands/channel/channel-member-remove.js +3 -1
  115. package/dist/m365/teams/commands/channel/channel-member-set.js +4 -1
  116. package/dist/m365/teams/commands/chat/chat-get.js +7 -10
  117. package/dist/m365/teams/commands/chat/chat-member-add.js +5 -5
  118. package/dist/m365/teams/commands/chat/chat-message-send.js +8 -10
  119. package/dist/m365/teams/commands/funsettings/funsettings-set.js +4 -4
  120. package/dist/m365/teams/commands/guestsettings/guestsettings-set.js +4 -4
  121. package/dist/m365/teams/commands/membersettings/membersettings-set.js +4 -4
  122. package/dist/m365/teams/commands/messagingsettings/messagingsettings-set.js +5 -5
  123. package/dist/m365/teams/commands/team/team-clone.js +5 -10
  124. package/dist/m365/teams/commands/team/team-list.js +94 -30
  125. package/dist/m365/teams/commands/team/team-set.js +3 -3
  126. package/dist/m365/tenant/commands/info/info-get.js +83 -0
  127. package/dist/m365/tenant/commands.js +1 -0
  128. package/dist/m365/todo/commands/task/task-add.js +6 -6
  129. package/dist/m365/yammer/commands/message/message-list.js +5 -5
  130. package/dist/m365/yammer/commands/yammer-search.js +5 -5
  131. package/dist/utils/aadGroup.js +23 -3
  132. package/dist/utils/formatting.js +7 -0
  133. package/dist/utils/fsUtil.js +5 -0
  134. package/dist/utils/powerPlatform.js +1 -1
  135. package/dist/utils/spo.js +582 -0
  136. package/docs/docs/cmd/aad/group/group-get.mdx +5 -5
  137. package/docs/docs/cmd/aad/group/group-list.mdx +0 -11
  138. package/docs/docs/cmd/aad/policy/policy-list.mdx +5 -5
  139. package/docs/docs/cmd/cli/config/config-list.mdx +1 -1
  140. package/docs/docs/cmd/pa/app/app-export.mdx +5 -5
  141. package/docs/docs/cmd/planner/task/task-add.mdx +22 -7
  142. package/docs/docs/cmd/planner/task/task-get.mdx +13 -4
  143. package/docs/docs/cmd/planner/task/task-list.mdx +22 -7
  144. package/docs/docs/cmd/planner/task/task-remove.mdx +25 -8
  145. package/docs/docs/cmd/planner/task/task-set.mdx +22 -7
  146. package/docs/docs/cmd/spfx/project/project-github-workflow-add.mdx +94 -0
  147. package/docs/docs/cmd/spo/listitem/listitem-add.mdx +2 -5
  148. package/docs/docs/cmd/spo/listitem/listitem-set.mdx +2 -5
  149. package/docs/docs/cmd/spo/page/page-get.mdx +0 -1
  150. package/docs/docs/cmd/spo/page/page-list.mdx +0 -1
  151. package/docs/docs/cmd/spo/page/page-section-add.mdx +25 -1
  152. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.mdx +2 -4
  153. package/docs/docs/cmd/spo/tenant/tenant-commandset-list.mdx +2 -4
  154. package/docs/docs/cmd/teams/team/team-clone.mdx +3 -3
  155. package/docs/docs/cmd/teams/team/team-list.mdx +47 -22
  156. package/docs/docs/cmd/tenant/info/info-get.mdx +101 -0
  157. package/npm-shrinkwrap.json +196 -193
  158. package/package.json +8 -12
@@ -5,7 +5,7 @@ import TabItem from '@theme/TabItem';
5
5
 
6
6
  # cli config list
7
7
 
8
- List all self set CLI for Microsoft 365 configurations
8
+ List all self-set CLI for Microsoft 365 configurations
9
9
 
10
10
  ## Usage
11
11
 
@@ -13,13 +13,13 @@ m365 pa app export [options]
13
13
  ## Options
14
14
 
15
15
  ```md definition-list
16
- `-i, --id <id>`
17
- : The id of the Power App to export
16
+ `-n, --name <name>`
17
+ : The name (GUID) of the Power Apps app to export
18
18
 
19
19
  `-e, --environmentName <environmentName>`
20
20
  : The name of the environment for which to export the app
21
21
 
22
- `-n, --packageDisplayName [packageDisplayName]`
22
+ `--packageDisplayName [packageDisplayName]`
23
23
  : The display name to use in the exported package
24
24
 
25
25
  `-d, --packageDescription [packageDescription]`
@@ -42,13 +42,13 @@ m365 pa app export [options]
42
42
  Export the specified Power App as a ZIP file
43
43
 
44
44
  ```sh
45
- m365 pa app export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 3989cb59-ce1a-4a5c-bb78-257c5c39381d --packageDisplayName "PowerApp"
45
+ m365 pa app export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --packageDisplayName "PowerApp"
46
46
  ```
47
47
 
48
48
  Export the specified Power App as a ZIP file with the package displayname, package description, the one who created it, the package source environment and the path
49
49
 
50
50
  ```sh
51
- m365 pa app export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 3989cb59-ce1a-4a5c-bb78-257c5c39381d --packageDisplayName "PowerApp" --packageDescription "Power App Description" --packageCreatedBy "John Doe" --packageSourceEnvironment "Contoso" --path "C:/Users/John/Documents"
51
+ m365 pa app export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --packageDisplayName "PowerApp" --packageDescription "Power App Description" --packageCreatedBy "John Doe" --packageSourceEnvironment "Contoso" --path "C:/Users/John/Documents"
52
52
  ```
53
53
 
54
54
  ## Response
@@ -19,10 +19,13 @@ m365 planner task add [options]
19
19
  : Title of the task to add.
20
20
 
21
21
  `--planId [planId]`
22
- : ID of the plan to which the task belongs. Specify either `planId` or `planTitle` but not both.
22
+ : ID of the plan to which the task belongs. Specify either `planId`, `planTitle`, or `rosterId` but not multiple.
23
23
 
24
24
  `--planTitle [planTitle]`
25
- : Title of the plan to which the task belongs. Specify either `planId` or `planTitle` but not both.
25
+ : Title of the plan to which the task belongs. Specify either `planId`, `planTitle`, or `rosterId` but not multiple.
26
+
27
+ `--rosterId [rosterId]`
28
+ : ID of the Planner Roster. Specify either `planId`, `planTitle`, or `rosterId` but not multiple.
26
29
 
27
30
  `--ownerGroupId [ownerGroupId]`
28
31
  : ID of the group to which the plan belongs. Specify `ownerGroupId` or `ownerGroupName` when using `planTitle`.
@@ -89,38 +92,50 @@ When you specify an integer value for `priority`, consider the following:
89
92
 
90
93
  When using `description` with a multiple lines value, use the new line character of the shell you are using to indicate line breaks. For PowerShell this is `` `n ``. For Zsh or Bash use `\n` with a `$` in front. E.g. `$"Line 1\nLine 2"`.
91
94
 
95
+ :::caution
96
+
97
+ 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.
98
+
99
+ :::
100
+
92
101
  ## Examples
93
102
 
94
- 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_
103
+ Adds a Microsoft Planner task with the name for plan with the specified ID and specified bucket with the ID.
95
104
 
96
105
  ```sh
97
106
  m365 planner task add --title "My Planner Task" --planId "8QZEH7b3wkSbGQobscsM5gADCBa" --bucketId "IK8tuFTwQEa5vTonM7ZMRZgAKdna"
98
107
  ```
99
108
 
100
- Adds a Completed Microsoft Planner task with the name _My Planner Task_ for plan with the title _My Planner Plan_ owned by group _My Planner Group_ and for the bucket with the ID _IK8tuFTwQEa5vTonM7ZMRZgAKdna_
109
+ Adds a Completed Microsoft Planner task with the name for plan with the specified title owned by specified group and the specified bucket with the ID.
101
110
 
102
111
  ```sh
103
112
  m365 planner task add --title "My Planner task" --planTitle "My Planner Plan" --ownerGroupName "My Planner Group" --bucketId "IK8tuFTwQEa5vTonM7ZMRZgAKdna" --percentComplete 100
104
113
  ```
105
114
 
106
- 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 several users and receive a due date for _2021-12-16_
115
+ Adds a Microsoft Planner task with the specified name for the plan with the specified ID and bucket with the ID. The new task will be assigned to the specified users and receive a specified due date.
107
116
 
108
117
  ```sh
109
118
  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"
110
119
  ```
111
120
 
112
- 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 several users who will appear first with the asssignee priority _' !'_
121
+ Adds a Microsoft Planner task with the specified name for the plan with the specified ID and bucket with the ID. The new task will be assigned to the specified users who will appear first with the asssignee priority _' !'_
113
122
 
114
123
  ```sh
115
124
  m365 planner task add --title "My Planner Task" --planId "8QZEH7b3wkSbGQobscsM5gADCBa" --bucketId "IK8tuFTwQEa5vTonM7ZMRZgAKdna" --assignedToUserNames "Allan.Carroll@contoso.com,Ida.Stevens@contoso.com" --asssigneePriority ' !'
116
125
  ```
117
126
 
118
- 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_
127
+ Adds a Microsoft Planner task with the specified name for the plan with the specified ID and the bucket with the ID. The new task will receive the specified categories and get a specified preview with the type.
119
128
 
120
129
  ```sh
121
130
  m365 planner task add --title "My Planner Task" --planId "8QZEH7b3wkSbGQobscsM5gADCBa" --bucketId "IK8tuFTwQEa5vTonM7ZMRZgAKdna" --appliedCategories "category1,category3" --previewType "noPreview"
122
131
  ```
123
132
 
133
+ Adds a Microsoft Planner task with the specified name for the plan with the specified rosterId and bucket with the ID.
134
+
135
+ ```sh
136
+ m365 planner task add --title "My Planner Task" --rosterId "DjL5xiKO10qut8LQgztpKskABWna" --bucketId "IK8tuFTwQEa5vTonM7ZMRZgAKdna"
137
+ ```
138
+
124
139
  ## Response
125
140
 
126
141
  ### Standard response
@@ -28,10 +28,13 @@ m365 planner task get [options]
28
28
  : Name of the bucket to which the task belongs. Specify `bucketId` or `bucketName` when using `title`.
29
29
 
30
30
  `--planId [planId]`
31
- : ID of the plan to which the task belongs. Specify `planId` or `planTitle` when using `bucketName`.
31
+ : ID of the plan to which the task belongs. Specify either `planId`, `planTitle`, or `rosterId` when using `bucketName`.
32
32
 
33
33
  `--planTitle [planTitle]`
34
- : Title of the plan to which the task belongs. Specify `planId` or `planTitle` when using `bucketName`.
34
+ : Title of the plan to which the task belongs. Specify either `planId`, `planTitle`, or `rosterId` when using `bucketName`.
35
+
36
+ `--rosterId [rosterId]`
37
+ : ID of the Planner Roster. Specify either `planId`, `planTitle`, or `rosterId` when using `bucketName`.
35
38
 
36
39
  `--ownerGroupId [ownerGroupId]`
37
40
  : ID of the group to which the plan belongs. Specify `ownerGroupId` or `ownerGroupName` when using `planTitle`.
@@ -44,18 +47,24 @@ m365 planner task get [options]
44
47
 
45
48
  ## Examples
46
49
 
47
- Retrieve the specified planner task by id
50
+ Returns the Microsoft Planner task by id.
48
51
 
49
52
  ```sh
50
53
  m365 planner task get --id "vzCcZoOv-U27PwydxHB8opcADJo-"
51
54
  ```
52
55
 
53
- Retrieve the specified planner task with the title _My Planner Task_ from the bucket named _My Planner Bucket_. Based on the plan with the title _My Planner Plan_ owned by the group _My Planner Group_.
56
+ Retrieve the Microsoft Planner task by title from the specified bucket. Based on the specified plan with the title owned by the specified group.
54
57
 
55
58
  ```sh
56
59
  m365 planner task get --title "My Planner Task" --bucketName "My Planner Bucket" --planTitle "My Planner Plan" --ownerGroupName "My Planner Group"
57
60
  ```
58
61
 
62
+ Returns the Microsoft Planner task by rosterId from the specified bucket.
63
+
64
+ ```sh
65
+ m365 planner task get --title "New Task" --bucketName "To do" --rosterId "DjL5xiKO10qut8LQgztpKskABWna"
66
+ ```
67
+
59
68
  ## Response
60
69
 
61
70
  <Tabs>
@@ -22,10 +22,13 @@ m365 planner task list [options]
22
22
  : Name of the bucket to list the tasks of. To retrieve tasks from a bucket, specify `bucketId` or `bucketName`, but not both.
23
23
 
24
24
  `--planId [planId]`
25
- : ID of a plan to list the tasks of. To retrieve all tasks from a plan, specify either `planId` or `planTitle` but not both. Use in combination with `bucketName` to retrieve tasks from a specific bucket.
25
+ : ID of a plan to list the tasks of. To retrieve all tasks from a plan, Specify either `planId`, `planTitle`, or `rosterId` but not multiple. Use in combination with `bucketName` to retrieve tasks from a specific bucket.
26
26
 
27
27
  `--planTitle [planTitle]`
28
- : Title of a plan to list the tasks of. To retrieve all tasks from a plan, specify either `planId` or `planTitle` but not both. Always use in combination with either `ownerGroupId` or `ownerGroupName`. Use in combination with `bucketName` to retrieve tasks from a specific bucket.
28
+ : Title of a plan to list the tasks of. To retrieve all tasks from a plan, Specify either `planId`, `planTitle`, or `rosterId` but not multiple. Always use in combination with either `ownerGroupId` or `ownerGroupName`. Use in combination with `bucketName` to retrieve tasks from a specific bucket.
29
+
30
+ `--rosterId [rosterId]`
31
+ : ID of the Planner Roster. Specify either `planId`, `planTitle`, or `rosterId` but not multiple.
29
32
 
30
33
  `--ownerGroupId [ownerGroupId]`
31
34
  : ID of the group to which the plan belongs. Specify `ownerGroupId` or `ownerGroupName` when using `planTitle`.
@@ -44,6 +47,12 @@ This command uses API that is currently in preview to enrich the results with th
44
47
 
45
48
  :::
46
49
 
50
+ :::caution
51
+
52
+ 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.
53
+
54
+ :::
55
+
47
56
  ## Examples
48
57
 
49
58
  List tasks for the currently logged in user
@@ -52,36 +61,42 @@ List tasks for the currently logged in user
52
61
  m365 planner task list
53
62
  ```
54
63
 
55
- List the Microsoft Planner tasks in the plan _iVPMIgdku0uFlou-KLNg6MkAE1O2_
64
+ List the Microsoft Planner tasks in the plan by id.
56
65
 
57
66
  ```sh
58
67
  m365 planner task list --planId "iVPMIgdku0uFlou-KLNg6MkAE1O2"`
59
68
  ```
60
69
 
61
- List the Microsoft Planner tasks in the plan _My Plan_ in group _My Group_
70
+ List the Microsoft Planner tasks in the specified plan by title from the specified group by name.
62
71
 
63
72
  ```sh
64
73
  m365 planner task list --planTitle "My Plan" --ownerGroupName "My Group"
65
74
  ```
66
75
 
67
- List the Microsoft Planner tasks in the bucket _FtzysDykv0-9s9toWiZhdskAD67z_
76
+ List the Microsoft Planner tasks in the bucket by id.
68
77
 
69
78
  ```sh
70
79
  m365 planner task list --bucketId "FtzysDykv0-9s9toWiZhdskAD67z"
71
80
  ```
72
81
 
73
- List the Microsoft Planner tasks in the bucket _My Bucket_ belonging to plan _iVPMIgdku0uFlou-KLNg6MkAE1O2_
82
+ List the Microsoft Planner tasks in the bucket by name belonging to plan by id.
74
83
 
75
84
  ```sh
76
85
  m365 planner task list --bucketName "My Bucket" --planId "iVPMIgdku0uFlou-KLNg6MkAE1O2"
77
86
  ```
78
87
 
79
- List the Microsoft Planner tasks in the bucket _My Bucket_ belonging to plan _My Plan_ in group _My Group_
88
+ List the Microsoft Planner tasks in the bucket by name belonging to plan by title in the specified group.
80
89
 
81
90
  ```sh
82
91
  m365 planner task list --bucketName "My Bucket" --planTitle "My Plan" --ownerGroupName "My Group"
83
92
  ```
84
93
 
94
+ List the Microsoft Planner tasks by rosterId from the specified bucket.
95
+
96
+ ```sh
97
+ m365 planner task list --bucketName "My Bucket" --rosterId "DjL5xiKO10qut8LQgztpKskABWna"
98
+ ```
99
+
85
100
  ## Response
86
101
 
87
102
  <Tabs>
@@ -26,10 +26,13 @@ m365 planner task remove [options]
26
26
  : Name of the bucket to which the task to remove belongs. Specify either `bucketId` or `bucketName` but not both.
27
27
 
28
28
  `--planId [planId]`
29
- : ID of the plan to which the task to remove belongs. Specify either `planId` or `planTitle` when using `title`.
29
+ : ID of the plan to which the task to remove belongs. Specify either `planId`, `planTitle`, or `rosterId` when using `title`.
30
30
 
31
31
  `--planTitle [planTitle]`
32
- : Title of the plan to which the task to remove belongs. Specify either `planId` or `planTitle` when using `title`.
32
+ : Title of the plan to which the task to remove belongs. Specify either `planId`, `planTitle`, or `rosterId` when using `title`.
33
+
34
+ `--rosterId [rosterId]`
35
+ : ID of the Planner Roster. Specify either `planId`, `planTitle`, or `rosterId` when using `title`.
33
36
 
34
37
  `--ownerGroupId [ownerGroupId]`
35
38
  : ID of the group to which the plan belongs. Specify either `ownerGroupId` or `ownerGroupName` when using `planTitle`.
@@ -43,44 +46,58 @@ m365 planner task remove [options]
43
46
 
44
47
  <Global />
45
48
 
49
+ ## Remarks
50
+
51
+ :::caution
52
+
53
+ 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.
54
+
55
+ :::
56
+
46
57
  ## Examples
47
58
 
48
- Removes the Microsoft Planner task by ID
59
+ Removes the Microsoft Planner task by ID.
49
60
 
50
61
  ```sh
51
62
  m365 planner task remove --id "2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2"
52
63
  ```
53
64
 
54
- Removes the Microsoft Planner task by ID without confirmation
65
+ Removes the Microsoft Planner task by ID without confirmation.
55
66
 
56
67
  ```sh
57
68
  m365 planner task remove --id "2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2" --force
58
69
  ```
59
70
 
60
- Removes the Microsoft Planner task with title _My Task_ in the bucket with ID _vncYUXCRBke28qMLB-d4xJcACtNz_
71
+ Removes the Microsoft Planner task with the specified title in the bucket by ID.
61
72
 
62
73
  ```sh
63
74
  m365 planner task remove --title "My Task" --bucketId "vncYUXCRBke28qMLB-d4xJcACtNz"
64
75
  ```
65
76
 
66
- Removes the Microsoft Planner task with title _My Task_ in the bucket with name _My Bucket_ in the Plan with ID _oUHpnKBFekqfGE_PS6GGUZcAFY7b_
77
+ Removes the Microsoft Planner task with the specified title the bucket by name in the Plan with the specified ID.
67
78
 
68
79
  ```sh
69
80
  m365 planner task remove --title "My Task" --bucketName "My Bucket" --planId "oUHpnKBFekqfGE_PS6GGUZcAFY7b"
70
81
  ```
71
82
 
72
- Removes the Microsoft Planner task with title _My Task_ in the bucket with name _My Bucket_ in the Plan _My Plan_ owned by group _My Group_
83
+ Removes the Microsoft Planner task with the specified title in the bucket with name in the Plan owned by group with the specified name.
73
84
 
74
85
  ```sh
75
86
  m365 planner task remove --title "My Task" --bucketName "My Bucket" --planTitle "My Plan" --ownerGroupName "My Group"
76
87
  ```
77
88
 
78
- Removes the Microsoft Planner task with title _My Task_ in the bucket with name _My Bucket_ in the Plan _My Plan_ owned by group with ID _00000000-0000-0000-0000-000000000000_
89
+ Removes the Microsoft Planner task with the specified title in the bucket with name in the Plan owned by group with the specified ID.
79
90
 
80
91
  ```sh
81
92
  m365 planner task remove --title "My Task" --bucketName "My Bucket" --planTitle "My Plan" --ownerGroupId "00000000-0000-0000-0000-000000000000"
82
93
  ```
83
94
 
95
+ Removes the Microsoft Planner task by rosterId from the specified bucket.
96
+
97
+ ```sh
98
+ m365 planner task remove --title "My Task" --bucketName "My Bucket" --rosterId "DjL5xiKO10qut8LQgztpKskABWna"
99
+ ```
100
+
84
101
  ## Response
85
102
 
86
103
  The command won't return a response on success.
@@ -28,10 +28,13 @@ m365 planner task set [options]
28
28
  : Name of the bucket to move the task to. The bucket needs to exist in the selected plan. Specify either `bucketId` or `bucketName` when using `title`.
29
29
 
30
30
  `--planId [planId]`
31
- : ID of the plan to which the bucket belongs to. Specify either `planId` or `planTitle` when using `bucketName`.
31
+ : ID of the plan to which the bucket belongs to. Specify either `planId`, `planTitle`, or `rosterId` when using `bucketName`.
32
32
 
33
33
  `--planTitle [planTitle]`
34
- : Title of the plan to which the bucket belongs to. Specify either `planId` or `planTitle` when using `bucketName`.
34
+ : Title of the plan to which the bucket belongs to. Specify either `planId`, `planTitle`, or `rosterId` when using `bucketName`.
35
+
36
+ `--rosterId [rosterId]`
37
+ : ID of the Planner Roster to which the bucket belongs to. Specify either `planId`, `planTitle`, or `rosterId` when using `bucketName`.
35
38
 
36
39
  `--ownerGroupId [ownerGroupId]`
37
40
  : ID of the group to which the plan belongs. Specify `ownerGroupId` or `ownerGroupName` when using `planTitle`.
@@ -91,24 +94,36 @@ You can add up to 6 categories to the task. An example to add _category1_ and _c
91
94
 
92
95
  When using `description` with a multiple lines value, use the new line character of the shell you are using to indicate line breaks. For PowerShell this is `` `n ``. For Zsh or Bash use `\n` with a `$` in front. E.g. `$"Line 1\nLine 2"`.
93
96
 
97
+ :::caution
98
+
99
+ 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.
100
+
101
+ :::
102
+
94
103
  ## Examples
95
104
 
96
- Updates a Microsoft Planner task name to _My Planner Task_ for the task with the ID _Z-RLQGfppU6H3663DBzfs5gAMD3o_
105
+ Updates a Microsoft Planner task name of the specified task by ID
97
106
 
98
107
  ```sh
99
108
  m365 planner task set --id "Z-RLQGfppU6H3663DBzfs5gAMD3o" --title "My Planner Task"
100
109
  ```
101
110
 
102
- Moves a Microsoft Planner task with the ID _Z-RLQGfppU6H3663DBzfs5gAMD3o_ to the bucket named _My Planner Bucket_. Based on the plan with the title _My Planner Plan_ owned by the group _My Planner Group_
111
+ Moves a Microsoft Planner task with the specified ID to the bucket by name. Based on the plan with the specified rosterId.
112
+
113
+ ```sh
114
+ m365 planner task set --id "Z-RLQGfppU6H3663DBzfs5gAMD3o" --bucketName "My Planner Bucket" --rosterId "DjL5xiKO10qut8LQgztpKskABWna"
115
+ ```
116
+
117
+ Moves a Microsoft Planner task with the specified ID to the bucket by name. Based on the plan with the specified title owned by the specified group by name.
103
118
 
104
119
  ```sh
105
- m365 planner task set --id "2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2" --bucketName "My Planner Bucket" --planTitle "My Planner Plan" --ownerGroupName "My Planner Group"
120
+ m365 planner task set --id "2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2" --bucketName "My Planner Bucket" --planTitle "My Planner Plan" --ownerGroupName "My Planner Group"
106
121
  ```
107
122
 
108
- Marks a Microsoft Planner task with the ID _Z-RLQGfppU6H3663DBzfs5gAMD3o_ as 50% complete and assigned to categories 1 and 3.
123
+ Marks a Microsoft Planner task with the specified ID as 50% complete and assigned to categories 1 and 3.
109
124
 
110
125
  ```sh
111
- m365 planner task set --id "2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2" --percentComplete 50 --appliedCategories "category1,category3"
126
+ m365 planner task set --id "2Vf8JHgsBUiIf-nuvBtv-ZgAAYw2" --percentComplete 50 --appliedCategories "category1,category3"
112
127
  ```
113
128
 
114
129
  ## Response
@@ -0,0 +1,94 @@
1
+ import Global from '/docs/cmd/_global.mdx';
2
+
3
+ # spfx project github workflow add
4
+
5
+ Adds a GitHub workflow for a SharePoint Framework project
6
+
7
+ ## Usage
8
+
9
+ ```sh
10
+ m365 spfx project github workflow add [options]
11
+ ```
12
+
13
+ ## Options
14
+
15
+ ```md definition-list
16
+ `-n, --name [name]`
17
+ : Name of the workflow that will be created. If none is specified a default name will be used 'Deploy Solution ${name of sppkg file}'
18
+
19
+ `-b, --branchName [branchName]`
20
+ : Specify the branch name which should trigger the workflow on push. If none is specified a default will be used which is 'main'
21
+
22
+ `-m, --manuallyTrigger`
23
+ : When specified a manual trigger option will be added to the workflow: `workflow_dispatch`
24
+
25
+ `-l, --loginMethod [loginMethod]`
26
+ : Specify the login method used for the login action. Possible options are: `user`, `application`. Default `application`'
27
+
28
+ `-s, --scope [scope]`
29
+ : Scope of the app catalog: `tenant`, `sitecollection`. Default is `tenant`
30
+
31
+ `-u, --siteUrl [siteUrl]`
32
+ : The URL of the site collection where the solution package will be added. Required if scope is set to `sitecollection`
33
+
34
+ `--skipFeatureDeployment`
35
+ : When specified and the app supports tenant-wide deployment, deploy it to the whole tenant
36
+
37
+ `--overwrite`
38
+ : When specified the workflow will overwrite the existing .sppkg if it is already deployed in the app catalog.
39
+ ```
40
+
41
+ <Global />
42
+
43
+ ## Remarks
44
+
45
+ The `spfx project github workflow add` will create a workflow .yml file in the `.github/workflows` directory in your project. If such directory does not exist the command will automatically create it.
46
+
47
+ For the `application` login method the command does not register AAD application nor create the required certificate. In order for you to proceed you will need to first obtain (create) a self-signed certificate and register a new AAD application with certificate authentication. After that in GitHub repo settings, you will need to create the following secrets:
48
+
49
+ - `APP_ID` - client id of the registered AAD application
50
+ - `CERTIFICATE_ENCODED` - application's encoded certificate
51
+ - `CERTIFICATE_PASSWORD` - certificate password. This applies only if the certificate is encoded which is the recommended approach
52
+
53
+ This use case is perfect in a production context as it does not create any dependencies on an account
54
+
55
+ For the `user` login method you will need to create the following secrets in GitHub repo settings:
56
+
57
+ - `ADMIN_USERNAME` - username
58
+ - `ADMIN_PASSWORD` - password
59
+
60
+ This method is perfect to test your workflow, in a dev context, for personal usage. It will not work for accounts with MFA.
61
+
62
+ :::info
63
+
64
+ Run this command in the SPFx solution folder.
65
+
66
+ :::
67
+
68
+ ## Examples
69
+
70
+ Adds a GitHub workflow for a SharePoint Framework project with `application` login method triggered on push to main
71
+
72
+ ```sh
73
+ m365 spfx project github workflow add
74
+ ```
75
+
76
+ Adds a GitHub workflow for a SharePoint Framework project with `user` login method triggered on push to main and when manually triggered.
77
+
78
+ ```sh
79
+ m365 spfx project github workflow add --manuallyTrigger --loginMethod "user"
80
+ ```
81
+
82
+ Adds a GitHub workflow for a SharePoint Framework project with deployment to a site collection app catalog
83
+
84
+ ```sh
85
+ m365 spfx project github workflow add --scope "sitecollection" --siteUrl "https://some.sharepoint.com/sites/someSite"
86
+ ```
87
+
88
+ ## Response
89
+
90
+ The command won't return a response on success.
91
+
92
+ ## More information
93
+
94
+ - Automate your CI/CD workflow using CLI for Microsoft 365 GitHub Actions: [https://pnp.github.io/cli-microsoft365/user-guide/github-actions](https://pnp.github.io/cli-microsoft365/user-guide/github-actions)
@@ -111,7 +111,6 @@ m365 spo listitem add --listTitle "Demo List" --webUrl https://contoso.sharepoin
111
111
  "Id": 234,
112
112
  "ServerRedirectedEmbedUri": null,
113
113
  "ServerRedirectedEmbedUrl": "",
114
- "ID": 234,
115
114
  "ContentTypeId": "0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803",
116
115
  "Title": "Test",
117
116
  "Modified": "2022-11-16T20:55:45Z",
@@ -138,7 +137,6 @@ m365 spo listitem add --listTitle "Demo List" --webUrl https://contoso.sharepoin
138
137
  EditorId : 10
139
138
  FileSystemObjectType : 0
140
139
  GUID : cac57513-e870-4e7a-9f23-f4ea10e14f4e
141
- ID : 236
142
140
  Id : 236
143
141
  Modified : 2022-11-16T20:56:31Z
144
142
  OData__UIVersionString : 1.0
@@ -152,8 +150,8 @@ m365 spo listitem add --listTitle "Demo List" --webUrl https://contoso.sharepoin
152
150
  <TabItem value="CSV">
153
151
 
154
152
  ```csv
155
- FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,ID,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,ComplianceAssetId,OData__vti_ItemDeclaredRecord
156
- 0,235,,,235,0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803,Test,2022-11-16T20:56:09Z,2022-11-16T20:56:09Z,10,10,1.0,,7aa8f3bd-a0a2-4974-81c8-2ac7ddc8e2d8,,
153
+ FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,ComplianceAssetId,OData__vti_ItemDeclaredRecord
154
+ 0,235,,,0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803,Test,2022-11-16T20:56:09Z,2022-11-16T20:56:09Z,10,10,1.0,,7aa8f3bd-a0a2-4974-81c8-2ac7ddc8e2d8,,
157
155
  ```
158
156
 
159
157
  </TabItem>
@@ -176,7 +174,6 @@ m365 spo listitem add --listTitle "Demo List" --webUrl https://contoso.sharepoin
176
174
  Title | Test
177
175
  ComplianceAssetId | null
178
176
  FieldName1 | null
179
- ID | 234
180
177
  Modified | 2022-11-16T20:55:45Z
181
178
  Created | 2022-11-16T20:55:45Z
182
179
  AuthorId | 10
@@ -108,7 +108,6 @@ m365 spo listitem set --listTitle "Demo List" --id 147 --webUrl https://contoso.
108
108
  "Id": 236,
109
109
  "ServerRedirectedEmbedUri": null,
110
110
  "ServerRedirectedEmbedUrl": "",
111
- "ID": 236,
112
111
  "ContentTypeId": "0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803",
113
112
  "Title": "Updated Title",
114
113
  "Modified": "2022-11-16T21:10:06Z",
@@ -135,7 +134,6 @@ m365 spo listitem set --listTitle "Demo List" --id 147 --webUrl https://contoso.
135
134
  EditorId : 10
136
135
  FileSystemObjectType : 0
137
136
  GUID : cac57513-e870-4e7a-9f23-f4ea10e14f4e
138
- ID : 236
139
137
  Id : 236
140
138
  Modified : 2022-11-16T21:10:37Z
141
139
  OData__UIVersionString : 8.0
@@ -149,8 +147,8 @@ m365 spo listitem set --listTitle "Demo List" --id 147 --webUrl https://contoso.
149
147
  <TabItem value="CSV">
150
148
 
151
149
  ```csv
152
- FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,ID,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,ComplianceAssetId,OData__vti_ItemDeclaredRecord
153
- 0,236,,,236,0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803,Updated Title,2022-11-16T21:10:55Z,2022-11-16T20:56:31Z,10,10,9.0,1,cac57513-e870-4e7a-9f23-f4ea10e14f4e,,
150
+ FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,ComplianceAssetId,OData__vti_ItemDeclaredRecord
151
+ 0,236,,,0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803,Updated Title,2022-11-16T21:10:55Z,2022-11-16T20:56:31Z,10,10,9.0,1,cac57513-e870-4e7a-9f23-f4ea10e14f4e,,
154
152
  ```
155
153
 
156
154
  </TabItem>
@@ -173,7 +171,6 @@ m365 spo listitem set --listTitle "Demo List" --id 147 --webUrl https://contoso.
173
171
  Title | Updated Title
174
172
  ComplianceAssetId | null
175
173
  FieldName1 | null
176
- ID | 236
177
174
  Modified | 2022-11-16T21:10:06Z
178
175
  Created | 2022-11-16T20:56:31Z
179
176
  AuthorId | 10
@@ -85,7 +85,6 @@ m365 spo page get --webUrl https://contoso.sharepoint.com/sites/team-a --name ho
85
85
  "OData__OriginalSourceItemId": null,
86
86
  "OData__SPCallToAction": null,
87
87
  "OData__ModerationStatus": 3,
88
- "ID": 21,
89
88
  "Created": "2022-11-26T01:51:46",
90
89
  "AuthorId": 7,
91
90
  "Modified": "2022-11-26T01:55:47",
@@ -89,7 +89,6 @@ m365 spo page list --webUrl https://contoso.sharepoint.com/sites/team-a
89
89
  "OData__OriginalSourceItemId": null,
90
90
  "OData__SPCallToAction": null,
91
91
  "OData__ModerationStatus": 0,
92
- "ID": 10,
93
92
  "Created": "2020-09-06T02:18:55-07:00",
94
93
  "AuthorId": 1073741823,
95
94
  "Modified": "2020-09-06T02:18:55-07:00",
@@ -20,10 +20,16 @@ m365 spo page section add [options]
20
20
  : URL of the site where the page to retrieve is located.
21
21
 
22
22
  `-t, --sectionTemplate <sectionTemplate>`
23
- : Type of section to add. Allowed values `OneColumn`, `OneColumnFullWidth`, `TwoColumn`, `ThreeColumn`, `TwoColumnLeft`, `TwoColumnRight`.
23
+ : Type of section to add. Allowed values `OneColumn`, `OneColumnFullWidth`, `TwoColumn`, `ThreeColumn`, `TwoColumnLeft`, `TwoColumnRight`, `Vertical`.
24
24
 
25
25
  `--order [order]`
26
26
  : Order of the section to add.
27
+
28
+ `--zoneEmphasis [zoneEmphasis]`
29
+ : Section background shading. Allowed values `None`, `Neutral`, `Soft`, `Strong`
30
+
31
+ `--isLayoutReflowOnTop`
32
+ : The position of the Vertical section for smaller screens. Applied only for Vertical section.
27
33
  ```
28
34
 
29
35
  <Global />
@@ -40,6 +46,24 @@ Add section to the modern page
40
46
  m365 spo page section add --pageName home.aspx --webUrl https://contoso.sharepoint.com/sites/newsletter --sectionTemplate OneColumn --order 1
41
47
  ```
42
48
 
49
+ Add section with background shading to the modern page
50
+
51
+ ```sh
52
+ m365 spo page section add --pageName home.aspx --webUrl https://contoso.sharepoint.com/sites/newsletter --sectionTemplate OneColumn --zoneEmphasis Strong
53
+ ```
54
+
55
+ Add a vertical section to the modern page. There can only be one vertical section per page. If a vertical section already exists on the page, the command will not have any effect.
56
+
57
+ ```sh
58
+ m365 spo page section add --pageName home.aspx --webUrl https://contoso.sharepoint.com/sites/newsletter --sectionTemplate Vertical
59
+ ```
60
+
61
+ Add Vertical section with background shading to the modern page with adjusting the position of this section for smaller screens to the top
62
+
63
+ ```sh
64
+ m365 spo page section add --pageName home.aspx --webUrl https://contoso.sharepoint.com/sites/newsletter --sectionTemplate Vertical --zoneEmphasis Neutral --isLayoutReflowOnTop
65
+ ```
66
+
43
67
  ## Response
44
68
 
45
69
  The command won't return a response on success.
@@ -36,7 +36,6 @@ m365 spo tenant applicationcustomizer list
36
36
  "Id": 8,
37
37
  "ServerRedirectedEmbedUri": null,
38
38
  "ServerRedirectedEmbedUrl": "",
39
- "ID": 8,
40
39
  "ContentTypeId": "0x00693E2C487575B448BD420C12CEAE7EFE",
41
40
  "Title": "HelloWorld",
42
41
  "Modified": "2023-05-21T14:31:30Z",
@@ -73,8 +72,8 @@ m365 spo tenant applicationcustomizer list
73
72
  <TabItem value="CSV">
74
73
 
75
74
  ```csv
76
- FileSystemObjectType,Id,ServerRedirectedEmbedUrl,ID,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,TenantWideExtensionComponentId,TenantWideExtensionComponentProperties,TenantWideExtensionListTemplate,TenantWideExtensionLocation,TenantWideExtensionSequence,TenantWideExtensionDisabled
77
- 0,8,,8,0x00693E2C487575B448BD420C12CEAE7EFE,HelloWorld,2023-05-21T14:31:30Z,2023-05-21T14:31:30Z,9,9,1.0,,23951a41-f613-440e-8119-8f1e87df1d1a,d54e75e7-af4d-455f-9101-a5d906692ecd,"{""testMessage"":""Test message""}",0,ClientSideExtension.ApplicationCustomizer,0,
75
+ FileSystemObjectType,Id,ServerRedirectedEmbedUrl,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,TenantWideExtensionComponentId,TenantWideExtensionComponentProperties,TenantWideExtensionListTemplate,TenantWideExtensionLocation,TenantWideExtensionSequence,TenantWideExtensionDisabled
76
+ 0,8,,0x00693E2C487575B448BD420C12CEAE7EFE,HelloWorld,2023-05-21T14:31:30Z,2023-05-21T14:31:30Z,9,9,1.0,,23951a41-f613-440e-8119-8f1e87df1d1a,d54e75e7-af4d-455f-9101-a5d906692ecd,"{""testMessage"":""Test message""}",0,ClientSideExtension.ApplicationCustomizer,0,
78
77
  ```
79
78
 
80
79
  </TabItem>
@@ -92,7 +91,6 @@ m365 spo tenant applicationcustomizer list
92
91
  FileSystemObjectType | 0
93
92
  Id | 8
94
93
  ServerRedirectedEmbedUrl |
95
- ID | 8
96
94
  ContentTypeId | 0x00693E2C487575B448BD420C12CEAE7EFE
97
95
  Title | HelloWorld
98
96
  Modified | 2023-05-21T14:31:30Z