Priority
(Low) Something is a little off
Description
In the new setup, running the command on a page with an existing header adds a new one.
Steps to reproduce
- Have the page (article layout) with an existing header.
- Run the
spo page header set command.
- Verify the result to check for two headers.
Expected results
The command should update the existing header.
Actual results
The command adds a new header.

Diagnostics
No response
CLI for Microsoft 365 version
10.2.0
nodejs version
20.11.0
Operating system (environment)
Windows
Shell
PowerShell
cli doctor
No response
Additional Info
No response
Priority
(Low) Something is a little off
Description
In the new setup, running the command on a page with an existing header adds a new one.
Steps to reproduce
spo page header setcommand.Expected results
The command should update the existing header.
Actual results
The command adds a new header.

Diagnostics
No response
CLI for Microsoft 365 version
10.2.0
nodejs version
20.11.0
Operating system (environment)
Windows
Shell
PowerShell
cli doctor
No response
Additional Info
No response