web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Impossible to create S...
Power Automate
Unanswered

Impossible to create SFTP FOLDER

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi Power Mates !
i face a curious issue, i create a Flow , awaiting for an email, to get the attachement and drop it in a SFTP Space.
Running the Flow gives no problem, everything is checked 'green'
But checking the FTP, no new folder and no file duploaded 😞

 

here is the Create folder script : RAW INPUT

{
    "host": {
        "connectionReferenceName": "shared_sftpwithssh",
        "operationId": "CreateFolder"
    },
    "parameters": {
        "folderPath": "/",
        "name": "TESTJAJI"
    }
}
 
 
Here is the RAW OUTPUT
{
    "statusCode": 200,
    "headers": {
        "Cache-Control": "no-store, no-cache",
        "Pragma": "no-cache",
        "Vary": "Accept-Encoding",
        "Set-Cookie": "ARRAffinity=1a7aff82bc21373b03d8fda86d009014a254fb43661cd4068b45b28f7aa56160;Path=/;HttpOnly;Secure;Domain=sftpwithssh-fc.azconn-fc-001.p.azurewebsites.net,ARRAffinitySameSite=1a7aff82bc21373b03d8fda86d009014a254fb43661cd4068b45b28f7aa56160;Path=/;HttpOnly;SameSite=None;Secure;Domain=sftpwithssh-fc.azconn-fc-001.p.azurewebsites.net",
        "Strict-Transport-Security": "max-age=31536000; includeSubDomains",
        "x-ms-request-id": "3e75a5e9-c2a6-4d59-ba9a-cd255efb6793",
        "X-Content-Type-Options": "nosniff",
        "X-Frame-Options": "DENY",
        "Timing-Allow-Origin": "*",
        "x-ms-apihub-cached-response": "false",
        "x-ms-apihub-obo": "false",
        "Date": "Wed, 20 Sep 2023 07:27:54 GMT",
        "Content-Type": "application/json; charset=utf-8",
        "Expires": "-1"
    },
    "body": {
        "Id": "L1RFU1RKQUpJLw==",
        "Name": "",
        "DisplayName": "",
        "Path": "/TESTJAJI/",
        "LastModified": "2023-09-20T07:27:53Z",
        "Size": 0,
        "MediaType": "application/octet-stream",
        "IsFolder": true,
        "ETag": "\"MDkvMjAvMjAyMyAwNzoyNzo1M3ww\""
    }
}
 
 
 
NO ERRORS, bit NO FOLDER Created
 
2023-09-20_094543.jpg
Categories:
  • sandeepstw Profile Picture
    312 Moderator on at

    Hi There,

     

    The Flow's actions and responses suggest that the folder creation operation was successful on the SFTP server, as indicated by the 200 OK status code and the "IsFolder": true attribute in the response.

     

    Ensure you are checking the correct path on the SFTP server. The output suggests the folder should be at the root directory with the name /TESTJAJI/. Validate that the account associated with the shared_sftpwithssh connection in Power Automate has the necessary permissions to create folders on the SFTP server.

    Some SFTP servers have a caching mechanism. Try accessing the SFTP server using another client or refreshing the directory listing. Review the SFTP server logs. These logs can provide insights if there were any underlying issues with the folder creation.

    Re-run the Flow and monitor the SFTP server in real-time, if possible, to see if any changes are being made.

    If all these checks are in place and the issue persists, you might want to consult with your SFTP server administrator or check for any server-side configurations that might be affecting the operation.

     

    Please give kudos and mark as solution if it helps.  

      

    Thanks, 

    Sandeep Mishra 

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 307 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 127

Last 30 days Overall leaderboard