Skip to content

Add staged Enterprise Wiki migration cmdlets - #5457

Draft
TaoziZ03 wants to merge 4 commits into
pnp:devfrom
TaoziZ03:codex/enterprise-wiki-migration
Draft

Add staged Enterprise Wiki migration cmdlets#5457
TaoziZ03 wants to merge 4 commits into
pnp:devfrom
TaoziZ03:codex/enterprise-wiki-migration

Conversation

@TaoziZ03

Copy link
Copy Markdown

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

Cross-repository dependency: pnp/pnpframework#1278.

What is in this Pull Request ?

Adds a three-stage Enterprise Wiki migration workflow:

  • Export-PnPEnterpriseWikiPackage captures a source-only, digest-sealed snapshot and does not require a target connection.
  • New-PnPEnterpriseWikiMigrationPlan probes the target, produces explicit field/dependency decisions, and writes a complete Markdown review report.
  • Import-PnPEnterpriseWikiMigrationPackage accepts the plan result through the pipeline, validates the approved digest, repeats preflight, and executes only sealed actions.

Every Pages-library field is retained in the source snapshot. The importer writes only recognized, writable, type-compatible fields; unknown values remain EvidenceOnly, while user, lookup, and taxonomy values remain RequiresMapping until a reviewed mapper exists.

Lifecycle is derived from source evidence rather than a publish switch: only an unambiguous Published source is published, and every other state is imported as Draft. The public Publish/Draft input is removed. Force only controls local artifact overwrite.

Validation

This is intentionally a Draft PR while the Framework dependency and tenant-backed acceptance run are reviewed. No live tenant import was performed while preparing the PR.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant