Faild to connect with SFTP server from azure linked service

Prakash Paul 0 Reputation points
2024-08-21T15:39:55.1433333+00:00

User's image

getting below error:

Meet authentication failure when connect to Sftp server 'sftp.XXXXX.XXXXX.com' using 'Basic' authentication type. Please make sure you are using the correct authentication type and the credential is valid. For more details, see our troubleshooting docs.

No suitable authentication method found to complete authentication (keyboard-interactive).

with winSCP, able to connect.

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,858 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bhargava-MSFT 30,816 Reputation points Microsoft Employee
    2024-08-22T16:13:18.0166667+00:00

    Hello Prakash Paul,

    Welcome to the Microsoft Q&A forum.

    Per the error message, SFTP server is not able to complete the authentication process using keyboard-interactive authentication.

    To resolve this issue, can you try explicitly grant ADF to use keyboard-interactive authentication to establish SSH session in the schedule Copy.

    Please follow the below steps to enable keyboard-interactive auth

    • keyboard-interactive auth
      • On UX, click on Connections->Linked Services
      • Find the SFTP linked service you created
      • Click on the button heighted as right snapshot
    • image.png
    • Remove encryptedCredential property, Add property allowKeyboardInteractiveAuth with value true, below is an example image.png

    Save the changes and rerun the copy

    If this answers your question, please consider accepting the answer by hitting the Accept answer and up-vote as it helps the community look for answers to similar questions.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.