The "Permission denied (password)" error typically occurs when there is an issue with the authentication process during the SFTP connection. Here are a few suggestions to troubleshoot and resolve the problem:
Verify the username and password: Double-check the credentials being used to authenticate with the SFTP server. Ensure that the username and password are correct and have not changed.
Check for IP restrictions: Some SFTP servers may have IP-based restrictions in place. Confirm that the IP address from which you are attempting to connect is allowed to access the server.
Confirm server configuration: Ensure that the SFTP server is properly configured to allow password-based authentication. Some servers may require key-based authentication or have additional security settings in place.
Test with other SFTP clients: Verify if you can successfully connect to the SFTP server using other SFTP clients. This will help determine if the issue is specific to Azure Logic Apps or if it's a general connectivity problem.
Check for network connectivity issues: Ensure that there are no network connectivity issues between your Logic Apps environment and the SFTP server. Check if there are any firewalls, proxies, or network restrictions that might be interfering with the connection.
Enable detailed logging: Enable detailed logging in your Azure Logic Apps to capture more information about the error. This can help identify any specific error codes or messages that can provide insights into the cause of the issue.
Contact Azure Support: If the issue persists and you have exhausted all troubleshooting steps, it's recommended to reach out to Azure Support for further assistance. They can help investigate the issue more thoroughly and provide specific guidance based on your scenario.
By following these steps, you should be able to identify and resolve the "Permission denied (password)" error you are experiencing with your SFTP connections in Azure Logic Apps.