files move from sharepoint folder to blob storage

Shambhu Rai 1,411 Reputation points
2022-08-09T11:30:18.357+00:00

Hi Expert,
i am moving files from sharepoint folders to blob storage. but getting error message
There are multiple files i.e. test1.pdf,test.2pdf

229420-untitled.png

I am following above steps to move the files but getting failure in 229487-image.png

I need a email trigger for new file posted insharepoint and move file to archive folder in sharepoint once the file is processeed

error
{

"statusCode": 404,  

"headers": {  

    "Cache-Control": "no-store",  

    "Set-Cookie": "xxxxxxx",  

    "Strict-Transport-Security": "max-age=31536000; includeSubDomains",  

    "X-Content-Type-Options": "nosniff",  

    "X-Frame-Options": "DENY",  

    "Timing-Allow-Origin": "*",  

    "x-ms-apihub-cached-response": "true",  

    "x-ms-apihub-obo": "true",  

    "Date": "Tue, 09 Aug 2022 11:28:26 GMT",  

    "Content-Length": "342",  

    "Content-Type": "application/json"  

},  

"body": {  

    "error": {  

        "code": 404,  

        "source": "logic-apis-westeurope.azure-apim.net",  

        "clientRequestId": "2def4b8b-9adf-4a63-a2f6-146bac85ea93",  

        "message": "The response is not in a JSON format.",  

        "innerError": "The resource you are looking for has been removed, had its name changed, or is temporarily unavailable."  
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
{count} votes

12 answers

Sort by: Most helpful
  1. Bruno Lucas 4,436 Reputation points MVP
    2022-08-10T05:30:43.787+00:00

    Hi @Shambhu Rai

    I tried this and it worked for me:

    229746-image.png

    using "get file content using path" also worked same way

    229831-image.png

    Same thing with move files

    229824-image.png

    If you need all the files under a folder, use "Get FileS" instead of "get File" and "get file content" inside the loop:

    229895-image.png

    Please don't forget to click on "Accept Answer" or the vote button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer.

    0 comments No comments

  2. Shambhu Rai 1,411 Reputation points
    2022-08-10T07:42:38.67+00:00

    When the new file is created only takes new files and not all the files from folders


  3. Shambhu Rai 1,411 Reputation points
    2022-08-10T10:08:01.143+00:00

    Get file properties shows- document only
    get file content shows- only one file

    where should i mentioned sharepoint folder path where all files can be copy or moved to blob storage

    229897-image.png


  4. Shambhu Rai 1,411 Reputation points
    2022-08-10T10:09:50.413+00:00

    I need all files to be move from sharepoint . it is hardly one or 2 files but not last created


  5. Shambhu Rai 1,411 Reputation points
    2022-08-10T10:40:11.97+00:00

    where i can my sharepoint folder path


Your answer

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