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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Add, Edit, Delete Shar...
Power Automate
Unanswered

Add, Edit, Delete SharePoint List to Match Modified Excel File

(0) ShareShare
ReportReport
Posted on by 77

I have a similar ask to this post, for which there was not a solution provided. (Near as I can tell the comment about local collection is referring to PowerApps not Automate?) https://powerusers.microsoft.com/t5/General-Power-Automate/Flow-to-sync-SharePoint-List-with-Excel-Table/m-p/376485

My Scenario:
Monthly, an Excel file is updated and sent as attachment to a share inbox in Outlook. I have a flow that will capture that attachment and save it to SharePoint, overwriting the file that is there. Thus my list update will be triggered by a change to that file. The file will have a table, with same name, column names, content etc. There are columns that are not to be shared/not being copied to the SP list, so the file will have to be in a 'secure' library I believe. (I wanted to use Excel power query to extract the data to a different file so only public data was in the library, but I can't find a way to have a flow open the Excel file and refresh the queries to reflect updated source file data.)

I have found videos etc that show how to add and update items in the list (Reza's version for example https://www.youtube.com/watch?v=uEZI_b1Gs-k), but none of them show how to delete from list rows that are no longer present in the Excel file. The test list is max 300 entries, but this process will be scaled to 1600 and possible thousands. 

I am open to another method of extracting and using the data as well, if there is a better process option. I need the list data for my Power App, and it needs to be current (monthly right now, with possibility to direct save modified file and avoid the email method). This is org data, so will be matching based on email address (text) to determine matches etc.

If it matters, the flows are part of a PowerApps solution but are not triggered by the App, just by the file attachment/modifications.

Thanks.

Categories:
I have the same question (0)

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard