I'm using an MS Flow to connect with sftp and create a file within a specified folder when a record is created within Dynamics. This record that will be created within Dynamics has a multiple line of text field which carries an XML body which is used to create file within sftp folder. Looks like everything is working, except for this error message which says the folder doesn't exist, the folder is available (I selected the folder path manually instead of typing the path). Also, the user account used to connect with sftp has complete access to that folder. Any help will be appreciated
How do you connect to SFTP Server?
If you are using WinSCP to connect to the SFTP Server from your local network, I assume that IP is already whitelisted for the port 22.
When connecting from flow to your SFTP Server, please make sure the corresponding IP address is whitelisted for 22. Maybe flow is not able to reach the server on 22 port.
Hope this could be a reference for you.