Skip to content

Bug report: spo page header set. The command adds a new header instead of updating the existing one. #6542

Description

@mkm17

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

  1. Have the page (article layout) with an existing header.
  2. Run the spo page header set command.
  3. 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.
image

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions