
Announcements
Hi All,
I want to set a flow when I click, I could grant access (from edit to view) to each SharePoint list item base on multiple person column.
Error message:
The execution of template action 'Apply_to_each_2' failed: the result of the evaluation of 'foreach' expression '@items('Apply_to_each')' is of type 'Object'. The result must be a valid array.
I think that because person column is array but I am not sure how to extract only email address from the column.
Can someone help me with this? Thank you!
Flow screenshot as below
Hi, @studyri10
Based on your description, I have made a simple test for your reference.
In my test, the name of multiple person column is “Employee”.
This is my flow:
You could refer to my parameter settings for each apply to each.
Result:
The flow run successfully.
Best Regards,
Community Support Team _ habsburg Qian
If this post helps, then please consider Accept it as the solution to help the other members find it.