Role-based access control (RBAC) is a popular mechanism to enforce authorization in applications. The administrator assigns roles to different users and groups to control who can access to what content and functionality. Using RBAC with Application Roles and Role Claims, developers can securely enforce authorization in their apps with little effort on their part. Another approach is to use Microsoft Entra ID Groups and Group Claims.
In this module, you’ll learn how to use both Microsoft Entra ID Groups and Application Roles to provide fine grained access control to an application.
Learning objectives
- Create a custom ASP.NET web app that is secured with Microsoft identity
- Demonstrate how to obtain security groups as a claim in the token and use them in the app
- Demonstrate how to use app roles to grant users access to an app