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
Super User
Super User

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
Super User
Super User

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
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,959)