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 / Delete data in SharePo...
Power Automate
Suggested Answer

Delete data in SharePoint list based on excel file in SP

(1) ShareShare
ReportReport
Posted on by 286
Hi all,
 
i built a flow to delete data in SharePoint list, based on id's given in SP document, the flow ran successfully but the data has not deleted in SP List in updated the flow for reference

 
 
 
 
Thanks
Jawahar Prem
I have the same question (0)
  • Suggested answer
    SpongYe Profile Picture
    5,909 Super User 2026 Season 1 on at
     
    The issue is in the Get items > Filter Query.
    Unique_ID eq 'Unique_ID'
    It should use the Unique_ID value from the Excel file row.
     

    If you have any questions or feedback, please let me know. Have a great day! 😊

    -----------------------
    SpongYe Power Platform Enthusiast [LinkedIn] | [Youtube| [My blog]

     

    I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my blog [@SpongYe] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻

  • Suggested answer
    11manish Profile Picture
    3,333 on at
    If your Power Automate flow shows “Succeeded” but the SharePoint list items are not actually deleted, the issue is usually related to one of the following:
    • incorrect ID mapping,
    • Excel values being treated as text,
    • wrong SharePoint item ID,
    • filter/query mismatch,
    • or the Delete Item action not receiving the correct item ID.
    My Strong Recommendation
    Use:
    • int(items('Apply_to_each')?['ID'])
    before Delete Item.
    This resolves a large percentage of Excel-to-SharePoint deletion issues in Power Automate.
  • Suggested answer
    Jawaharprem Profile Picture
    286 on at
    Hi,
    Thanks i works i added item()?['Unique_iD'] it working fine
  • Suggested answer
    SpongYe Profile Picture
    5,909 Super User 2026 Season 1 on at

    Hi @Jawaharprem,

    Please consider marking my answer as the solution so it can help others with the same issue.

    Tthanks for confirming. item()?['Unique_iD'] works because it pulls the actual Unique_iD value from the current Excel row inside the Apply to each loop, instead of comparing the SharePoint column to a fixed text value.

    Glad it’s working now.

     

    If you have any questions or feedback, please let me know. Have a great day! 😊

    -----------------------
    SpongYe Power Platform Enthusiast [LinkedIn] | [Youtube| [My blog]

     

    I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my blog [@SpongYe] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻

  • Ellis Karim Profile Picture
    12,163 Super User 2026 Season 1 on at
     
    Check also that the Excel 'List rows present in a table action has a pagination threshold set to a suitable limit. See:
     
     
     
    Ellis Karim
    Ellis Karim
    elliskarim.com  |  LinkedIn  |  Bluesky
    If this solved your issue, please mark it as ✅ Accepted Answer. If it helped, feel free to give it a 🩷 Like!

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard