The flow gives me apply to each for the user name. i know its only 1 person with that username. How to remove that unwanted apply to each?
Go to Solution.
The return data type is an array, even if an array only contains one item it's still an array and therefor when you use the dynamic data it will always add an 'Apply to each' loop
You need to use the first() expression to stop the 'Apply to each' loop from being created , for example:
To obtain a different value you need to change the 'DisplayName' for your desired property:
View solution in original post
Learn how to create your own user groups today!
Check out the new Power Platform Community Connections gallery!
Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.