dataverse-schema-alm
Dataverse schema + ALM via solutions
Overview
Two intertwined concerns: (1) designing Dataverse schema so it survives solution export/import cleanly, and (2) moving that schema plus its dependent components (flows, apps, connection references, environment variables) between environments without manual prompts. Get schema design wrong and solution layering fights you later. Get connection reference / environment variable mapping wrong and pipelines stall on interactive prompts or import silently with broken flows.
Core principle: every schema component you create belongs to exactly one solution/publisher for its lifetime, and every environment-specific value (a connection, a URL, a GUID) must be resolved through an environment variable or connection reference — never hardcoded — or ALM breaks the moment you leave dev.
When to use
- Creating or modifying tables, columns, relationships, choices, alternate keys, business rules, views, or forms
- Setting up a new solution, deciding managed vs. unmanaged, or organizing multiple solutions/publishers
- Building a pipeline (pac CLI, Power Platform Build Tools, GitHub Actions) to move a solution dev → test → prod
- Anything involving connection references or environment variables failing to resolve on import, or import prompting for values in an unattended pipeline