I am trying to flatten a Power Automate array I have extracted from SharePoint to pass into an Apply to Each loop with Search for Users (V2).
The data I have extracted look like this [ { "UserID": "E234567" }, { "UserID": "E123456" } ] However I need the data to look like this
[ "E234567", "E123456" ]
I Have tried adding to an array variable but I always get an object. I have a co-pilot license and it is completely useless.

