I kept getting errors on the automatic deployment of SCCM with the PDT toolkit. The thing is that SCCM cannot work with Dynamic ports as described here:
So to fix this just change the SQL port in the to a fix port like shown below:
Normally PDT is going to verify if all the SQL settings are defined correctly during the pre-install validation except for this one. So if you want PDT to verify that the SCCM instance is not set to a dynamic port you can add:
…to the <Validation> section of the SC DB role in the variable.xml file
Thanks for Rob Willis to help me with this.