AZ-500 Microsoft Azure Security Technologies Exam
Are you a guardian of your domain? Lean how to leverage your aptitude in security to protect Microsoft Azure technologies, with a goal of earning the Microsoft Certified: Azure Security Engineer Associate certification!
Gauge your current knowledge

Gauge your current knowledge

Configure app registration permission scopes
OAuth2 Permission Lifecycle: Define, Grant, Validate
Process FlowA horizontal process flow showing the four stages of an OAuth2 permission lifecycle in Microsoft Entra ID: defining scopes and app roles in an app registration, granting consent (admin or user), issuing an access token with scope and roles claims, and validating the JWT to enforce least privilege. A token packet animates left to right through each stage in sequence.
Sample Question
A security-conscious organization is developing a critical backend daemon service that requires unattended access to Microsoft Graph. This service needs to perform two distinct, high-privilege operations: 1. Retrieve the full profile details for all users across the entire Microsoft Entra tenant. 2. Send emails from a designated shared mailbox without user interaction. The organization's security policy strictly enforces the **principle of least privilege** and mandates that all necessary permissions for this daemon service must be granted through **admin consent**. Which configuration approach correctly defines the required permissions and ensures they are granted appropriately for this application?
- Define `User.Read.All` and `Mail.Send` as **Application permissions** in the app registration manifest or Azure portal, and then grant these permissions via the Enterprise applications blade in the Azure portal, requiring **admin consent**.
- Define `User.Read.All` and `Mail.Send` as **Delegated permissions** in the app registration, and instruct users to grant **user consent** when first accessing the service.
- Define `Directory.ReadWrite.All` and `Mail.ReadWrite` as **Application permissions** in the app registration manifest, and then grant these permissions using PowerShell, requiring **admin consent**.
- Define `User.Read.All` as an **Application permission** and `Mail.Send` as a **Delegated permission** in the app registration, then grant both using PowerShell, requiring **admin consent** for both.