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

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Editing a Microsoft Form to update a SharePoint list including attachments

(0) ShareShare
ReportReport
Posted on by 26
I have created a Power Automate flow that takes the entries from a Microsoft Form and sends them over to a SharePoint list, this includes 6 individual attachments.
The flow works fine but staff will need to go in and edit the Microsoft Form if the correct information has not been provided.
Is it possible to modify my flow or create a new flow which checks for changes to the Microsoft Forms Excel worksheet and add the amendments to my SharePoint list?
I have the same question (0)
  • Suggested answer
    Ninjasabi Profile Picture
    122 on at
    Editing a Microsoft Form to update a SharePoint list including attachments

    To achieve the goal of updating a SharePoint list with changes made to a Microsoft Form, including attachments, you can set up a Power Automate flow that monitors changes in the Excel worksheet linked to the Microsoft Form and updates the SharePoint list accordingly. Here’s a step-by-step guide to help you set this up:

    Step 1: Monitor Changes in the Excel Worksheet

    1. Trigger the Flow:

      • Use the "When a file is created or modified (properties only)" trigger for OneDrive or SharePoint (wherever your Microsoft Forms responses Excel file is stored).
      • Site Address: (your OneDrive or SharePoint site)
      • Library Name: (the document library where the Excel file is stored)
      • Folder: (the folder path to the Excel file)
    2. Get the File Content:

      • Action: Get file content
      • Site Address: (your OneDrive or SharePoint site)
      • File Identifier: Identifier (from the trigger)
    3. List Rows Present in a Table:

      • Action: List rows present in a table
      • Location: (your OneDrive or SharePoint site)
      • Document Library: (the document library where the Excel file is stored)
      • File: (the Excel file)
      • Table: (the table containing the form responses)

    Step 2: Process Each Row and Update SharePoint List

    1. Apply to Each:

      • Action: Apply to each
      • Output: Value from the "List rows present in a table" action
    2. Condition to Check for Changes:

      • Action: Condition
      • Condition: Compare the current row data with the corresponding SharePoint list item data to determine if there are changes.
    3. If Changes Detected, Update SharePoint List:

      • Action: Update item
      • Site Address: (your SharePoint site)
      • List Name: (your SharePoint list)
      • Id: (the ID of the corresponding SharePoint list item)
      • Map the fields from the Excel row to the SharePoint list item fields.

    Step 3: Handle Attachments

    1. Get Attachments from Excel:

      • If your form responses include attachments, you will need to handle them separately. You can use the "Get file content" action to retrieve the attachments from the Excel file.
    2. Add Attachments to SharePoint List Item:

      • Action: Add attachment
      • Site Address: (your SharePoint site)
      • List Name: (your SharePoint list)
      • Id: (the ID of the corresponding SharePoint list item)
      • File Name: (name of the attachment)
      • File Content: (content of the attachment)

    Example Flow Outline

    1. Trigger:

      • Action: When a file is created or modified (properties only)
      • Site Address: (your OneDrive or SharePoint site)
      • Library Name: (the document library where the Excel file is stored)
      • Folder: (the folder path to the Excel file)
    2. Get File Content:

      • Action: Get file content
      • Site Address: (your OneDrive or SharePoint site)
      • File Identifier: Identifier (from the trigger)
    3. List Rows Present in a Table:

      • Action: List rows present in a table
      • Location: (your OneDrive or SharePoint site)
      • Document Library: (the document library where the Excel file is stored)
      • File: (the Excel file)
      • Table: (the table containing the form responses)
    4. Apply to Each:

      • Action: Apply to each
      • Output: Value from the "List rows present in a table" action
    5. Condition:

      • Action: Condition
      • Condition: Compare the current row data with the corresponding SharePoint list item data to determine if there are changes.
    6. If Yes (Changes Detected):

      • Action: Update item
      • Site Address: (your SharePoint site)
      • List Name: (your SharePoint list)
      • Id: (the ID of the corresponding SharePoint list item)
      • Map the fields from the Excel row to the SharePoint list item fields.
    7. Handle Attachments:

      • Action: Get file content (for each attachment)
      • Action: Add attachment (to the SharePoint list item)

    This approach ensures that any changes made to the Microsoft Form responses in the Excel worksheet are reflected in the SharePoint list, including handling attachments.

  • Ellis Karim Profile Picture
    11,473 Super User 2025 Season 2 on at
    Editing a Microsoft Form to update a SharePoint list including attachments
    As far I am aware, there isn't a trigger for when a forms response is edited.
     
    Rather than edit the Excel worksheet, is it an option for you to get staff to edit the items in the SharePoint list itself?
     
    Ellis
  • Verified answer
    PuffY187 Profile Picture
    26 on at
    Editing a Microsoft Form to update a SharePoint list including attachments
    It appears that although it is possible to edit an existing Microsoft Form, the updated information is not passed to the back end excel worksheet. 
    It looks like the only way round my issue is to use a SharePoint list or Power Apps.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 655 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 371 Moderator

#3
chiaraalina Profile Picture

chiaraalina 276

Last 30 days Overall leaderboard