PowerApps Security Trimming Options

April Dunnam

April Dunnam is a Principal Cloud Advocate at Microsoft, Microsoft Certified Trainer, and MVP alumni. Known for her ability to demystify the Power Platform and AI for both developers and makers, she blends deep technical knowledge with a knack for making complex topics approachable and fun. With a passion for community and sharing knowledge, April runs a popular YouTube channel dedicated to Power Platform, AI, and low-code development. She actively contributes to the Microsoft 365 and Power Platform community through sample contributions, community calls, and mentorship. April’s expertise has been recognized with the Microsoft Technology Excellence Award for her innovative Power Platform solutions. She is a frequent speaker at international conferences, helping businesses and developers harness the full potential of AI and the Power Platform. When she’s not advocating for the Power Platform, you can find her performing with her rock band or fueling her caffeine and LEGO building habits.

You may also like...

4 Responses

  1. Chad Kealey says:

    Another option for security trimming is the DataSourceInfo function (https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-datasourceinfo). You can use this to check if the current user has a certain permission level on a particular data source. For example, you have a SharePoint list called “Invoices” that the current user can read, but not edit or create items in. In your app, you have a button for “New Invoice”. You could set the DisplayMode of that button to “If(DataSourceInfo(Invoices, DataSourceInfo.CreatePermission),Edit,Disable)” (my syntax may be a little off there). If the current user has permission to create items, the button will be clickable, otherwise, it will be disabled.

  2. Sachin says:

    Hello April,

    Your blogs are really helpful to me. I’m following you on twitter specially for SharePoint, Power Apps, Power Automate and MS Teams collaboration in SharePoint. I’m SharePoint Developer with 8+ yrs of exp and wants to become expert in Power Apps and Power Automate.

    Best Regards,
    Sachin

Leave a Reply

Your email address will not be published. Required fields are marked *