Can someone please explain me how to remove duplicates from an array?
I've tried a million combinations of the following expression without any luck:
union(variables('Users'),variables('Users'))
Your expression is correct - are you sure your arrays are formatted in the same way?
I've given up trying to understand what was wrong, so I've just added a new Compose step with union... and fed the subsequent steps from there, and it worked.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 462 Super User 2025 Season 2
Tomac 456 Moderator
abm abm 243 Most Valuable Professional