Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

How to select mail values from Apply to Each from Search by user action

(0) ShareShare
ReportReport
Posted on by

I have an Apply To each action that is searching and users now

Palucci12_0-1690045315344.pngPalucci12_1-1690045369958.png

And how to extract only the values from the Mail column? from the Apply to each action ?

I tried compose items('Apply_to_each 3')?['Mail'] but i got error . When i Added to other Apply to each i got empty input . Could you help ? 

  • VictorIvanidze Profile Picture
    VictorIvanidze 11,859 on at
    Re: How to select mail values from Apply to Each from Search by user action

    Hi @S-Venkadesh, then place a cudo 😉 

  • S-Venkadesh Profile Picture
    S-Venkadesh 636 on at
    Re: How to select mail values from Apply to Each from Search by user action

    Hi @VictorIvanidze , Appreciate your suggestion!

  • VictorIvanidze Profile Picture
    VictorIvanidze 11,859 on at
    Re: How to select mail values from Apply to Each from Search by user action

    Hi @S-Venkadesh,

    don't be offended, but your suggestion is extremely slow and overcomplicated. 

    Your "Step 3: Loop Through the Search Results" just useless, as a single Select action replaces the whole loop completely.

     

  • S-Venkadesh Profile Picture
    S-Venkadesh 636 on at
    Re: How to select mail values from Apply to Each from Search by user action

    Hi @Palucci12 ,

    There is an issue with the placement of the action 'Apply to search result' in the flow. To correct this, the action should be placed inside the 'LoopTeamLeader' loop. Please refer my previous screenshot.

    I hope this information is helpful. If it is, please consider giving a thumbs up.

     

    Best regards,

    Venkadesh Sundaramurthy



  • VictorIvanidze Profile Picture
    VictorIvanidze 11,859 on at
    Re: How to select mail values from Apply to Each from Search by user action

    Use this approach:

    VictorIvanidze_0-1690097402703.png

     

  • Palucci12 Profile Picture
    Palucci12 on at
    Re: How to select mail values from Apply to Each from Search by user action

    Thanks for your replied ! But its not working for me:

    This is my settings

    Palucci12_1-1690055642842.png

    Thiss result run a test flow and error . May you know why ?

    Palucci12_0-1690055621484.png

     

  • S-Venkadesh Profile Picture
    S-Venkadesh 636 on at
    Re: How to select mail values from Apply to Each from Search by user action

    Hi @Palucci12 ,

    let's demonstrate the case of how to select email values from the "Search for users" action in Microsoft Power Automate

    Step 1: Loop Through the Search Text
    Step 2: Input the Search Text into the "Search for users" Action
    Step 3: Loop Through the Search Results
    Step 4: Add Email into Array
    Refer below screenshots: (Formula added in note section)

    SVenkadesh_0-1690054094982.png

     

     

    SVenkadesh_2-1690054327175.png

     

    I hope this information is helpful. If it is, please consider giving a thumbs up.

     

    Best regards,

    Venkadesh Sundaramurthy

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.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,580

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,909

Leaderboard