I'm running across this error
The execution of template action 'Select' failed: The evaluation of 'query' action 'where' expression '{ "Title": "@item()['Title']", "Email": "@item()['Email']", "First and Last Name": "@trim(concat(split(item()?['Title'], ',')[1], ' ', split(item()?['Title'], ',')[0]))", "User Principal Name": "@item()['UserPrincipalName']" }' failed: 'The template language expression 'trim(concat(split(item()?['Title'], ',')[1], ' ', split(item()?['Title'], ',')[0]))' cannot be evaluated because array index '1' is outside bounds (0, 0) of array. Please see https://aka.ms/logicexpressions for usage details.'.
I did not write the original code so I'm trying to figure out why it is failing. Any and all advice is appreciated.