In order to use units from the single-player campaign in a map, the campaign dependency must be included.
This can be done using the "Dependencies" dropdown menu when starting a new map
Or, for existing maps, by opening the"File" menu, clicking "Dependencies", and adding "Liberty (Campaign)"