7 min readRishi

Dataverse Solution Components: A 2026 Quick Reference

Dataverse Solution Components: A 2026 Quick Reference

The import log does not say "the Account main form is missing." It says type="60" and a GUID. Until you can turn that integer into a component kind, you are guessing which solution to import next. The componenttype values live on solutioncomponent. Use them while the zip is still open.

The zip is the crime scene

Unzip the artifact. solution.xml is the manifest. customizations.xml holds unpacked tables, forms, and ribbons. Start with the manifest. If the type in the error is not under <RootComponents>, the missing piece is a dependency, not a root you forgot to add.

Root components are the records you explicitly put in the solution. Children ride along when you add a table with all assets, or they stay behind when you segmented it down to a few columns. A flow can fail because it references a column that exists in the source and never made it into the zip.

<RootComponents>
  <RootComponent type="1" schemaName="account" />
  <RootComponent type="60" id="{GUID}" />
  <RootComponent type="29" id="{GUID}" />
  <RootComponent type="61" id="{GUID}" />
</RootComponents>

type is the integer in the table below. Tables usually identify themselves with schemaName. Most other components use id, the Dataverse row id of that form, workflow, web resource, or plugin step. Matching the GUID in the source environment is how you go from "type 61" to new_/scripts/account.js.

Common component type codes

These are componenttype values on solutioncomponent. Keep this table next to the log. Do not treat it as the full option set — Microsoft documents more values. If a log shows a type that is not here, look it up there before you invent a meaning.

CodeComponent TypeExample
1Entity (Table)Account, Contact, custom tables
2Attribute (Column)firstname, custom_field
3RelationshipMany-to-one, many-to-many
9Option Set (Choice)Global choice columns
10Entity RelationshipLookup relationships
16PrivilegeprvReadAccount
20RoleSales Manager, System Admin
21Role PrivilegeLinks a role to a privilege
24FormOlder form component (not a role)
26Saved QuerySystem views
29Workflow / ProcessClassic workflows and many cloud flows
60System FormMain form, quick create
61Web ResourceJavaScript, HTML, images
62Site MapApp navigation
63Connection RoleStakeholder, Team Member
70Field Security ProfileColumn-level security
90Plugin TypeIndividual plugin classes
91Plugin AssemblyPlugin DLL
92SDK Message Processing StepThe registered step
300Canvas AppPower Apps canvas apps
371ConnectorCustom connectors
380Environment Variable DefinitionConfig variables
381Environment Variable ValueThe value row for that definition

These integers are easy to mix up with entity type codes (Account is 1, but a cloud flow is not 10076). 10076 is not a componenttype. If a log shows a type that is not here, look it up on the official option set before you invent a meaning. Community tables that list 24 as a security role, 65 as an assembly, or 66 as a plugin step are reading a different enum.

MissingDependencies is the actual error

When import fails with a missing dependency, find <MissingDependencies>. Each entry pairs a required component the target does not have with the dependent component in your zip that needs it.

<MissingDependencies>
  <MissingDependency>
    <Required type="1" schemaName="new_widget" displayName="Widget" />
    <Dependent type="29" displayName="Notify on Widget Create" />
  </MissingDependency>
</MissingDependencies>

The process (29) calls new_widget (1). The table is not in the target and is not a root in this zip. Two fixes, not interchangeable:

  1. Add the table to this solution in the source, export again.
  2. Import the solution that already owns new_widget first, then retry.

Option 2 is right when the table belongs to another publisher. Option 1 is right when you forgot to add it. Merging everything into one unmanaged blob "so imports never fail" is how you get the layering mess in managed vs unmanaged solutions.

The same pattern shows up for security roles (20) that grant a privilege (16) from an uninstalled solution, plugin steps (92) registered on a message that does not exist in the target, and canvas apps (300) bound to a table that was segmented out.

Query the live environment, not only the zip

The XML is what the artifact contains. solutioncomponent is what the environment already has.

GET /api/data/v9.2/solutioncomponents?$filter=_solutionid_value eq '{solution-id}'&$select=componenttype,objectid

Group by componenttype and you get a census. If the source has three type-92 rows and the target copy has two, the missing GUID is your next lookup.

$components = Get-CrmRecords -EntityLogicalName solutioncomponent `
  -FilterAttribute solutionid -FilterOperator eq -FilterValue $solutionId `
  -Fields componenttype, objectid

$components.CrmRecords | Group-Object componenttype |
  Select-Object @{N='Type';E={$_.Name}}, Count |
  Sort-Object Count -Descending

Resolve a GUID by querying the table that type implies. Type 61 is webresource. Type 29 is workflow. Type 92 is sdkmessageprocessingstep. Type 90 is plugintype. Type 91 is pluginassembly. You cannot ask solutioncomponent for a web resource's schema name; take objectid and query the entity. The registration side of 90/91/92 is in writing a Dataverse plug-in.

Roots that already exist in the target under a different solution are not missing — they are owned elsewhere. Importing anyway can still work, but a missing child of that foreign root is a different failure than "the table does not exist."

Edge cases that look like type-code problems

Segmented tables. You added new_widget as type 1 but only some columns. A form elsewhere still references new_widget.pendingreason. The log says type 2, not type 1. Adding "the table" again without that column does not fix it.

Classic workflow vs cloud flow. Both often appear as type 29 (Process) in solution.xml. The maker portal calls them "flows." Do not invent a second type code because the display name says Cloud flow. A cloud flow can still fail on a connector (371) or environment variable (380), which are different roots.

Plugin type vs step vs assembly. 91 is the DLL, 90 is the class, 92 is the step. Split across two solutions and you can land the step before the assembly.

Same display name, different GUID. If someone rebuilt the web resource in the target by hand, you have two rows with the same name. Match on id.

First-party tables. A missing type 1 named account usually means the wrong environment, not "pack Account into our zip."

Do not use type codes to design a solution. Use them to read one. Hand-editing solution.xml to insert a <RootComponent> you never added produces a zip that lists a GUID the rest of the package does not contain. The type is the kind, not the payload.

Import-forensics checklist

  1. Unzip the artifact. Confirm the component is actually a RootComponent.
  2. Read <MissingDependencies>. Write down type plus schemaName or id for each Required node.
  3. Look the type up. If it is absent from this table, use the official docs, not Slack lore.
  4. In the target, search for that id. Exists in another solution? Import order. Missing? Add it to this zip or import the owning solution first.
  5. Census both environments grouped by componenttype. A count mismatch is cheaper than a failed import.
  6. For 90/91/92, confirm plugin type, assembly, and step travel together.
  7. For type 1 failures, check whether the missing item is actually a type 2 column left out by segmentation.
  8. Only then re-export. Do not "fix" production with an unmanaged edit so the next managed import can fail the same way.

Keep reading

Newsletter

New posts, straight to your inbox

One email when a new post goes up. Double opt-in, unsubscribe anytime. Not a daily digest.

Comments

  • No comments yet. Be the first.