Hello,
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": "me@microsoft.com").
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.
Instead of using the name, I've saved the email addresses to SP and parse to Flow.
Working now.
Hi @Prav
GetEmail which action is that in Office 365 users?
Apply to each loop - what is being looped?
Hi @Prav
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
I'm using
Instead of using the name, I've saved the email addresses to SP and parse to Flow.
Working now.
User | Count |
---|---|
89 | |
41 | |
22 | |
20 | |
16 |
User | Count |
---|---|
138 | |
56 | |
47 | |
36 | |
25 |