Medium severitydata source
Power BI Refresh Error:
SftpRenameOperationFail
What does this error mean?
ADF could not rename a file on the SFTP server after copy. ADF uses a temp-then-rename pattern — if the rename fails, the file remains with a temporary name.
Common causes
- 1The SFTP user does not have rename (move) permission on the target directory
- 2A file with the target name already exists on the SFTP server and the server does not allow overwrite via rename
- 3The SFTP server does not support atomic rename operations
How to fix it
- 1Verify the SFTP user account has write and rename permissions on the target directory.
- 2Check if a file with the same destination name already exists and determine if it should be overwritten or handled differently.
- 3If rename is not supported by the SFTP server, switch to a different write method or contact the server administrator.
Frequently asked questions
Official documentation: https://learn.microsoft.com/en-us/azure/data-factory/connector-troubleshoot-ftp-sftp-http