High severitycredentials
Power BI Refresh Error:
SftpPermissionDenied
What does this error mean?
The SFTP user authenticated but was denied permission to read or write the file or directory — an authorization error, not authentication.
Common causes
- 1The SFTP user account lacks read or write permission on the target directory
- 2The directory or file has restrictive Unix permissions (chmod) that exclude the SFTP user
- 3The SFTP server is using a chroot jail that restricts access to a subset of the filesystem
How to fix it
- 1Log in to the SFTP server with the same credentials and verify read/write the target path.
- 2Check the file and directory permissions on the SFTP server: ls -la <path>.
- 3Ask the SFTP server administrator to grant the required permissions to the SFTP user.
- 4If using a chroot jail, verify the configured path is within the jail's allowed path.
Frequently asked questions
Official documentation: https://learn.microsoft.com/en-us/azure/data-factory/connector-troubleshoot-ftp-sftp-http