Currently I am trying to Create a SFTP-SSH connector for one of the Logic App. I got a Reference for SFTP connector
When i am trying to create the connector with the below code
{
"type": "Microsoft.Web/connections",
"apiVersion": "2018-07-01-preview",
"location": "[parameters('location')]",
"name": "[parameters('ftpConnectionName')]",
"properties": {
"api": {
"id": "[subscriptionResourceId('Microsoft.Web/locations/managedApis', parameters('location'), 'ftp')]"
},
"displayName": "ftp",
"parameterValues": {
"serverAddress": "[parameters('ftpServerAddress')]",
"userName": "[parameters('ftpUsername')]",
"password": "[parameters('ftpPassword')]",
"serverPort": "[parameters('ftpServerPort')]",
"isssl": "[variables('ftpisssl')]",
"isBinaryTransport": "[variables('ftpisBinaryTransportftpisssl')]",
"disableCertificateValidation": "[variables('ftpdisableCertificateValidation')]"
}
}
}
Getting the below Error:-
"Code":"BadRequest","Message":"Input parameters are invalid. See details for more information.
Details:errorCode: ParameterNotDefined. Message: Parameter 'serverAddress' is not allowed on the connection since it
was not defined as a connection parameter when the API was registered..","Target":null,"Details":[{"Message":"Input
parameters are invalid
It says "serverAddress" is wrong param. Any one have any idea regrading this?
NB:- All of the parameters are declared in Parameter file. Its simple SFTP address String.