cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Restrict own profile in lookup field

Hi,

I need to restrict a field in Powerapps so that the logged in user can't enter his own name as "Approver" from the Office365 user list.

 

This is from a sharepoint list 

 

Does anyone know how to do this? 

 

Thanks

Trond

10 REPLIES 10
Anonymous
Not applicable

Thanks you @yashag2255 ,

 

This solved the issue 🙂 However, there are more then 999 Office365 users so I had to tweek the solution by adding a searchbox to it:

Filter(Office365Users.SearchUser({searchTerm: TextInput1.Text}), Mail <> User().Email)

 

Thanks for your patience 🙂 I should have thought about the connection with Office365 users 🙂

 

Regards,

Trond

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events that are happening this month - don't miss out!

Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Top Solution Authors
Top Kudoed Authors
Users online (2,073)