Hello all,
I've been working on a small flow to change permissions on a list in SharePoint for a while.
I used this page as a guide:
https://www.netwoven.com/2020/11/03/set-item-level-permission-in-sharepoint-list-using-power-automate/
The whole thing worked before.
Now I wanted to start the whole thing again from scratch and I get the following error message with the same flow:
The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@body('Parse_JSON')?['d']?['Manager']?['results']' is of type 'Null'. The result must be a valid array.
I have now tried everything from completely recreating, testing each step individually, but I keep getting this error.
Can anyone tell me why this error is occurring and how I can fix it?
As I said, I followed the instructions exactly.
Best regards and thank you very much!