PowerApps Security Trimming Options

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,

Leave a Reply

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