Windows vm deployment: InvalidArgument "spec.identity"

Problem:
When I run an image-based deploy of a Windows VM on VMware I get the following error message “Failed to create a compute osnra195.adm.ds.fhnw.ch (VMware) instance terry-walkley.cs.technik.fhnw.ch: InvalidArgument: A specified parameter was not correct: spec.identity”.

At first, I thought it was caused by the user-data template I used, as it doesn’t mention WIndows for one thing and for another, it matches the “identity argument” that was supposed to be a problem with the spec.
But even if I don’t add the template in the creation wizard the same error occurs.

oses:
- CentOS
- Fedora
- Debian
- Ubuntu
-%>
# Template for VMWare customization via open-vm-tools

identity:
  LinuxPrep:

I did see a windows template on the template repository but I can’t see how that would configure the network.

Hoping someone has successfully deployed a windows vm from an image.

Expected outcome:
A freshly deployed VM based on the selected image, similar to the Linux workflow.

Foreman and Proxy versions:
Foreman 1.24

Foreman and Proxy plugin versions:
foreman_templates: 6.0.3

Distribution and version:
18.04.3 LTS (GNU/Linux 4.15.0-72-generic x86_64)

Other relevant data:

from the foreman production log file:

2019-12-19T08:39:43 [W|app|14139872] Rolling back due to a problem: [#<Orchestration::Task:0x00007f5e55014ba8 @name="Set up compute instance terry-walkley.cs.technik.fhnw.ch", @
id="Set up compute instance terry-walkley.cs.technik.fhnw.ch", @status="failed", @priority=3, @action=[#<Host::Managed id: nil, name: "terry-walkley.cs.technik.fhnw.ch", last_co
mpile: nil, last_report: nil, updated_at: nil, created_at: nil, root_pass: "$5$HuiolTIPyC71dlEg$uutyn0zoETdN/TH5FFP3nuv7LdIgxc...", architecture_id: 1, operatingsystem_id: 2, en
vironment_id: nil, ptable_id: nil, medium_id: nil, build: true, comment: "", disk: "", installed_at: nil, model_id: nil, hostgroup_id: nil, owner_id: 4, owner_type: "User", enab
led: true, puppet_ca_proxy_id: nil, managed: true, use_image: nil, image_file: nil, uuid: nil, compute_resource_id: 1, puppet_proxy_id: nil, certname: nil, image_id: 2, organiza
tion_id: 1, location_id: 2, type: "Host::Managed", otp: nil, realm_id: nil, compute_profile_id: 1, provision_method: "image", grub_pass: "$6$HVBMel72tdBEUhsn$jjajiOS1Ya1nIZQXrpx
Q0qFFbaSSwj...", global_status: 0, lookup_value_matcher: "fqdn=terry-walkley.cs.technik.fhnw.ch", pxe_loader: "", initiated_at: nil, build_errors: nil>, :setCompute], @created=1
576744682.4876177, @timestamp=2019-12-19 08:39:43 UTC>]
2019-12-19T08:39:43 [I|app|14139872] Processed 2 tasks from queue 'Host::Managed Main', completed 0/4
2019-12-19T08:39:43 [E|app|14139872] Task 'Render user data template for terry-walkley.cs.technik.fhnw.ch' *rollbacked*
2019-12-19T08:39:43 [E|app|14139872] Task 'Set up compute instance terry-walkley.cs.technik.fhnw.ch' *failed*
2019-12-19T08:39:43 [E|app|14139872] Task 'Query instance details for terry-walkley.cs.technik.fhnw.ch' *canceled*
2019-12-19T08:39:43 [E|app|14139872] Task 'Power up compute instance terry-walkley.cs.technik.fhnw.ch' *canceled*
2019-12-19T08:39:43 [E|app|14139872] Failed to save: Failed to create a compute osnra195.adm.ds.fhnw.ch (VMware) instance terry-walkley.cs.technik.fhnw.ch: InvalidArgument: A sp
ecified parameter was not correct: spec.identity