I worked with Martin jaffer from MS to get this resolved.
Below is the correct script which corrected the error
"name": "FileServer1",
"type": "Microsoft.DataFactory/factories/linkedservices",
"properties": {
"type": "FileServer",
"parameters": {
"FileServerPath": {
"type": "String",
"defaultValue": "\\tmdwmart\Inbound_Production\MCF"
},
"File_Name": {
"type": "String",
"defaultValue": "AccessValue.csv"
},
"user_name": {
"type": "String",
"defaultValue": "tbecu\khanaz"
},
"kv_secret": {
"type": "string",
"defaultValue": "MCFAccessValue"
}
},
"annotations": [],
"typeProperties": {
"host": "@{linkedService().FileServerPath}",
"userId": "@{linkedService().user_name}",
"password": {
"type": "AzureKeyVaultSecret",
"store": {
"referenceName": "kv_asap",
"type": "LinkedServiceReference"
},
"secretName": {
"value": "@linkedService().kv_secret",
"type": "Expression"
}
}
},
"connectVia": {
"referenceName": "WSRB08968",
"type": "IntegrationRuntimeReference"
}
}
}