Let’s Get Certified
Module 03 / 16 · Identities and governance

Explain effective resource access

Trace a principal, role definition and scope from subscription to resource and data.

Explain effective resource access

An Azure role assignment joins a principal, a role definition and a scope. A grant at a parent generally applies to resources beneath it. Multiple grants can contribute permissions. Evaluate deny assignments and role conditions when present. Distinguish Microsoft Entra directory roles from Azure resource roles.

Reader can inspect management-plane properties. Blob data access through Entra authentication requires appropriate data actions, such as those granted by Storage Blob Data Reader. Assign the role at the smallest scope that covers the requirement. Inspect effective assignments, including group membership and inherited grants, before adding another role.

Worked case

A colleague can open the account overview and wants to read only the receipts container. Which grant would you evaluate?

Check your reasoning

A blob data reader assignment on the receipts container supplies read data actions at a narrow scope. Also confirm the client identity and that the storage network policy allows its connection.

Second worked case

A direct resource-level Reader assignment was removed and the user still sees the VM. Where can the remaining grant come from?

Check your reasoning

Check group assignments at the resource group, subscription and management group. Azure role contributions can combine. Remove or change an assignment only after identifying the effective path.

Trace a storage grant through its scope

Run the Python 3 exercise. It models additive grants on a single hierarchy with no deny assignments or conditions. Predict which identity can inspect the account and which can read the blob.

account = ("prod", "apps", "sales")
blob = account + ("receipts", "jan.csv")
grants = [("lee", ("prod",), "inspect"), ("mei", account, "inspect"),
          ("mei", account + ("receipts",), "read-blob")]
def permits(person, resource, action):
    return any(user == person and capability == action
               and resource[:len(scope)] == scope
               for user, scope, capability in grants)
for name in ["lee", "mei"]:
    print(name, permits(name, account, "inspect"), permits(name, blob, "read-blob"))
Check your output
lee True False
mei True True

Lee inherits management-plane visibility. Mei also has a data grant at the container. Change receipts to archive in the blob path and neither user has read access in this model.

Azure RBAC scope · Official AZ-104 objectives for this domain

Related lesson in Microsoft Certified: Azure Fundamentals. Verify identity and limit the blast radius.

Practice with the recording

A resource-group Contributor can create a storage account but cannot assign someone access to it. Where does Azure evaluate those actions?

Check your reasoning

Inspect the two operations in the role definition and the scope where the assignment applies. Creating a resource and writing role assignments require different management actions. Grant only the role-management permission the administrator actually needs.

Current AZ-104 course · 9:37 · John Savill · AZ-104 Study Cram v2 · 59:09

Knowledge check

Explain effective resource access quiz

Answer 3 questions. Check each answer for an explanation.

Worked example · Blob access