How To Create Model Driven Apps With Security Role Restriction

Introduction

In this blog, we will see how to create Model Driven Apps with Security Role.

Implementation Steps

1. Navigate to https://make.powerapps.com

2. Click Apps

Create Model Driven Apps With Security Role Restriction

3. Now click on New App and select Model Driven App

Create Model Driven Apps With Security Role Restriction

4. Then input the name for the Model Driven App and click create

Create Model Driven Apps With Security Role Restriction

5. Once done click Add Page and select the page which you want to display, for demo am selecting the Dataverse table and clicking Next.

Create Model Driven Apps With Security Role Restriction

6. Now select existing table and select the table and click Add

Create Model Driven Apps With Security Role Restriction

7. Once done, click Save and Publish

Create Model Driven Apps With Security Role Restriction

8. Once the App gets created now click Play it will open a Popup with the App which we have created.

9. Now click on Settings and select Advance Settings

Create Model Driven Apps With Security Role Restriction

10. Once the Page opens, select Settings and click Apps

Create Model Driven Apps With Security Role Restriction

11. You can see the App which you have created now select the three dots and select Manage Roles

Create Model Driven Apps With Security Role Restriction

12. Once selected it will open the Roles --> select the Roles and click Save

Create Model Driven Apps With Security Role Restriction

13. Once the Save is done.

The respective Model Driven App will load if the logged in user contains that specific Security Role that we have selected in Step 12.

That's it :)

Conclusion

This is how we need to use Security Role with Model Driven Apps, based on this blog if the user logged in then based on the Security Role the App will get Visible.


Similar Articles