web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / I am struggling with o...
Power Automate
Unanswered

I am struggling with opening an SFTP connection from my Device's IP, copy files on to my local drive.

(0) ShareShare
ReportReport
Posted on by

I am trying to use power automate to automate a daily process of connecting to a sftp, downloading files onto my local drive. My biggest issue is I am unable to whitelist all of the IP addresses associated with Microsoft and can only connect using the IP address from my office. I attempted going around this by using power automate's CMD functionality but I am unable to insert the password doing this. So my problem has two different paths to the same result and was wondering if either are possible, and if so how to do it.

1. Connect to SFTP using power automate using my local IP address

2. Connect to SFTP using the CMD/terminal functionality within Power Automate and give commands through that.

 

If there is another solution using task scheduler or something else, I am very open to all and any suggestions.

Categories:
  • subba Profile Picture
    2 on at

    Hi I am also facing login issue:

     

    Correlation Id: 84d13c11-10be-4ef8-9b3b-2bda76f7028a

    Permission denied (password).: Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.ActionException: Can't login to xxx.xxxxx.com. ---> Renci.SshNet.Common.SshAuthenticationException: Permission denied (password).
    at Renci.SshNet.ClientAuthentication.Authenticate(IConnectionInfoInternal connectionInfo, ISession session)
    at Renci.SshNet.ConnectionInfo.Authenticate(ISession session, IServiceFactory serviceFactory)
    at Renci.SshNet.Session.Connect()
    at Renci.SshNet.BaseClient.CreateAndConnectSession()
    at Renci.SshNet.BaseClient.Connect()
    at Microsoft.Flow.RPA.Desktop.Modules.FTP.Actions.OpenSecureFtpConnectionAction.InitializeSftpConnection()
    at Microsoft.Flow.RPA.Desktop.Modules.FTP.Actions.OpenSecureFtpConnectionAction.Execute(ActionContext context)
    --- End of inner exception stack trace ---
    at Microsoft.Flow.RPA.Desktop.Modules.FTP.Actions.OpenSecureFtpConnectionAction.Execute(ActionContext context)
    at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 237 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 227 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 194

Last 30 days Overall leaderboard