问题
When I create a new Logic App and choose, for example, "SFTP file is added or modified" I am prompted to add the connection information. I have already created an API connection to my SFTP server. How to choose this existing connection instead of creating a new one in Designer? Or do I have to switch to Code View in order to use an existing connection?
Update: I tried in code view to copy over my connections ( the "$connections" element from another Logic App) and go this error:
Operation failed: The template validation failed: 'The template parameters '$connections' are not valid; they are not present in the original template and can therefore not be provided at execution time. The only supported parameters for this template are ''.'.
回答1:
The answer is that the new Logic App has to be in the same region as the existing API Connection.
来源:https://stackoverflow.com/questions/41079031/how-use-existing-connection-in-logic-apps-designer