You have an Azure subscription that contains a custom application named Application1. Application1 was developed by an external company named Fabrikam,
Ltd. Developers at Fabrikam were assigned role-based access control (RBAC) permissions to the Application1 components. All users are licensed for the
Microsoft 365 E5 plan.
You need to recommend a solution to verify whether the Fabrikam developers still require permissions to Application1. The solution must meet the following requirements:
- To the manager of the developers, send a monthly email message that lists the access permissions to Application1.
- If the manager does not verify an access permission, automatically revoke that permission.
- Minimize development effort.
What should you recommend?
A. In Azure Active Directory (Azure AD), create an access review of Application1.
B. Create an Azure Automation runbook that runs the Get-AzRoleAssignment cmdlet.
C. In Azure Active Directory (Azure AD) Privileged Identity Management, create a custom role assignment for the Application1 resources.
D. Create an Azure Automation runbook that runs the Get-AzureADUserAppRoleAssignment cmdlet.
A
✅ Explanation:
Access reviews in Azure Active Directory (Azure AD) are designed specifically to meet this kind of scenario with minimal development effort.
Let's map it to the requirements:
Send monthly emails to a manager listing access permissions?
✔️ Azure AD Access Reviews can be scheduled (e.g., monthly), and they notify reviewers (managers) via email.
Automatically revoke access if not reviewed?
✔️ Access Reviews can be configured to auto-remove access if no response is given within the review period.
Minimize development effort?
✔️ This is a built-in Azure AD feature—no custom scripts or automation required.
❌ Why the other options are incorrect:
B. Azure Automation with Get-AzRoleAssignment
✘ Requires custom scripting, email configuration, and manual logic to remove roles.
C. Privileged Identity Management (PIM) with custom role assignment
✘ PIM is for elevated (privileged) roles, not for ongoing access verification of standard RBAC roles across apps.
D. Azure Automation with Get-AzureADUserAppRoleAssignment
✘ Similar to B, this needs extensive custom development to fetch, email, and manage assignments.