Configure Identity-Based Access for Azure Files
Create an Azure file share, assign share-level RBAC roles, configure access keys, and secure the storage account with network rules

Lab overview
Azure Files provides fully managed file shares accessible via SMB and NFS protocols. In enterprise environments, controlling access is critical. Azure Files supports multiple authorization models, from storage account keys granting full access to granular RBAC roles like Storage File Data SMB Share Reader and Contributor that allow fine-grained, identity-based access control at the share level.
In this lab, you will create a storage account with an Azure file share, assign share-level RBAC roles, manage storage account access keys, and configure network firewall rules to restrict connectivity.
Objectives
Upon completing this intermediate level lab, you will be able to:
- Create a storage account and Azure file share with the SMB protocol
- Assign share-level RBAC roles (Reader, Contributor, Elevated Contributor) for identity-based access
- Manage storage account access keys and understand their security implications
- Configure storage account network firewall rules to restrict public endpoint access
- Verify the effect of RBAC role assignments on file share data operations
Who is this lab for?
This lab is designed for:
- Cloud administrators who need to secure Azure Files with identity-based access control
- Azure engineers studying for the AZ-104 certification who want hands-on experience with storage security
Verified against your live environment
An automated validation engine inspects your actual resources and configurations as you work. Completion means the task was performed, not multiple choice, real-world proficiency.
More labs like this
Configure and Access Azure Virtual Desktop (AVD)
Configure AVD Host Pool for User Access and Connect to AVD using Web-based Remote Desktop Client in this hands-on lab.
Access Azure Key Vault Secrets from a Web App Using Managed Identity
Enable a system-assigned managed identity on App Service and use the Azure SDK to securely retrieve secrets from Key Vault.
Implement Network Security Groups (NSGs) and Application Security Groups (ASGs) in Azure
Secure Azure VMs using Network Security Groups and Application Security Groups. Create rules, control traffic flow, and implement least privilege access.
Related reading
Environment
Every lab includes
- Real environment, pre-credentialed
- Automated checks on every step
- Isolated sandbox, auto cleanup
- AI-recommended next steps
Lab curriculum
- 01
Logging into Azure Account using Azure Portal
- 02
Create a Storage Account and Azure File Share with SMB
1 automated check
- 03
Assign Share-Level RBAC Roles for Azure Files Access
1 automated check
- 04
Manage Access Keys and Shared Key Authorization Settings
1 automated check
- 05
Configure Network Firewall Rules for Storage Account Security
1 automated check
Skills validated
Not the lab you were looking for?
Browse 250+ hands-on labs across AWS, Azure, Kubernetes, Docker, and cloud security.