Showing results for 
Search instead for 
Did you mean: 
Super User
Super User

Lookup function not recognising sharepoint list

hi Expert 

i have trying to create an access level to the button,

for example: 

i have sharepoint list name : Usergrp

where i have column name as 

Thanos Thorthanos.Thor@avenger.comadmin


i have button on powerapps where on visibility i was adding a code as: 



now when i do this i am getting an error: Name isnt valid. Usergrp is not recognizd. 

lookup has some invalid argument. 


what am i doing wrong here



Super User
Super User

Hi @pokhani ,

Other than your mis-spelling of Usergrpr and assuming you have the list connected to the app as a data source, it should work - have you checked this ?


Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

its jst an example yeah every thing was fine

Super User
Super User

i even tried new sharepoint list but lookup function is not recognising the list


@pokhani ,

There is nothing wrong with your code assuming

  • The list is connected as a data source
  • The name field matches the user's name in the record you are looking up

Helpful resources

Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,428)