Implementing Role Based Protection In Your PowerApps App
Sudhesh Suresh, Program Manager , Monday, December 4, 2017
An extremely typical question our customers ask is, how do you implement role based access control within my app. In other words, how do I make particular features or displays of my application available simply to the authorized people in my organization. As an example, make Admin display available only to the users whom are part of an Active Directory Group “Administrators” or make administration views available only to the users from the Active Directory Group “Managers” (as shown in the picture below).
In this blog post, I’ll demonstrate ways to find the Active Directory group out account of the signed in individual and consequently make decision to show/ hide certain features.
Advanced Level Steps
We’ll use customized connector function of PowerApps for connecting to Microsoft Graph API for listing the Active Directory Groups that the consumer belongs to*. After getting the list of groups through this customized connector in PowerApps, we are able to easily check if the consumer belongs to a group that is particular properly set the visibility of particular controls or screens.
Following will be the steps that are broad
Step 1 enroll a software within the Azure Active Directory and demand permission to utilize the Graph that is right API)
Step 2 Grant Permission asked for above (a working Directory Admin needs to do that)
Step three include this software being a customized connector in PowerApps environment
(more…)