I’m trying to track changes for when people are added or removed from my people column in a Sharepoint list. I have tried PowerAutomate, but I am having issues.
These are the ways I have thought about doing it:
Option 1
- Http request current and previous version of SP list
- Parse JSON
- Somehow compare the previous column to the current to be able to separate current, removed, and added
This seems complicated and I have issues with the JSON as I have little experience with it
Option 2
- Duplicate the current list of people in the column on a separate list
- When the actual list is updated, create new items on the copy list
- Delete any rows that have usernames repeated (i.e. if my email shows up twice, both rows are deleted. This way, the only records that are left have been either added OR deleted. I would need some way to denote this later)
This is the better option for what I would like to do, but I am not sure how to configure the PowerAutomate flow to delete the duplicate rows (both). I have not thought about how to denote whether each person was added or deleted after getting the rows deleted.
Would greatly appreciate any insight on this or ideas to do it another way. Thanks!