cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
LeventeH
Helper I
Helper I

Sharepoint sync Delete item if deleted in the other harepoint

Hello everyone!

 

I have Sharepoint list1, that is updated continuously and I have sharepoint list 2, that I want to be the copy of Sharepint list 1. My struggle is, that whenever I delete something from sharepoint 1 it does not synchronize to sharepoint 2. 

 

I made the flow, like when an item is deleted from sharepoint one (trigger) delete item in sharepoint 2, with the given id, I got the following error details :

Item Not Found
clientRequestId: 51fbce27-f88e-4212-becf-640cc4ebb228
serviceRequestId: 51fbce27-f88e-4212-becf-640cc4ebb228

 

Any help to solve this?

1 ACCEPTED SOLUTION

Accepted Solutions
PrasadAthalye
Community Champion
Community Champion

IDs between 2 lists do not match.

 

When you create Item in 2nd List, you should store, Item of ID 1, example in a column 'List1ID'. Then Use GetItem on 2nd list and apply filter where List1ID eq <ID Property of List 1>. 

 

Then use DeleteItem on 2nd list and provide ID property of GetItem of List 2. 

 

It will work.

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community

View solution in original post

1 REPLY 1
PrasadAthalye
Community Champion
Community Champion

IDs between 2 lists do not match.

 

When you create Item in 2nd List, you should store, Item of ID 1, example in a column 'List1ID'. Then Use GetItem on 2nd list and apply filter where List1ID eq <ID Property of List 1>. 

 

Then use DeleteItem on 2nd list and provide ID property of GetItem of List 2. 

 

It will work.

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (2,549)