Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Issue with LookUp Formula in Power Apps Causing Email Send Failure on First Request

(1) ShareShare
ReportReport
Posted on by 40

Hi Power Apps Community,

I’m encountering an issue with my Power Apps form where the email is not sent on the first submission due to a "no recipient" error, but it works on subsequent attempts. Here’s the setup:

Scenario:

  • I have a SharePoint list named 'Approval Matrix' with columns: Title, Section, and Approvers Text.
  • In my Power Apps form, I use DataCardValue11_1 and DataCardValue18_1 to capture the Title and Section values respectively.
  • I’m using the following formula to set the nfApprover variable: 
  •       Set(nfApprover, 
        LookUp('Approval Matrix', 
               Title = DataCardValue11_1.Selected.Value && Section = DataCardValue18_1.Selected.Value, 
               'Approvers Text')

    );
  • Issue:
  • The first time I submit the form, Office365Outlook.SendEmailV2 returns an error indicating "no recipient."
  • When I submit the form again without making any changes, the email is sent successfully.

Implementation:

  • I initialize nfApprover on App formulas: nfApprover = LookUp('Approver Matrix', Title = DataCardValue11_1.Selected.Value && Section = DataCardValue18_1.Selected.Value, 'Approvers Text')

Question:
Why does the nfApprover variable seem to fail on the first submission but works on the second attempt? Is there a timing issue or something I'm missing in setting or updating the variable? Any guidance to ensure the email is sent correctly on the first submission would be greatly appreciated.

Thank you!

Categories:
  • DBO_DV Profile Picture
    4,534 Super User 2025 Season 1 on at
    Issue with LookUp Formula in Power Apps Causing Email Send Failure on First Request
    Hey,
     
    Could you share the Code with us that you've used in the button? 
     
     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard