Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Problem in Attaching the uploaded files from MS Form into SharePoint List

(0) ShareShare
ReportReport
Posted on by 23

I have built a flow to get all the attachment in MS Form and upload to the SharePoint list. Recently, it found with the following errors:

 

The specified name is already in use.

The document or folder name was not changed. To change the name to a different value, close this dialog and edit the properties of the document or folder.
clientRequestId: 86c8f485-573d-4699-81c4-84a93f4e2a61
serviceRequestId: 9431caa0-f015-2000-7ee2-af9db9fd4d31

 

owenwong_0-1690357609747.png

owenwong_1-1690357635355.png

 

owenwong_2-1690357783225.pngowenwong_3-1690357814485.png

 

owenwong_4-1690357846751.png

 

 

  • owenwong Profile Picture
    23 on at
    Re: Problem in Attaching the uploaded files from MS Form into SharePoint List

    I finally found the solution from youtuber by adding the below steps:

    owenwong_0-1694658110269.png

     

    owenwong_1-1694658216737.png

     

    Thanks, 

    Owen 

     

  • v-jefferni Profile Picture
    on at
    Re: Problem in Attaching the uploaded files from MS Form into SharePoint List

    Hi @owenwong ,

     

    As I said, there should be a rule in the logic, so a flow could know which prefix should be append to the file names.

    If there are no rules/regularity, in other words, users can upload files with any name they like, then I don't think this is achievable.

     

    Best regards,

  • owenwong Profile Picture
    23 on at
    Re: Problem in Attaching the uploaded files from MS Form into SharePoint List

    Much appreciated if you woud show me the steps adding prefix "1", "2" and "3" in the file name before uploading to Sharepoint. 

  • v-jefferni Profile Picture
    on at
    Re: Problem in Attaching the uploaded files from MS Form into SharePoint List

    Hi @owenwong ,

     

    I don't think there is a way of "have some limitations in the Form while uploading the attachment to stop the upload". You can add prefix for the uploaded files, just rename the files before the Add attachment action. However, there still should be some rules so the flow can know which prefix the files need. 

     

    Best regards,

  • owenwong Profile Picture
    23 on at
    Re: Problem in Attaching the uploaded files from MS Form into SharePoint List

    Dear Community Support Team _ Jeffer Ni

     

    Yes, it works well after the upload file has been renamed.  

     

    However, in my design, this Form is widely used within organization. I cannot make sure everyone knows the problem, stop them to upload the attachment in the Form with same file name. So, in addition, I need something to prevent it to happen.  It will be great if we can have some limitations in the Form while uploading the attachment to stop the upload. And, we may add some steps in PowerAutomate to automatically rename the attachment by adding prefix "1", "2" and "3" before uploading to Sharepoint. 

     

    Please further advise. Many thanks. 

     

    The best regards,

    Owen  

  • Verified answer
    v-jefferni Profile Picture
    on at
    Re: Problem in Attaching the uploaded files from MS Form into SharePoint List

    Hi @owenwong ,

     

    The error was just saying that there is a file with the same name for one list item. Please check:

    1. if there is an attachment with the same name as a file uploaded in the Form.

    2. if there are files with the same name upload in the Form.

     

    Best regards,

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1