Share via

PowerAutomate SFTP Connection Failure

Martyn Hickey 0 Reputation points
2025-11-17T11:11:42.4466667+00:00

Hi All,

I'm trying to set up a flow in Power Automate to access an SFTP site and move some files into a sharepoint location.

I have set up the connection 'successfully' as shown below, but when I try and use the connection in a flow-step, it gives me the error:
There was a problem using the 'shared-sftpwithssh-da1f6085-166b-4c78-9b50-733a08960bee' connection to access 'TGSS SFTP'. Try again, and if the problem persists, trychecking to see if the current connection should be fixed, switching to a different connection, or creating a new connection.

When I follow that link, it takes me to this page:
Screenshot 2025-11-17 at 11.08.32

Which shows that the connection is valid.

I have tried using other tools such as FileZilla to connect to this SFTP and been successful with the same key.

Any ideas would be appreciated to resolve.

Thanks in advance!

Microsoft 365 and Office | Other
0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2025-11-17T14:21:56.03+00:00

    Hi, thanks for sharing the details and the screenshot.

    The connection showing as valid means your credentials and key are accepted, but the error in the flow usually happens because the connector can’t actually reach the SFTP server during execution.

    This is often due to missing IP whitelisting for Microsoft’s Power Automate service or an issue with the authentication format.

    First, confirm the SFTP host and port match what works in FileZilla, and check if your private key is in OpenSSH format without a passphrase.

    Also, make sure the folder path in your flow starts with a forward slash, like http://incoming/files.

    If your server uses IP restrictions, you’ll need to whitelist Microsoft’s Power Platform IP ranges for your region.

    Can you confirm if you’re using a username and password or a private key, and whether your SFTP server has any IP filtering in place?

    Regards,
    Aron

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.