AZ-104 study notes · 20–25% of the exam
Manage Azure identities and governance
First draft for review. Check details against Microsoft Learn before relying on them.
What this area covers
Users and groups in Microsoft Entra ID, access to Azure resources with RBAC, and keeping subscriptions in order with Azure Policy, locks, tags and cost controls.
Users and groups
- Create users one at a time, in bulk from a CSV, or invite guest users with B2B collaboration.
- Security groups grant access, Microsoft 365 groups add a mailbox and shared resources. Dynamic membership fills a group from user attributes and needs Entra ID P1.
- Licences can be assigned to groups, and each user needs a usage location before a licence can apply.
- Self-service password reset is turned on for all users or a selected group, with the number of methods required.
Access with RBAC
- A role assignment is a security principal, a role definition and a scope (management group, subscription, resource group or resource). Assignments inherit downwards.
- Know the four basics: Owner (everything, including access), Contributor (everything except access), Reader and User Access Administrator.
- Entra roles (like User Administrator) manage the directory. Azure roles manage resources. They're separate systems.
- Use Check access on a resource to see a principal's effective assignments.
Governance
- Management groups sit above subscriptions so policy and RBAC apply to many at once.
- Azure Policy effects to know: Deny, Audit, Modify, Append and DeployIfNotExists. Group related policies in an initiative. Existing resources need a remediation task.
- Resource locks: CanNotDelete still allows changes. ReadOnly blocks changes and can break operations that need a POST, such as listing storage keys.
- Tags aren't inherited by default. Use a Modify policy to copy them from the resource group.
- Moving resources between resource groups or subscriptions changes their resource IDs, so update anything that references them. Not every resource type supports moves, so validate first.
Cost
- Budgets send alerts at thresholds but don't stop spending. Cost analysis filters and groups by tag, resource group or service.
- Azure Advisor gives cost recommendations, such as resizing or shutting down underused VMs.