SFTP in Dynamics 365 for Operations

Hello All,

We have a requirement where we need to generate a XML file of Vendor payments on the SFTP site. SFTP server uses Public and Private key based SSH authentication for which we need to store private key on a shared/local drive.

The requirement mentioned above has been fulfilled on our DEV server as per the requirement using SSH.Net dll. But the problem is we will not be having access to any drives on Production server so how can we fulfill this requirement ?

Will Microsoft copy the key file by themselves on behalf of us or this can’t be achieved ?

Any ideas guys ?

Respond me in case of any further clarification required.

Do any of you any solution to achieve this ?
Please help…

You could upload the certificate to AX in the same way as you’re able to upload and work with document attachments.
An alternative design would be using am middle-tier integration service instead of doing it directly from AX.

Hi Lalit,

We have similar requirement to upload the vendor payment journal XML on the SFTP server using public and private key. We are able to generate the XML successfully but we are unable to upload the file into SFTP server. Requesting you to share the sample to achieve the requirement.

Thanks In advance.


Shiva Kumar