Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure DataFactory V2: Use SecureString Parameter in dynamic content

I have a secure string parameter in data fatory

enter image description here

According to another post this is the way to access said parameter

@{pipeline().parameters.ChassisSqlUsername.value}

This use to and still give a validation error within the dynamic content window: enter image description here

However the pipeline worked like this without issue. This validation error did not block publishing.

Asof today I can no longer publish if that validation error is present enter image description here enter image description here

How do I get around this?

like image 610
Murdock Avatar asked Jan 25 '26 08:01

Murdock


2 Answers

I don't know why the syntax of ADF is so terrible.

@{json(string(pipeline().parameters.ChassisSqlUsername)).value}
like image 148
kyakya Avatar answered Jan 29 '26 12:01

kyakya


Refer it in this way:

@{pipeline().parameters.ChassisSqlUsername}

It will work.

like image 21
Bilal Shafqat Avatar answered Jan 29 '26 14:01

Bilal Shafqat



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!