Implementing Role Based Security in Power Apps

Поделиться
HTML-код
  • Опубликовано: 29 май 2024
  • In this video on Power Apps Role Based Security (Access Control), we will explore how to show hide buttons, controls or screens based on the logged in user's roles / security permissions.
    PowerApps Role Based Security video covers the following scenarios:
    ✅ Using SharePoint Groups
    ✅ Using Office 365 Groups or Microsoft 365 Groups
    ✅ Using SharePoint list
    ✅ Using Azure AD Security Group
    Table of Contents:
    00:00 - Intro
    00:36 - Role Based Security in PowerApps Scenario
    01:39 - Security / Permissions for SharePoint Team site vs Communication site
    03:50 - How does Power Apps sharing and security work with SharePoint
    07:30 - Show data based on logged in user in Power Apps
    10:05 - Show or hide button if user is in SharePoint list
    14:28 - Show or hide button if user is in Office 365 or Microsoft 365 Group
    17:48 - Show or hide button if user is in SharePoint Group
    22:07 - Show or hide button if user is in Azure Active Directory Security Group
    23:45 - Subscribe to Reza Dorrani channel
    #PowerApps #SharePoint #RoleBasedApps

Комментарии • 383

  • @laurenmeier4746
    @laurenmeier4746 3 года назад +9

    Great video again, Reza! Can't wait for more in this series

  • @SJV992
    @SJV992 2 года назад +1

    Another brilliant tutorial Reza. Thanks for producing these they're an invaluable resource for people like me trying to get to grips with some of the features of Power Apps. Please keep them coming.

    • @RezaDorrani
      @RezaDorrani  2 года назад

      You are most welcome and I will try my best to keep them coming.

  • @KamaleshBhamare
    @KamaleshBhamare 3 года назад +1

    Wow Thanks RUclips for recommending this channel. This just what I was looking for. Not wasting time. Everything to the point.

    • @RezaDorrani
      @RezaDorrani  3 года назад +1

      Thank you & welcome to my channel.

  • @Michael-ir7cn
    @Michael-ir7cn 2 года назад +1

    Faced with the role-based issue for the first time and of course the first and best source is your RUclips channel! And I have not been disappointed - as always! :-)

  • @maildeepakverma
    @maildeepakverma Год назад +2

    Great video Reza!! This is exactly what I was looking for enabling security to my powerapps..Thanks for making such wonderful videos with precise explanation!!

  • @robfreeman1987
    @robfreeman1987 2 года назад +2

    Love this video. Brings together some many things that can be complicated and simplifies them

  • @hsrinivas797
    @hsrinivas797 Год назад +2

    20:13 , It took me so much time to understand,even though you have clearly explained - show or hide button if user is in sharepoint Group. Wonderful logic, it speaks your experience.

    • @RezaDorrani
      @RezaDorrani  Год назад

      Thanks for watching and liking the video.
      Some topics are a little complex.

  • @owelaine
    @owelaine 2 года назад +1

    Just what I needed. Very clear explanation. Thank you!

  • @yehunlavolontededieu322
    @yehunlavolontededieu322 2 года назад +3

    This is why I love RUclips, Such potential would be wasted , What would we do without you YT? Thanks for connecting us with good producers like Reza. I promise i am a good consumer lol. Thanks Reza , As usual great content and applicable to most business needs.

  • @sujisam5508
    @sujisam5508 3 года назад +2

    Woww...I really liked your approach to check sharepoint group permission.In my solution, I used to flow to check this..but your approach is very easy and useful. I will implement this in my solution. Thanks Reza 😊

  • @kamalbouj3407
    @kamalbouj3407 2 месяца назад +1

    Thank you Reza ! the best of the best and everything is easy with u !

  • @Billbear24
    @Billbear24 2 года назад +1

    Brilliant method, have used this method for the Sharepoint form so if users browse to it the fields can not be modified unless in m365 Group. Thank you Reza.

  • @watarukurihara9135
    @watarukurihara9135 2 года назад +1

    SharePoint group idea was awesome.Thank you!

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Glad to hear that! Thanks for watching.

  • @bouseuxlatache4140
    @bouseuxlatache4140 3 года назад +1

    Goodness, real good video. Thanks. Anything that helps allocating roles and security is a good argument for power apps.

  • @ashrafjavali2841
    @ashrafjavali2841 2 года назад +1

    Wao !!! Great, now am going to check all of your videos on this series, Thank you.......

  • @farhanq
    @farhanq Год назад +1

    Amazing video, everything related to PowerApp security in single video. Great explanation :)

  • @craigwhite5429
    @craigwhite5429 3 года назад +2

    Great video as always, thanks.
    I personally prefer listing names in an SPO list, rather than the admin overhead be to manage access to both the app as well as an alternative source (Azure, SharePoint groups). A list naming admins can also then be consumed in the same app, in the admin area, so any access changes can be performed in the same place as they’re doing everything else. Seems to make for a more centralised approach which can help those less tech-savvy to keep on top of access

    • @RezaDorrani
      @RezaDorrani  3 года назад +1

      Thanks.
      I covered 4 scenarios for role based. All choices are valid and have their own pros/cons.

  • @rebeccaj138
    @rebeccaj138 3 года назад +2

    Oh man this was nice. No more having to run a Flow to check the SharePoint group.

    • @RezaDorrani
      @RezaDorrani  3 года назад

      Absolutely. Simple approach to a common problem.

  • @TheBananisen
    @TheBananisen 3 года назад +1

    Great video - helps a lot ❤. Can't wait for the next one in this series..
    (Struggling with the SharePointlist holding the records where the users still ses all records when surfing to the site. Tried SP advanced settings "old way", power automate to break and set permissions on each record, custom permissions where some users can't create views with pre defined views on list. Breaking permissions on a record level could impact performance on large lists according to SP limitations.. )

    • @RezaDorrani
      @RezaDorrani  3 года назад

      Row level security in SharePoint has performance implications in case your lists grow beyond 5k records.
      That is a SharePoint limitation not Power Apps. Power Apps respects the behavior and limitations of the data source.
      I would recommend using Dataverse or SQL in those scenarios.

  • @fjlunelli
    @fjlunelli 10 месяцев назад +1

    Thank you. Very useful, complete and clear content.

    • @RezaDorrani
      @RezaDorrani  10 месяцев назад

      You are most welcome!

  • @dominikLae
    @dominikLae 10 месяцев назад +1

    Thanks so much, Reza! Awesome, thats what I needed!

  • @valentineelias7299
    @valentineelias7299 10 месяцев назад +1

    Bro, you are the man, Nuff respect. keep us going my G 👌👍✌🤛

  • @nishimodgil2573
    @nishimodgil2573 2 года назад +1

    Brilliant video ... implementation of SharePoint group and Azure Security Group within Power Apps

  • @rafaelsantos5332
    @rafaelsantos5332 Год назад +1

    Great job Reza! Congratulations!

  • @smisra
    @smisra 3 года назад +1

    Awesome video Reza. You made it work.

  • @dieterleyendecker5685
    @dieterleyendecker5685 2 года назад +1

    Best ever Video I saw explaining the different options to keep security in Power Apps. Thanks a lot, Reza!

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      You are most welcome

    • @dieterleyendecker5685
      @dieterleyendecker5685 2 года назад

      @@RezaDorrani Do you have a solution for showing an image hosted in SharePoint on a mobile phone (Powerapp App) ?

    • @RezaDorrani
      @RezaDorrani  2 года назад

      @@dieterleyendecker5685 I believe you would need to use flow for that.

    • @dieterleyendecker5685
      @dieterleyendecker5685 2 года назад

      @@RezaDorrani Hi Reza, I have a ready Powerapp that shows in Sharepoint the image perfectly, but if I use the app on my mobile the image is not shown. It seems to be a known issue according the posts in the internet and the solution to use URI link created by flow did not work. I hoped you have a better solution.

    • @RezaDorrani
      @RezaDorrani  2 года назад

      @@dieterleyendecker5685 I would have to try it out to look for a solution. I do not have a video or a ready solution for it.

  • @emilioroqueta4445
    @emilioroqueta4445 3 года назад +1

    Very useful Reza, thanks for sharing !!

  • @sandeep48dh
    @sandeep48dh 2 года назад +1

    Great Showcase...Very Informative. Thanks Reza.

  • @farhanmirza457
    @farhanmirza457 Год назад +1

    Thank you Reza ....
    For enhancing our knowledge....! ❤️

  • @umeshgaur9940
    @umeshgaur9940 3 года назад +1

    Great to hear that through mutiple ways we can achieve security trimming in powerapps

    • @RezaDorrani
      @RezaDorrani  3 года назад

      Thanks for watching

    • @umeshgaur9940
      @umeshgaur9940 3 года назад +1

      @@RezaDorrani , Million likes that you read the comments and acknowledged it

  • @Worrelpa
    @Worrelpa 3 года назад +1

    great explanations of the work around for these issues. The Azure AD connector is a real shame. We just need a connector for read only purposes as the current one has way to much power. Looking forward to the rest of the series.

    • @RezaDorrani
      @RezaDorrani  3 года назад +1

      Totally agree. But we do have the back way as shown in the video :)

  • @shaiksamad1562
    @shaiksamad1562 3 года назад +1

    This series will help us a lot. Raza.. You are genius as always you are my super hero...🦸

  • @pandukataru287
    @pandukataru287 9 месяцев назад

    Hi Reza, very very nice videos those are all use cases in projects. thank you so much!!!!!!!!!!!!!!!!!!

    • @RezaDorrani
      @RezaDorrani  9 месяцев назад

      You are most welcome and glad to hear the content is relevant with project scenarios.

  • @ganeshroyal7281
    @ganeshroyal7281 2 года назад +1

    Amazing video on RLS. Thanks for making this :)

  • @alzaimoor79
    @alzaimoor79 3 года назад +1

    Thanks, really useful sessions, I have downloaded this video, as reference.

  • @natashasamuel9346
    @natashasamuel9346 2 года назад +1

    Great class.
    Keep up the good work.
    Thank You,
    Natasha Samuel

  • @Mateusz_92
    @Mateusz_92 2 года назад +1

    Amazing video, thanks Reza!

  • @xclone2k
    @xclone2k 3 года назад +1

    Thank you very much for another very informative video Reza, I was looking to do this for a shared application between external vendors, now I have an idea how to segregate the content.

    • @RezaDorrani
      @RezaDorrani  3 года назад

      Happy to know that this video is useful and thanks for watching

  • @emailtosamit
    @emailtosamit 3 года назад +1

    Great video Reza, keep it up. I would like to see CDS role based and row level security video in this series. thanks.

    • @RezaDorrani
      @RezaDorrani  3 года назад +1

      I am planning on a full Dataverse (CDS) video series. Keep an eye out for that one.

    • @emailtosamit
      @emailtosamit 3 года назад

      @@RezaDorrani thanks

  • @RemishPoney
    @RemishPoney 3 года назад +1

    great video (as usual ;) ) with very pleasant style ;)

  • @ankitdhadwal5680
    @ankitdhadwal5680 Год назад +1

    Great video as always, thanks.

  • @mahalakshmidevarajan6656
    @mahalakshmidevarajan6656 2 года назад +1

    Great learning from you reza you are pro :) awesome video

  • @vishaljhaveri7565
    @vishaljhaveri7565 2 года назад +1

    Thank you sir. Nice explanation.

  • @RubeeshM
    @RubeeshM 2 года назад +1

    SharePoint group idea was awesome

  • @Thug651
    @Thug651 2 года назад +1

    You sir are a well deserved member of Microsofts MVPs

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      Thank You.
      No title is bigger than the love of the audience.

  • @bobleach
    @bobleach 3 года назад +1

    Thank you very much Reza, a great help.
    I already used a Sharepoint list for my security, but I was adding each person manually to that list, your idea on linking it to the SP group will make my life so much easier.
    I assume not but is there any reason why the Admin couldn't be shared all the other permissions for the other groups?

    • @RezaDorrani
      @RezaDorrani  3 года назад +1

      Admin can have full access but being a part of all groups.

  • @SiMataR01
    @SiMataR01 3 года назад +1

    Great video! Thank you very much!

    • @RezaDorrani
      @RezaDorrani  3 года назад +1

      You are welcome!

    • @SiMataR01
      @SiMataR01 3 года назад

      @@RezaDorrani Hi, Reza. Do you have a video regarding Power Apps requesting Power Automate to pass current user's data from a SP list?
      Here is my scenario:
      I have a SP list that consists of around 7000 employees' training details totalling around 120k. With this, we have to give read permission to all employees to the list and make a filtering in power apps. This will not stop a user from accessing all data. What strategy must I do in order for a user not to access all data in the list except theirs when creating an app in Power Apps?

    • @RezaDorrani
      @RezaDorrani  3 года назад +1

      @@SiMataR01 If Power Apps calls Power Automate the connections in the flow will run under the logged in users account. This is by design. So if you do not setup security correctly, a user will have more access than needed.

    • @SiMataR01
      @SiMataR01 3 года назад

      @@RezaDorrani hi Reza. Thank you for your reply. I actually have a separate account with an elevated permission that created the power automate flow and has only access to the SP list. The account will be responsible to submit the current account data. My problem is how to create the REST API to collect the specific user's data then maybe save to an array or text then submit to the requesting Power apps.

    • @RezaDorrani
      @RezaDorrani  3 года назад

      @@SiMataR01 You cannot do so without calling the flow from Power Apps.

  • @akkaradechsrithongchai7766
    @akkaradechsrithongchai7766 2 года назад +1

    Too clear,, Thanks

  • @chronogon6164
    @chronogon6164 2 месяца назад +1

    Thanks Reza, great video! One question I had - all videos I've seen on this have had the permissions pulled from a separate SharePoint site to the site containing the content. Is there any issue from a security perspective with pulling straight from a list within the same SharePoint that uses these permissions?

    • @RezaDorrani
      @RezaDorrani  2 месяца назад +1

      There is no issue with security perspective

  • @MrChaix
    @MrChaix 3 года назад +1

    Thanks for this video! All that is missing is the security part that allows you to change access to elements of an SPO list automatically. Share an item to a group based on a condition with Power Automate ?. I will work on it and share it with you. Thanks again !

    • @RezaDorrani
      @RezaDorrani  3 года назад +1

      Sharing is caring. Looking forward to it.

  • @deep2480
    @deep2480 3 года назад +1

    Great video again Raza!! Thank you! Will you publish this app in the community?

    • @RezaDorrani
      @RezaDorrani  3 года назад +1

      That's the plan once I complete the Role Based Security video series. I have at least 2 more videos planned.

  • @rathanavelsubramaniam9401
    @rathanavelsubramaniam9401 3 года назад +1

    Great video mate

  • @mrtglax97
    @mrtglax97 3 года назад +1

    Hi Reza. I love this app's functionality and use cases. I was wondering if you can do an instructional video on how to make this specific app? Thank you very much!

    • @RezaDorrani
      @RezaDorrani  3 года назад

      I will add tour request to my backlog.
      Check out myPower Apps playlist which has around 63 videos - ruclips.net/p/PLTyFh-qDKAiEIVlidnhELx5BusnzlDzkR
      Most of those concepts are covered in individual videos.

  • @franknielsen7713
    @franknielsen7713 2 года назад +1

    Nice video. I realy like your way of designing your apps. I am a goofy when it comes to design 🤔

  • @gerfer6261
    @gerfer6261 3 года назад +1

    👍👍👍
    This is something I struggle with
    No access to AD Azure etc...need to watch few more times to understand variables part

    • @RezaDorrani
      @RezaDorrani  3 года назад

      Thanks.
      Hopefully this video has simplified that process.

  • @badiualex23
    @badiualex23 Год назад +2

    Thank you for this video, @Reza! It is very powerful and important to know all the options we have in terms of security. I really liked the possibility to add to a Sharepoint Group a Security Group. It makes me think of how we can manage the people entering those AZ AD security groups (like for example using approvals). My question is regarding the communication part . What if we have a scenario where we need to write emails to these managed AZ AD security groups? I initially thought that I can use Mail enabled Security groups inside the workflow and automate the process. Previously one could add members to mail-enabled security groups via Graph API. But turns out that was a bug and Microsoft changed that behavior in nov 2021... Have you encountered a similar use case? Do you know a workaround for this? It would be awesome to make a video around this topic!
    Best regards,
    Alex

    • @RezaDorrani
      @RezaDorrani  Год назад

      I have not come across this scenario. I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.

  • @AlesKus
    @AlesKus 2 года назад +2

    Dear Reza, your video are just great… one question on sharing sites in SP and not only app - the problem I could see it’s that user would have full access to the backend/data source and could do some mess there, correct ? Is IT possible to prevent this somehow?

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      Power Apps respects SharePoint security. You would need to define appropriate user permissions. One cannot have users reading data from SharePoint in Power Apps but users not having access to read.

  • @hugoduko
    @hugoduko 2 года назад

    Hi Reza, great vid! I would like to ask if there is anyway to mimic the “move to” function in the SharePoint site using flow?
    I tried using the API approach - it worked but I can’t retain the original ID. I assume that it is doing a copy and delete instead of a move.
    Application: I had a lookup list querying the list, and would like to move the items into different folder (within the list) with different permissions but retaining the ID which other list is performing a lookup on.
    Do you have any insight on this?

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      I have not tried the move item with API approach.
      I will recommend you check on the forums at powerusers.microsoft.com

  • @prajwalskateel
    @prajwalskateel 3 года назад

    Another great video

  • @user-bj6hb3lv3n
    @user-bj6hb3lv3n 8 месяцев назад +1

    Best as always.
    But @reza I want to use AZ AD security group role based access for my powerapp with Dataverse. In which way i can achieve this?

    • @RezaDorrani
      @RezaDorrani  8 месяцев назад

      Read documentation on dataverse security

  • @cthcheung2780
    @cthcheung2780 3 года назад +1

    Thanks Reza, great video, learnt a lot from you. I am quite new to Powerapp, a few questions to ask.
    I have a request from link to a SP list, which will create item to the list. I have another list which connect to the combo box items of my request form. I am sharing the form to everyone in organization.
    Does it mean I need to grant access right of everyone to the sharepoint list, for them to see the combo box dropdown items and to submit the form? Which I don't expect them to gain access to the sharepoint site/list.
    Any idea? Thanks.

    • @RezaDorrani
      @RezaDorrani  3 года назад

      Users will need access to the SP lists in order to interact with the data. Power Apps respects SharePoint security. There is no impersonation for permissions in SharePoint with Power Apps.
      If a user needs to add data to a list, then user will need access on the SP list to add data.

  • @carlangeloladica7674
    @carlangeloladica7674 Год назад +1

    Great video as always! I do have one question again. What if there's another column on the Admin List where it dictates which group they belong. For example group A and B. How to implement this where if they belong to group A they can't see the request from group B and vice versa. Thanks!

    • @RezaDorrani
      @RezaDorrani  Год назад +1

      Read column info from admin list, check if user belongs to those groups and accordingly show hide. I have done videos showing how to check if user is part of Office 365 group, SP Group etc.

  • @ongzhkenny-ms3jy
    @ongzhkenny-ms3jy Месяц назад +1

    Hi Reza, Great video. Do you have a video where you create this travel request app from scratch, so that I can follow through before assigning the role based security? Thanks.

    • @RezaDorrani
      @RezaDorrani  Месяц назад

      Thanks!
      I don't have a step-by-step video

  • @yangbo151
    @yangbo151 2 года назад +1

    Great video, very helpful for us!
    And I have one question on scenario of person in the sharepoint list.
    How to make boolean result when multiple person in the Admin column.

    • @RezaDorrani
      @RezaDorrani  2 года назад

      You will need to use the IN function to check if user is in multi select people picker column.

  • @SumedhSharangdhar
    @SumedhSharangdhar 3 года назад +1

    You are a saviour!

  • @zecaldeira
    @zecaldeira Год назад +1

    First of all, thank you so much for sharing this valuable knowledge @Reza Dorrani. I have one question tho. For what I've seen it's seems that creating power apps on top of Sharepoint list can make us have lots and lots of new Sharepoint Sites, majority of those only to have one single list in there. Wouldn't this be a pain in future to maintain, let's say doing this on a big company, where the number of apps can quickly scale, so the number of Sharepoint sites and lists.

    • @RezaDorrani
      @RezaDorrani  Год назад

      Depends on the scenario at hand. SharePoint has limits and Dataverse offers a lot more flexibility.

  • @marieraymond6512
    @marieraymond6512 8 месяцев назад +1

    PERFECTO!!!!👏

  • @arielixware5306
    @arielixware5306 22 дня назад

    hey Reza, do you have a video on how you used the collect function to show/hide a screen from the menu?

    • @RezaDorrani
      @RezaDorrani  22 дня назад

      Yes, it was part 2 of this video. You will need to search for that one or look for it in my playlists

  • @madhurishirsat491
    @madhurishirsat491 2 года назад +1

    Thank you for such a great content! If my data source is an 'Azure sql db' and app created by using this source is embedded on SharePoint. Can I still able to assign permissions through sharepoint as shown in video? How to achieve the same in my case?

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      I am not sure about how the permissions would play out in your use case.
      I would recommend you post your query on the forums at powerusers.microsoft.com in case someone has done something similar.

    • @madhurishirsat491
      @madhurishirsat491 2 года назад

      @@RezaDorrani Thank You Sir :) ! Now my data source is 'SQL SERVER On Premises" not 'Azure sql db'. So what about this Case? Sharepoint rules will work here?

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      @@madhurishirsat491 Security of SQL and SharePoint are different.
      Read documentation for SQL - docs.microsoft.com/en-us/powerapps/maker/canvas-apps/connections/sql-server-security

  • @eventreg
    @eventreg Месяц назад +1

    Best video ever

  • @seamusobric
    @seamusobric 2 года назад +1

    Brilliant what a great explanation with detailed background explanations to security, Thanks so much for sharing! can I ask one question: can all Members of the group access all the data by visiting the sharepoint site?

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      Thank You.
      Yes, members can access all the data since they have Contribute Access on the list.

    • @seamusobric
      @seamusobric 2 года назад

      @@RezaDorrani thanks for your quick reply! can that be changed so that they members only have access thru the powerapp and dont have access thru sharepoint?

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      @@seamusobric No. When working with SharePoint, the logged in user will need access to SharePoint to perform the data operations.

    • @seamusobric
      @seamusobric 2 года назад +1

      @@RezaDorrani thanks very much for your help. I'll continue searching for a way around this to limit access to restricted data on a User basis on Power apps and SharePoint. Excel works well with login requirements and page visibility based on users but Powerapps is such a nicer user experience!! Thanks for all your effort.

  • @rohitwattamwar1
    @rohitwattamwar1 2 года назад

    Hi Rezza, Great content.
    I have a question, I do have a Power App with me, which has 10 to 12 SharePoint lists as a data source. Each list has some business logics for security. App also has around 8 to 10 flows. And I want to share that app, how should I approach, for app sharing, dataset access sharing, flow sharing, etc.

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      App, data and flow are all separate objects. You would have to share them independently.

  • @zurivalencia3949
    @zurivalencia3949 4 месяца назад

    I love your videos. Question gallery is showing empty though I see the User info once I set my variable. Is there something I am missing?

    • @RezaDorrani
      @RezaDorrani  4 месяца назад

      Thanks!
      Not sure as I have not come across that in my power app.

  • @SilentInferno
    @SilentInferno 9 месяцев назад

    Hi Reza, do any of these solutions work for SP forms customized with Power Apps? Thought perhaps instead of placing variables within OnStart they made need to be setup in a different manner. I have several approve/reject buttons that im trying to hide or disable for all but a specific group of users.

    • @RezaDorrani
      @RezaDorrani  9 месяцев назад +1

      Possible but not something I have tried. You may have to add the logic onVisible of the screen or something.

  • @kranubhav21
    @kranubhav21 2 года назад +1

    Great video, very helpful. Just a request, as I am a beginner, so can you help me out with a demo on how you created the whole app? It would be of great help😊

    • @RezaDorrani
      @RezaDorrani  2 года назад

      I do not have a step by step video on that.
      I have a full playlist of Power Apps that may help - ruclips.net/p/PLTyFh-qDKAiEIVlidnhELx5BusnzlDzkR

  • @user-tv2of5rg6z
    @user-tv2of5rg6z Год назад +1

    very informative video, just what everyone is looking out for. Where can I see other videos related to security

    • @RezaDorrani
      @RezaDorrani  Год назад

      All videos are on my channel :)
      I have done 200+ total videos

  • @mr_ali7794
    @mr_ali7794 Год назад

    hello riza, how can we add or remove members for the security groups within powerapps screen (inside the power apps) like member policy screen?

    • @RezaDorrani
      @RezaDorrani  Год назад

      I have never tried that and do not have any references for it. I will recommend checking on forums at powerusers.microsoft.com in case someone has done something similar

  • @rowlandjones3872
    @rowlandjones3872 3 года назад +1

    Awesome video, thanks for sharing. Can you share the link to the second video?

    • @RezaDorrani
      @RezaDorrani  3 года назад

      I have 2 videos more on this. Here are the links:
      ruclips.net/video/fbDQH0vIsN8/видео.html
      ruclips.net/video/QoNQjvHk6qc/видео.html

  • @toddschneider7329
    @toddschneider7329 Год назад

    Hi Reza! Seems like I found a new passion and am designing my first PowerApp and your videos are so helpful. Thank you!
    Using the Lookup members of a SharePoint Group approach in this video is it possible to use that same variable to navigate to a specific screen using the OnSelect of a button vs. make the button visible?
    For example, I’m trying in the App OnStart:
    Set(isUserinSPGrouoAdmin, !IsBlank(Lookup(‘Security List’, Title = “Admin”)));
    And then on the Admin Button OnSelect:
    If(isUserinSPGroupAdmin, Navigate(‘Admin Screen’, ScreenTransition.Fade))
    I’ve ensured member has access to the data source on the SharePoint site, is added to the Travel Request Admins SharePoint Group, and that this SharePoint Group is added to the Security List SharePoint List in the Title item. The variable seems to show as true in the app, however it does not transition over to the Admin Screen when the user selects the button.
    Any advice on how how to get this to work?

    • @RezaDorrani
      @RezaDorrani  Год назад

      Logically should work. Not sure why it would not be working. I will recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

    • @toddschneider7329
      @toddschneider7329 Год назад

      I will give that a try. Does it matter what type of SharePoint site was created? When going to create the site, which is a sub site of the main site, I went with the default selection of (Team site (no Microsoft 365 group)). Would it had been better to choose another option? There were 4 choices, the other 3 were Team site (classic experience), Project Site, and Community Site. Also, when creating the SP Group I edited the Permission Levels and unchecked the View Application Pages to hide the SP List from the user on the backend. Thank you Reza and sorry for the additional questions! I’m brand new at this with no coding or programming background and It’s so fun to to solve the riddle and then see it come to life!

    • @RezaDorrani
      @RezaDorrani  Год назад +1

      @@toddschneider7329 Should not matter as long as its a SharePoint group.

    • @toddschneider7329
      @toddschneider7329 Год назад

      Does the isUserAdminSPList method work for a Multi LookUp field and if so, does the formula need an apply to each formula or any other special characters to make it work?

    • @RezaDorrani
      @RezaDorrani  Год назад

      @@toddschneider7329 You would need to explore the In function. Il recommend posting your queries with screenshots on forums
      powerusers.microsoft.com as there are many experts who help assist. Since your scenario is a little different from video, it would be best to post on forums as it’s difficult to provide support here on chat.

  • @super1525
    @super1525 15 дней назад

    Hey Reza, is there anyway to show or hide buttons if a user is in a sharepoint group without creating an extra list? I know you went into the sharepoint site and created an extra list and added items and made changes to the permissions on the items. Not sure if anything has been changed with the process in the video since the video has been posted.

    • @RezaDorrani
      @RezaDorrani  15 дней назад

      You would need to either use that technique or call a flow to use rest api to check.

  • @adpkrs
    @adpkrs 3 года назад +1

    Nice Video on RBS. Can you post a video on how to create "Left Nav" used in this demo. I have seen your other version of Left Nav, however, I need to use this style.

    • @RezaDorrani
      @RezaDorrani  3 года назад

      Here is the link - ruclips.net/video/3S0h2nODcxM/видео.html

  • @moyura2
    @moyura2 2 года назад

    @18:50 My SharePoint doesn't show 'Advance' when using the Share icon, but I was able to figure it out by using the Open the details pane icon on the top right.

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Might be related to permissions.

  • @sarathbabu2616
    @sarathbabu2616 Год назад +1

    great video

  • @excel-k-sir
    @excel-k-sir Год назад +2

    As always it is a nicely created video targeting the real life scenarios. One question how to restrict the end users who have submitted the request (who don't have the admin access) from accessing the SharePoint list directly . is it possible to hide the travel request inside the SharePoint so that the end-users cant see it.

    • @RezaDorrani
      @RezaDorrani  Год назад

      Users will need access in order to perform actions in Power Apps and hence cannot be restricted.
      Power Apps will follow same security protocol as SharePoint.
      You can hide the list from SharePoint but a user can always get to it via flow or powershell etc.
      michelcarlo.com/2022/01/30/hiding-a-sharepoint-list-from-the-site-contents-using-power-automate

    • @excel-k-sir
      @excel-k-sir Год назад

      @@RezaDorrani thankyou for sharing the link for some reason I am getting the error. I also tried on o365 developer account and still getting the error. Any suggestions please.

    • @RezaDorrani
      @RezaDorrani  Год назад +1

      @@excel-k-sir I would recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

  • @rowlandjones3872
    @rowlandjones3872 3 года назад

    Hi Reza, just a little bit out of contex here...just because i need help. What will be the best approach to referencing data from sharepointList data on PowerApps

    • @RezaDorrani
      @RezaDorrani  3 года назад

      All you need to do is just connect to SharePoint and bring in the data. Not sure if I understood your question clearly.

  • @trstrean
    @trstrean Год назад +1

    Great video! I'm new to Power Apps, and nearly everything I've been working on, I'm finding you have a video that helps me out with what I'm doing. Quick question for this one, though. If I wanted multiple roles instead of just an admin role, so a column titled Roles of which Admin is one of the options, how would the syntax be for that if it was a multiple-choice column? I tried && Roles.Value = "Admin" but I'm getting an error of incompatible types for comparison. Might be a good video option in the future also!

    • @RezaDorrani
      @RezaDorrani  Год назад +1

      Probably "Admin" in Roles.SelectedItems.Value
      assuming Roles is a combo box control

    • @trstrean
      @trstrean Год назад

      @@RezaDorrani I'll give that a try. Inside SharePoint, Roles is a choice column using multi-select. My app will have several roles from view, approval to admin with the need to assign more than one role to an individual. I've noticed multi-select choice columns have issues in various areas of power apps (gallery most recently).

    • @RezaDorrani
      @RezaDorrani  Год назад +1

      @@trstrean I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

    • @trstrean
      @trstrean Год назад

      @@RezaDorrani I'll give that a try. I tried the approach you recommended and it didn't work. For now, I just used a standard choice column as a workaround until I figure out how to get a multi-choice select column to work.

  • @CRSHRINITHIV
    @CRSHRINITHIV Год назад

    Hi! Great video. I have few doubts of making the details screen visibility. So as a business I will have multiple clients. What is my question is do all of the clients are able to see the responses of other clients? Is there any way to limit that..?

    • @RezaDorrani
      @RezaDorrani  Год назад +1

      If permissions are set in data source, power apps will respect it.
      You could also filter data in power apps.

    • @CRSHRINITHIV
      @CRSHRINITHIV Год назад +1

      @@RezaDorrani Thankyou

  • @dawittesfaye6210
    @dawittesfaye6210 Год назад

    This is exactly what I was looking for. Great video!! The SharePoint Group option doesn't work if the logged in user is a site collection admin because they can access the item even if they are not in that group. Any workaround for that? I appreciate it! Thanks Again

    • @RezaDorrani
      @RezaDorrani  Год назад

      Site collection admins are special users. An admin can do anything in SharePoint. Workaround would probably be to call flow and query site collection admins (assuming there is some api) and then return the results back. Not something I have tried, hence guessing.

  • @fredbarnes196
    @fredbarnes196 8 месяцев назад

    You create an AZ AD list and set access in the App.Onstart... do you still have to make people a user in the environment admin section?

    • @RezaDorrani
      @RezaDorrani  8 месяцев назад

      Are users going to do anything with Dataverse in App? If no, then you do not need to set "env admin". Env Admin is a highly privileged role.

  • @side54723
    @side54723 3 года назад +3

    Since the user is able to navigate to sharepoint and view those information, i wouldnt call it security role based but visibility role based.. This is a risk to consider depending on the data stored
    Good overview and tips, Thank you

    • @RezaDorrani
      @RezaDorrani  3 года назад

      Agreed. Thats why I explained how the security works with SharePoint and Power Apps first up. This is more like audience targeting.

    • @side54723
      @side54723 3 года назад +1

      How you do that @tt

    • @importfanatik
      @importfanatik 2 года назад

      @ please elaborate. This exact flaw is what prevents me from recommending power apps to our organization. For example in this travel request app shown, what stops a user from accessing the list directly to set their list item to approved, effectively bypassing the business logic in the power app.

  • @malikhan0123
    @malikhan0123 8 месяцев назад +1

    Good trick

  • @rajendrasingh2121
    @rajendrasingh2121 3 года назад +1

    brilliant

  • @olivaadak
    @olivaadak 3 года назад +1

    As usual a complete good tutorial. Your tutorials Really helped me. Sharing it with friends. Just one question can you suggest how from the sign in screen by clicking the login button i can also check a choice column from sharepoint that if this is the choice then do this else this. It will be very helpful if you suggest a solution. Thank you!

    • @RezaDorrani
      @RezaDorrani  3 года назад +1

      Thanks for sharing with others.
      Choice column from SharePoint would be in a list that has records. How would you know which record in SP list to check the choice against and how would user enter the choice value. Not sure if I understood your requirement.

    • @olivaadak
      @olivaadak 3 года назад

      Thanks for replying Reza! My question is- When the admin is adding that perticular user for the app , the choices for that user is given by admin. It is happening using the patch formula in power apps. Lets say in sharepoint there are having a choice colum with 3 values in it (A B C). Now when the user logging its the job of the app to check if user having the choices (A or B or C or AB or ABC)which is given by the admin and redirecting accordingly. I just want to understand how to check with choice column from poweapp in sharepoint list. Thank you so much again!

    • @RezaDorrani
      @RezaDorrani  3 года назад +1

      @@olivaadak You cannot do that with a choice column unless you hardcode some logic in App. Better approach would be to use a lookup column to a secondary list where you can add some logic for security.

    • @olivaadak
      @olivaadak 3 года назад

      Okay! Thanks for clearing that. It will be helpful if you suggest any example for how an another list can be user as a security for the app.

    • @RezaDorrani
      @RezaDorrani  3 года назад

      @@olivaadak I do not have a video on this use case. I will recommend to check or ask in the forums at powerusers.microsoft.com/

  • @MrSunni10
    @MrSunni10 2 года назад +1

    Hi Reza...I learned Power Apps by watching your video. You are an excellent teacher. I am having some issue in filtering the gallery. When the form load, I have this filter: Sort(Filter('Project / Task Tracker', 'Requested By'.DisplayName = User().FullName, Status.Value "Completed") , 'Requested Date', Ascending), which shows only the list by logged in user and show the status not equl to "Completed. This works fine but I have added a button to only the status is equal to "Completed" by adding this: Sort(Filter('Project / Task Tracker', 'Requested By'.DisplayName = User().FullName, Status.Value = "Completed") , 'Requested Date', Ascending) but it not working. Any button to do filter is not working. Am I missing something? Thanks

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Thank You!
      I would have to look at your App to provide guidance. I will recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

  • @user-lo9eg9tc2r
    @user-lo9eg9tc2r 2 года назад +1

    Hi, Reza. Thank you so much for the video, let us see If there are more than 100 projects in the organization, and each project has different users and roles, how to manage these people?

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Depends on how the information is structured in SharePoint. Connecting to 100 data sources could slow down the App.

    • @user-lo9eg9tc2r
      @user-lo9eg9tc2r 2 года назад

      @@RezaDorrani Yes, I agree with it, whether The best way is to establish a unified user permission list? but I don't know how to design this list

    • @RezaDorrani
      @RezaDorrani  2 года назад

      @@user-lo9eg9tc2r may be a unified one.

  • @umamaheshwari9131
    @umamaheshwari9131 18 часов назад

    Hi Reza, Great video!!! I have a question like,,, I need to set role based access on my power app. I have 2 list, Admin and User. If the current user is admin, details button should redirect to admin view when admin can view all person details. If the current logged user is a normal user, it should redirect to the user Details page where that page only displays the current users details only. How to achieve this? I have created two details screen for Admin and User.

    • @RezaDorrani
      @RezaDorrani  15 часов назад

      You will need to query the list to check if user is part of that list. I do not have a specific video reference on this scenario. I will recommend checking or posting your query on forums in case someone has done something similar powerusers.microsoft.com

  • @davido8193
    @davido8193 2 года назад +1

    Can I base security only on AzureAD groups? My application does not use Sharepoint but I want to profile some options and elements with AzureAD groups

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Absolutely. You can directly leverage the Groups connector in Power Apps and check if user is a part of the group.

  • @andysanchez8732
    @andysanchez8732 Год назад

    Hi Reza, on 13:17 the colMenu setting is not clear for me, do you have another video where you explain further about hoy you put in collections the accesses, please.

    • @RezaDorrani
      @RezaDorrani  Год назад

      ruclips.net/video/dP74npyyvGc/видео.html & ruclips.net/video/3S0h2nODcxM/видео.html

  • @komanglayang7861
    @komanglayang7861 Год назад

    Hi there Reza, I am trying to implement the same method as the one in this video, but I've noticed that on the new update of Power Apps, Microsoft has removed the OnStart property. I read that enabling it may affect the performance of the app, is it possible to apply the same method on StartScreen property instead?

    • @RezaDorrani
      @RezaDorrani  Год назад

      Check named formulas. Im planning a video on this. A quick question, do you need see app onstart for a new app or existing app? Where are you creating this app? Power apps or teams?
      Which region is your environment in?

    • @komanglayang7861
      @komanglayang7861 Год назад

      @@RezaDorrani Will do, eagerly waiting for you to cover that topic. I actually need to see the OnStart for an existing app, and I am creating it on Power Apps. I am not sure for the region though, because every time I try to access the Power Platform admin center to check it, it's not displaying anything in the environments tab (maybe due to I am not having the admin privilege). As for now, I think I will resort to making a separate app specific for admin purposes as the workaround

    • @RezaDorrani
      @RezaDorrani  Год назад +1

      @@komanglayang7861 On Start is an app setting under general tab. You should be able to turn it on.

  • @HinaGeo
    @HinaGeo 2 года назад +1

    Thank you So much for the great videos. I am really following your channel. Can you please tell us how and where we can integrate power flow with such apps? Also if a list has an attachment can we edit that attachment within app?

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Power Automate and Apps integration- ruclips.net/video/emAhLzVG9bM/видео.html & ruclips.net/video/1_F9msqF-f8/видео.html
      Attachments - ruclips.net/video/hJQjGE-oUpM/видео.html

    • @HinaGeo
      @HinaGeo 2 года назад +1

      @@RezaDorrani Thank you so much for sharing. Attachment files with the same name are overwritten means the app will keep the latest one being uploaded and discard the old one. Thanks again and you have a great eye for daily business scenarios while creating the videos. 👍

    • @HinaGeo
      @HinaGeo 2 года назад +1

      Hello Reza, I just experimented and if we upload a same name file then its not overwriting the already attached same name file. However if we remove the alrady attached file and reattach an updated same name file then it keep the latest file ofcourse.