You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a SharePoint page has a vertical section (create manually or by CLI) you cannot add a webpart to this section by m365 spo page clientsidewebpart add. Error is {"error":"Invalid section '2'"}
However, the m365 spo page section list and m365 spo page section get returns the section.
Steps to reproduce
Create a vertical section on a SharePoint page
Add a webpart to the section e.g. m365 spo page clientsidewebpart add --webUrl $site --pageName "Home.aspx" --standardWebPart Image --section 2 --column 1
Expected results
The webpart being added to the vertical section
Actual results
Webpart is not added.
Error: {"error":"Invalid section '2'"}
Diagnostics
No response
CLI for Microsoft 365 version
v8.0.0
nodejs version
v20.12.0
Operating system (environment)
Windows
Shell
PowerShell
cli doctor
No response
Additional Info
No response
The text was updated successfully, but these errors were encountered:
hsantens
changed the title
Bug report: m365 spo page clientsidewebpart add does not work on vertical section
Bug report: m365 spo page clientsidewebpart add does not work on vertical section
Aug 22, 2024
Priority
(Medium) I'm annoyed but I'll live
Description
When a SharePoint page has a vertical section (create manually or by CLI) you cannot add a webpart to this section by
m365 spo page clientsidewebpart add
. Error is {"error":"Invalid section '2'"}However, the
m365 spo page section list
andm365 spo page section get
returns the section.Steps to reproduce
m365 spo page clientsidewebpart add --webUrl $site --pageName "Home.aspx" --standardWebPart Image --section 2 --column 1
Expected results
The webpart being added to the vertical section
Actual results
Webpart is not added.
Error: {"error":"Invalid section '2'"}
Diagnostics
No response
CLI for Microsoft 365 version
v8.0.0
nodejs version
v20.12.0
Operating system (environment)
Windows
Shell
PowerShell
cli doctor
No response
Additional Info
No response
The text was updated successfully, but these errors were encountered: