Hello @Praveena Uppalapati [ELB] and welcome to Microsoft Q&A. I have another solution to suggest.
Parameterize the additional header using the 'advanced' section, so the access token can be assigned when the pipeline runs. Then, at the beginning of the pipeline, use the Web Activity to fetch new access token.
I think it could look something like:
{
"properties": {
"parameters": {
"PassInAuth": {
"type": "SecureString"
}
},
"annotations": [],
"type": "OData",
"typeProperties": {
"url": "urlgohere",
"authenticationType": "Anonymous",
"authHeaders": {
"Authorization": {
"type": "Expression",
"value": "@LinkedService().PassInAuth"
}
}
}
}
}