When to use a generated script
- You are smoke-testing a new XSN and need matching lists quickly.
- You do not want to use PnP PowerShell in the tenant.
- You need sample rows so dropdowns can open during import testing.
- You want repeatable setup for a migration demo or QA environment.
Production caution
Generated scripts are scaffolds. Review column types, required flags, lookup design, retention, sensitivity labels, permissions, content types, and library behavior before treating the script as a production provisioning artifact.
Typical run flow
- Install or update Microsoft Graph PowerShell.
- Run the script against the destination test site URL.
- Sign in with an account allowed to create lists and columns.
- Confirm all lists and sample rows were created.
- Return to Form Migrator and reload lists/libraries.

