05-16-2022 06:10 AM
👉 Did you know there is a way to set Run-As permissions for connectors in flows called from Power Apps❓
This opens up scenarios to run actions with "elevated permissions". Similar to the "Impersonation Step" feature in SharePoint Designer Workflows.
Scenario: User has Read access on SharePoint List but can Create Items via Power App.
The new Power Apps (V2) trigger in flow gives us Run-as capabilities in Power Automate & opens up possibilities of SharePoint Security/permission impersonation by elevating user access in Power Apps.
The magic is in the "Run only users" setting of Power Automate flows triggered from Power Apps using the V2 connector.
Video includes the following:
✅ PowerApps Security with data connections & Sharing
✅ Power Apps run based on Permissions of data source
✅ Call Power Automate from Power Apps
✅ Run Power Automate actions with elevated permissions (different user account)
✅ Call flow from Power Apps to run under elevated security.
#PowerApps #PowerAutomate #SharePoint #Permissions #ElevatedAccess
Reza Dorrani, MVP