Hi.
I am looking to update a Sharepoint List with Dataverse Data using the Sharepoint Batch action in Power Automate.
I have no issues getting everything updated, and creating new items that are not already in Sharepoint is also working fine. However, I am having difficulties wrapping my head around deleting items from the Sharepoint Lists that are no longer in Dataverse.
My flow relating to the filtering etc. Currently looks like this, and was copied from a guide i found:

And I would like to have a third branch that filters everything that is in the Sharepoint List, but not in the Dataverse anymore.
I was thinking about creating 2 arrays with unique Keycolumns from both the Sharepoint Data and the Dataverse Data, and then comparing the 2 to find out which of the items in the Sharepoint Data is no longer in the Dataverse data, but I am not sure how to achieve this without using some Apply To Each and compare the individual items.
Can anyone point me in the right direction here?