Skip to content

Querying for pages fails when Site Pages library is missing #1562

Open
@koskila

Description

@koskila

Category

  • Bug

Describe the bug

pnp/powershell#3959 is caused when creating a Page with Add-PnpPage but it fails in querying the pages because the site is missing

Steps to reproduce

See this issue for details:
pnp/powershell#3959

Expected behavior

If trying to create a Modern page on a site, it's expected "Site Pages" library exists or is created if it's missing.

Other stuff

I'll submit a PR for adjusting, please review.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions