Thanks for posting your question in the Microsoft Q&A forum.
- You can use the
toLower()
function to convert both the array elements and the variable to lowercase before comparing them.{ "FilterArray": { "inputs": { "from": "@variables('YourArrayVariable')", "where": "@equals(toLower(item()), toLower(variables('YourVariableToCompare')))" }, "runAfter": {}, "type": "Query" } }
- If you need to convert the entire array to lowercase before filtering, you can use the
map()
function along withtoLower()
{ "ConvertToLowercase": { "inputs": { "from": "@variables('YourArrayVariable')", "select": { "value": "@toLower(item())" } }, "runAfter": {}, "type": "Query" } }
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful