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 / Sharepoint permissons ...
Power Apps
Answered

Sharepoint permissons and Powerapp Data Source Permission

(0) ShareShare
ReportReport
Posted on by 10

I would like to ask can user add some item to the sharepoint list such that other user can't see it except the user with owner right?

For example, A,B is normal user and C is the owner of the sharepoint list. What I want is that user A can only see his own created items and can't see any items created by B. And C can see all the items from all user.

 

Secondly, I want to ask can Powerapp Data Source come from different user? Because now if you create the powerapp using the account with sharepoint owner list. Different user can see all the items in the sharepoint list. What I want is that the connection to sharepoint is based who use the powerapp.

Categories:
I have the same question (0)
  • vecerpa Profile Picture
    786 on at

    Hi @kylechow,

     

    In SharePoint list there is in default hidden column that is called "Created By" this column is default one.

    PA_ShP1.PNG

     

    So if you are displaying items in powerapps to user, you can simply add Filter function to Items in gallery that filter it by name of user that is currently running PowerApp like this and compare it to "Author.Email" - 

    Author.Email = User().Email

    Whole function with search and sorting:

    SortByColumns(Filter(ApproveDemo;Author.Email = User().Email Or StartsWith(ComplianceAssetId; TextSearchBox1.Text)); "ComplianceAssetId"; If(SortDescending1; Descending; Ascending))

    I just slightly changed function that is created when you use "Create PowerApp" on you SharePoint list.

     

    So the final result is in App:

    PA_ShP3.PNGPA_ShP2.PNG

     

    Hope this helps you.

    P.

  • kylechow Profile Picture
    10 on at

    I tried your option an I see this message in my console. And I try to lanuch the powerapp, everything is disappeared. 

    Untitled.png
  • Verified answer
    vecerpa Profile Picture
    786 on at

    Hi @kylechow,

     

    There is need to make some slight changes in your function, for me it is like this:

     

    SortByColumns(Filter(ApproveDemo;Author.Email = User().Email And StartsWith(Title; TextSearchBox1.Text)); "Created"; If(SortDescending1; Descending; Ascending))

     

    ApproveDemo: Name of my Data Source (SharePoint list)

    StartsWith: There is textinput field in mz case named "TextSearchBox1" that is used for filtering by insertind text.

    Title: This is column in my SharePoint (default created when new list added) and I'm looking for text in "TextSearchBox1" in it.

    And statement: Better to use this.

    SortByColumns: In my case it is sorting by column "Created"

    If part: There is image used to switch between ascending and descending sorting called "SortDescending1"

     

    So you have to change this function, but the important part is:

     

    Filter(ApproveDemo;Author.Email = User().Email)

     

    P.

     

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard