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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Chiara Carbone as our Community Spotlight for November…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 722 Super User 2025 Season 2
Tomac 461 Moderator
developerAJ 283