PowerApps SharePoint Item Level Permissions via Power Automate

Поділитися
Вставка
  • Опубліковано 8 лют 2025
  • If you are using SharePoint as a data source for your Power Apps this is a must watch. You need to be able to set item level security in your Power Apps to keep people from doing bad things to your data by going straight to the source. This video combines the power of Power Automate flow and Power Apps to help you truly lock down your data. Plus 2 bonus flows that are handy to have in your back pocket.
    Power Apps Consulting and training at www.PowerApps9...

КОМЕНТАРІ • 57

  • @lanasalikova6414
    @lanasalikova6414 3 роки тому

    This is always exciting to see your new videos - our favorite Cincy guy!!! Item level security videos are the life saver for us right now - created COVID19 immunization App and gave everybody permissions to use my App and to SharePoint list - well sleepless nights and other nightmare with HIPAA issues and unions - i have to get your method down to the Tee now. I think - your videos are getting better - i tried to use your earlier videos and they were very confusin...sorry Pal - not everybody wants to spend beautiful autumn nights scripting in Power Shell.. just kiddin - you are awesome and we love you :)

  • @danielrumbak2530
    @danielrumbak2530 3 роки тому +1

    Brilliant Shane! Exactly what I've been searching for for months. Thank you!

  • @oembol
    @oembol 3 роки тому +4

    Thanks Shane, great video once again! Love your videos.
    One additional thing I do for all SP lists is to add a new view called with with a filter where the ID equals 0. This always results in an blank list. After making this the default view I remove the view. Then create a personal view for yourself that does show everything. To make this water tight you have to uncheck the "Manage Personal Views" in the Permission Levels so users can't create their own view. This way yo don't need to create a Power App for the form. After doing it a couple of times it only takes like 2 minutes.

    • @ShanesCows
      @ShanesCows  3 роки тому

      Thanks for sharing. 😀

    • @ThaoPham-hp4uq
      @ThaoPham-hp4uq 3 роки тому

      Sadly filtered view does not work on sharepoint application eventhough it is set to be applied on mobile view. So the best bet is still Item level permission

    • @willtumusiime3957
      @willtumusiime3957 Рік тому

      This is a great simple solution. Thanks.

  • @JFDicer927
    @JFDicer927 3 роки тому +1

    Excellent as always. I have really appreciated this series as security is important in apps I build.

  • @kimberlyhooff4291
    @kimberlyhooff4291 3 роки тому

    I really needed this today. Thank you. It's almost like you knew what my boss asked of my this morning.

  • @Worrelpa
    @Worrelpa 3 роки тому +2

    Great Video and info as always Shane.
    One thing to add as a technique people can use.
    Another way to block people out of the list pages entirely is to use custom permission levels based on view or contribute. Remove the View application pages permission from that permission level. Then give that permission level access to your group or individual.
    It gives people an access denied message if they try to go to the list front end.
    You could do that from the flows that are in the video, however you would have to use the SharePoint Http action to grant the access instead of view or edit to your specific permission levels to each record.
    A bit more complicated but security is never easy.

    • @ShanesCows
      @ShanesCows  3 роки тому

      Thanks for sharing the idea Phil! 🤩

  • @franknielsen7713
    @franknielsen7713 3 роки тому +1

    No wonder you got +100k followers. Great stuff. Almost as good as your series with repeating tables like infopath 😁😁

    • @ShanesCows
      @ShanesCows  3 роки тому +1

      Thanks Frank! That is high praise.

  • @krystiank9583
    @krystiank9583 2 роки тому

    I love your tutorials, they help me a lot thank you for your work!

  • @zhangscott1042
    @zhangscott1042 3 роки тому +1

    Nice video, learnt something from it! Thanks!

  • @shathike4079
    @shathike4079 Рік тому +1

    Hi Shane, Wonderful explanations i luv it, and kindly let me know how to do specific item level permission not for complete list for specific users, please do the needful, thanks

    • @ShanesCows
      @ShanesCows  Рік тому

      ua-cam.com/video/-VaADTTPYmg/v-deo.html That video I talk about filtering out data based on the logged in user. It may help you.

  • @powerappstw
    @powerappstw 3 роки тому +1

    it's cool. thanks for making my job easy again. :D

  • @angrybatvoice
    @angrybatvoice 3 роки тому +1

    Good stuff as usual!

    • @ShanesCows
      @ShanesCows  3 роки тому +1

      Appreciate that. Hope you are doing well. 😍

  • @satyanarayanach3038
    @satyanarayanach3038 2 роки тому +1

    Hello Shane. Thanks for the great session. I have a doubt, is there any way we can control item level access for the data coming from Oracle DB into PowerApps. Thanks in Advance!

  • @filipuppsall-sjogren114
    @filipuppsall-sjogren114 3 роки тому +1

    Great info Shane... a great solution for restricting user access to the sources... but I do wonder... won't the users have access to the flows?
    Doubt that would be a problem in this case since they can't trigger them... but is there a unthought of risk that way?

    • @ShanesCows
      @ShanesCows  3 роки тому

      I don't think the user has any access to the flows.

  • @sushmasonker1990
    @sushmasonker1990 3 роки тому +1

    Hi Shane ,i just want that user can edit or add the items but can see items that created by them not other items which is in that list if I will share the list with his/her

    • @ShanesCows
      @ShanesCows  3 роки тому

      What about something like this? ua-cam.com/video/-VaADTTPYmg/v-deo.html

  • @2007pradipta
    @2007pradipta 2 роки тому

    What are limitations of we go for item level permission ? Any other way we can manage high secure list

  • @leosj168
    @leosj168 Рік тому

    Is here a way to set item level permissions based on column values? So the users only have access to the specified items in the dropdown in Power Apps.

  • @erinhuebnergloege4999
    @erinhuebnergloege4999 3 роки тому +1

    Hi Shane. I'm wanting to set permissions based on one level (say client number), so if given access to the client number, the user can see all entries for that client number. Is that possible? Do you have a video explaining this already? Thanks!

  • @PrashantVenkatesh
    @PrashantVenkatesh 3 роки тому +2

    Nice video Shane. I have a question, how do we do item level permission on SharePoint. Which is the simplest way, because item level permission on SharePoint only allows the person who created the item to see the record, however if you are the admin and you have already entered the data and you want the person to see his record where email=Me

    • @ShanesCows
      @ShanesCows  3 роки тому +1

      I think you have to do what is in this video. The user will have to have access.

  • @andreabarker8228
    @andreabarker8228 3 місяці тому

    I have a Power App in which I added a button that allows the user to restrict access to that particular item. (Items/records are in a SharePoint list). When the button is pressed, it executes a Power Automate flow that removes access to the item then grants it to the creator of the item, the person the item was assigned to, and the supervisor of the person the item was assigned to. No other users of the app can see the item. This works.
    However, once access has been restricted, I would like to have a message on the button for that record that says that access has been restricted (so the user knows that they don't have to press the "restrict access" button anymore). I can't figure out how to do this. Basically, I want an "if/then" on the text of the button. If access has not yet been restricted, I want the button to say "Restrict Access to this Record." Once access has been restricted and users that are just part of the "Members" or "Visitors" group for that SharePoint item can no longer see it, I want the button to say "Access to this Record has been Restricted" or something like that.
    My problem is that I can't figure out what code to put in the if/then statement. How does PowerApps check the permissions? I know how to do it for the user, but I don't want to know if the user is part of the group and has permissions, I want to know whether permissions in general allow access to the item/record for users that are part of the "Members" or "Visitors" group. I even tried to see if I could put a list of those that have access to the record into a label just to figure out how PowerApps checks for permissions, but I cannot find anything online about how to do this.
    Someone suggested creating a flag in a SharePoint list, then using the flag in the Power Apps button (not sure how to do this). I also thought I could have my Power Automate Flow update the item in the SharePoint list (like change a yes/no field for a “Restricted Access” column in the list to “true”) then use that in my Power App. However, I also cannot figure out how to update just that one field in my list without having to deal with the other required fields and other dropdown fields getting messed up. Do you have any videos about any of these things? I’m stumped.

  • @DavidMartin12
    @DavidMartin12 2 роки тому +1

    Does "Furgeson" have access to the App through PowerApps -> Share? How is that handled? Thanks.

    • @ShanesCows
      @ShanesCows  2 роки тому

      Yes, by being in a group. I think this video talks about the method I used in this app. ua-cam.com/video/P-H_ULPN2BM/v-deo.html

  • @salahplays1248
    @salahplays1248 2 роки тому +1

    Hey @Shane Young, love this. will this work if i want the user to be able to create a new item in the sharepoint list? maybe I could give them edit access for the full list only through powerapps? as opposed to individual items? (FYI my use case is a case management request tool which allows for collaborative save/submit for feedback forms)

    • @ShanesCows
      @ShanesCows  2 роки тому

      They have to have access to the list. 🫤

    • @jimhoeger5232
      @jimhoeger5232 Рік тому

      Perhaps you can create a blank list to which the user has full rights. The user can upload the new item to the blank list. Then you have a flow built that runs when a new item is uploaded to that list and the flow moves the item into the secured list. The flow that makes the move is running with your connection to the SharePoint list and you have permission to the secured list.

  • @noNumber2Sherlock
    @noNumber2Sherlock 3 роки тому +1

    Excellent as always! Look super cute when you look angry/serious. :)

  • @darrenamelio67
    @darrenamelio67 3 роки тому

    great video again - was wondering if powershell has the functionality to bulk rename folders say in the c drive? i need to rename 500 folders based on an excel spreadsheet. Is this possible to do at once in one command after excel formatting?

  • @brat3141
    @brat3141 2 роки тому +1

    What is in 'Balance Details' SP?

    • @ShanesCows
      @ShanesCows  2 роки тому +1

      All of the different transactions.

  • @stevecochrane9531
    @stevecochrane9531 3 роки тому

    Many thanks, Shane!
    Instead of securing individual list items, would it be possible to have one list with separate views (e.g., list items by category), and secure each view by SPO group? If this were possible, it may be easier to maintain. Just a thought. :)
    Take care & stay safe out there!
    Steve in Spain

  • @Ychhenghak
    @Ychhenghak 2 роки тому

    I am using sharepoint list to assign tasks to my team; however, i don't want them to access all data in the list. Is there anyway to assign permission to only specific person when task is assigned to them? So that everyone can only view and edit their tasks

  • @heathfindsvideos
    @heathfindsvideos 3 роки тому

    Hey Shane, having trouble getting the items that are shared with the users once I have shared access to them via the workflow.
    The app works fine if the user has permissions in the list permissions, but if they don't have any access to the list and I only share the record with them via the flow, then the powerapp displays nothing .. Is there something I missed?
    thanks

  • @shashikantsoni
    @shashikantsoni 3 роки тому +2

    Great

  • @Girvin15
    @Girvin15 3 роки тому +1

    Do I need to be the owner of the site?

    • @ShanesCows
      @ShanesCows  3 роки тому

      I think you just have to have the manage permissions permission.

  • @shaylen.naidoo
    @shaylen.naidoo 3 роки тому +1

    Can users still edit the item via the details pane?

    • @ShanesCows
      @ShanesCows  3 роки тому

      Not if they don’t have permission 😊