Within an apply to each I'm parsing the approver's names (Get Items from SP) to Search for users to get the email address "Mail": "firstname.lastname@example.org").
Then my next step is to create union array but i'm getting the error message below.
InvalidTemplate. Unable to process template language expressions in action 'UnionApprovers' inputs at line '1' and column '2655': 'The template language expression 'union(variables('Approvers'),createArray(body('Search_for_Users')?['Mail']))' cannot be evaluated because property 'Mail' cannot be selected. Array elements can only be selected using an integer index.
Solved! Go to Solution.
Yes, Office 365 - But which action are you using from the Office 365 connector?
@body('GetClaims')?['value'] loops through Get Items from SP - share screenshot of entire flow
Keep up to date with current events and community announcements in the Power Automate community.
A great place where you can stay up to date with community calls and interact with the speakers.
Check out the latest Community Blog from the community!