Hi @Ryan Abbey ,
Thankyou for your patience. Got the following response from the team:
"We are securing authorization headers like Authorization and APIKey, and these will be considered as secureString. Therefore, the UI will not allow using dynamic expressions when configuring OData Auth headers. When deploying this Linked Service, you should parameterize these auth header items as secure strings."
Authorization property in the linked service only accept secure string . Since there is no add dynamic content option, explicitly parameterizing it is not compliant with the API as it expects only secure string like below :
In order to override parameters while performing the deployment of OData Linked service , you can make use of custom parameter template
More info here: Synapse CI/CD: Using a custom parameter template
CICD Automation in Synapse Analytics: taking advantage of custom parameters in Workspace Templates
Try adding OData block in template-parameters-definition.json file while using custom parameter template:
"OData":{
"properties":{
"typeproperties":{
"authHeaders":{
"Authorization": "|:Authorization:secureString"
}
}
}
}
Hope it helps. Please accept the answer by clicking on Accept answer
button and mark it as helpful. Thankyou