
Cloud
Learning Level
Azure Active Directory (Azure AD) provides identity and access management for cloud applications.
By the end of this lesson, you'll understand:
# Create service principal
az ad sp create-for-rbac \
--name "myServicePrincipal" \
--role Contributor \
--scopes /subscriptions/{subscription-id}
# Output includes:
# appId, password, tenant# Enable managed identity on VM
az vm identity assign \
--name myVM \
--resource-group myResourceGroup
# Grant permissions to managed identity
az role assignment create \
--role "Storage Blob Data Reader" \
--assignee <principal-id> \
--scope /subscriptions/.../storageAccount# Assign role
az role assignment create \
--role Contributor \
--assignee user@example.com \
--scope /subscriptions/{subscription-id}
# List assignments
az role assignment list \
--scope /subscriptions/{subscription-id}# Enable MFA for user
az ad user update \
--id user@example.com \
--force-change-password-next-sign-inLearn about scaling and load balancing, or explore containers with Azure Kubernetes Service.
Resources
Ojasa Mirai
Master AI-powered development skills through structured learning, real projects, and verified credentials. Whether you're upskilling your team or launching your career, we deliver the skills companies actually need.
Learn Deep • Build Real • Verify Skills • Launch Forward