I have manually created an ADF v2 pipeline in the editor and it works correctly.
I exported this to an ARM template, with the only changes to the generated script I made are to replace the parameters('factoryName') with variables('factoryName') (as I want to use a derived name for the factory instance). I have also tried re-creating the pipeline using the generated json and parameters file, however the same problem still exists.
Whenever I attempt to run the pipeline I get the error:
Invalid value for property 'type' with absolutely no details that I can use to work out what the problem is. The error code is just 'BadRequest'
Using the validator in the ADF portal shows that there are no validation issues with my configuration.
I have seen another linked post that suggested that the Boolean data type was incorrect, I have tried changing these to boolean as well as Bool, however the error persists.
The task is a simple copy task that will copy from one Azure SQL database into another Azure SQL database, using a stored procedure on the destination database to perform an upsert.
I have re-created the ARM template twice in the ADF editor, both times have generated the same issue.