High severitycredentials
Power BI Refresh Error:
SftpAuthenticationFailure
What does this error mean?
ADF failed to authenticate to the SFTP server. The username, password, or SSH private key in the linked service is incorrect.
Common causes
- 1The SFTP username or password in the ADF linked service is incorrect or expired
- 2The SSH private key stored in the linked service does not match the public key on the SFTP server
- 3The SFTP server has been reconfigured to require key-based authentication only, but the linked service uses password auth
- 4Account lockout due to previous failed authentication attempts
How to fix it
- 1Test the SFTP credentials manually from the self-hosted IR machine: sftp <user>@<host>.
- 2Re-enter the username and password (or re-upload the SSH private key) in the ADF linked service.
- 3Verify the SFTP server's authorized_keys file contains the public key corresponding to the ADF private key.
- 4Check the SFTP server logs for the exact authentication failure reason.
Frequently asked questions
Official documentation: https://learn.microsoft.com/en-us/azure/data-factory/connector-troubleshoot-ftp-sftp-http