web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Need help with a Look ...
Power Apps
Unanswered

Need help with a Look Up formula so my Power Automate can find email address from sharepoint list

(0) ShareShare
ReportReport
Posted on by 20

Hi there

 

I'm very new to building Power Apps. In my app staff use a drop down to select a service managers name. I then have the variable below which is erroring; 

Set(
varESWRequestServiceManager,
Text(
LookUp(
WKTO_StaffDirectory,
Title = drpServiceManager.Selected,
Manager_Email
)
)
);

It is looking up a sharepoint list to find that persons email address and this is the variable I am using in my Power Automate to assign an approval. In my Power Automate I am getting the below error: BadRequest. The request failed. Error code: 'InvalidApprovalCreateRequestAssignedToNoValidUsers'. Error Message: 'Required field 'assignedTo' contained no valid users in the organization'.

Can you please help me fix my coding for this

Thanks heaps 

Categories:
  • v-peijunz-msft Profile Picture
    Microsoft Employee on at

    Hi @mccowatts 

     

    Based on the error message you received, please try to add the user as the guest user:
    Log into the Microsoft 365 admin center > select Users in the left navigation bar > Guest users > Add a guest user > Invite user.

    After the user accepts the invitation, the added user should be selected in the Assigned to parameter and receive the approval request.

     

    Best regards,

    Sylvia

  • mccowatts Profile Picture
    20 on at

    Hi Sylvia,

     

    I haven't had to do that before for another app with the same formula. All the email addresses are within my organisation and for the other app it has been working no worries. I think it's more that there's an issue with the '=' in the formua

  • mccowatts Profile Picture
    20 on at

    There's also multiple people that the person using the app can request using a drop down cwhich is why I haven't put just one email address in the assigned to 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard