Hiring Partners
Segilola Resources Operating LimitedTaviatech TechnologiesFCMBMTN NigeriaAdvans La Fayette Microfinance BankAboki AfricaFirst Bank of NigeriaOPay
← Microsoft AZ 104 Azure Adminstrator · Lesson 3 of 9

Module Two

📖 Every lesson in this course is free to read right here, no account needed. Create a free account to track your progress, take the exam, and earn your certificate.
3
Module Two: Azure Identities & Governance – Your Digital ID Card

🪪 Module Two: Azure Identities & Governance – Your Digital ID Card

Module Introduction
Hello again, young cloud explorer! 👋 In Module One, we learned that Azure is a giant digital playground. But how does Azure know who you are? How does it decide what you can do? That's what this module is about. We will learn about identities (like your digital ID card) and governance (the rules of the playground). By the end, you'll be a master of who can do what in Azure! 🎯

🎯 Learning Objectives

  • Explain what an identity is in the cloud.
  • Describe Microsoft Entra ID (formerly Azure AD).
  • Understand users, groups, and roles.
  • Define Role-Based Access Control (RBAC).
  • Explain Azure Policy and resource locks.
  • Use simple examples from Nigeria and daily life.

📖 Warm-up Story: The School of Digital Doors

Imagine a huge school called Azure Academy. Every student has a special badge. The badge has your photo, name, and a secret code. Some badges let you enter the library, others let you enter the computer lab, and only the principal can enter the office. This badge is your identity. The rules about who can go where are the governance. In Azure, we use digital badges (called identities) and rules (called policies) to keep everything safe and organised. Let's learn how! 🏫


📚 Main Lessons

Lesson 1: What is an Identity in Azure?

Definition: An identity is like a digital passport. It tells Azure who you are and what you are allowed to do.

Why important: Without identities, anyone could access your data – that’s not safe!

Simple explanation: It’s like having a username and password for your favourite game.

Real-life example: When you log in to your school portal, you are using an identity.

School example: Your student ID card is an identity.

Home example: Your parent’s email login is an identity.

Nigerian example: A Nigerian bank uses digital identities for each employee.

+------------------+
|  IDENTITY = YOU  |
|  (username + pwd)|
+------------------+

Mini summary: Identity is your digital proof of who you are.

Lesson 2: Microsoft Entra ID – The Identity Hub

Definition: Microsoft Entra ID (formerly Azure Active Directory) is the service that stores all identities. It’s like a big phonebook for your company.

Why important: It’s the central place where Azure checks if you are allowed in.

Simple explanation: It’s like the school office that keeps all student records.

Real-life example: Microsoft 365 uses Entra ID to log you in.

School example: The school keeps a list of all students and their classes.

Home example: Your family has a list of everyone’s birthdays.

Nigerian example: A Lagos company uses Entra ID to manage 500 employees.

+-----------------------+
|  MICROSOFT ENTRA ID   |
|  +-----------------+  |
|  | Users | Groups |  |
|  | Roles | Apps   |  |
|  +-----------------+  |
+-----------------------+

Mini summary: Entra ID is the identity store for Azure.

Lesson 3: Users – The People

Definition: A user is a person who has an identity in Azure. Each user has a name, email, and password.

Why important: Users are the people who use Azure services.

Simple explanation: Users are like players in a game. Each has their own account.

Real-life example: You are a user when you log into your school email.

School example: Every student and teacher is a user.

Home example: Mom, Dad, and you are users of the family Netflix.

Nigerian example: A bank creates a user for every cashier.

+------------------+
|  USER: "Chidi"   |
|  Email: chidi@.. |
|  Role: Developer |
+------------------+

Mini summary: Users are real people with accounts in Azure.

Lesson 4: Groups – Teams of People

Definition: A group is a collection of users. Instead of giving permissions to each person, you give permissions to the group.

Why important: It saves time – add one person to a group and they get all the permissions.

Simple explanation: Groups are like teams in a game. All team members share the same powers.

Real-life example: All teachers belong to a “Teachers” group in the school system.

School example: Class 5A is a group.

Home example: “Family” is a group that shares a photo album.

Nigerian example: A company has a “Finance” group for accountants.

+------------------+
|  GROUP: "Admins" |
|  Members:        |
|  - Amina         |
|  - Kofi          |
|  - Zara          |
+------------------+

Mini summary: Groups bundle users to make management easy.

Lesson 5: Roles – The Job Titles

Definition: A role defines what a user or group can do. Examples: Reader (can only view), Contributor (can create and edit), Owner (can do everything).

Why important: Roles ensure people have only the access they need.

Simple explanation: Roles are like job titles in a company – the manager can approve things, the assistant can organise files.

Real-life example: A principal has more permissions than a teacher.

School example: The head boy/girl has some special roles.

Home example: Parents have the “owner” role for the home Wi-Fi.

Nigerian example: A bank teller has a “Reader” role, the manager has “Contributor”.

+------------------+
|  ROLE: "Reader"  |
|  - Can view      |
|  - Cannot edit   |
+------------------+
|  ROLE: "Owner"   |
|  - Can do all    |
+------------------+

Mini summary: Roles are permissions attached to users or groups.

Lesson 6: RBAC – The Permission System

Definition: RBAC stands for Role-Based Access Control. It means you give permissions based on roles, not to each person individually.

Why important: It makes security easy and consistent.

Simple explanation: Instead of telling 100 people what to do, you tell 5 roles and assign people to those roles.

Real-life example: In a hospital, doctors have one role, nurses another.

School example: Teachers can grade, students can only view grades.

Home example: Parents can change Wi-Fi settings, kids cannot.

Nigerian example: A fintech uses RBAC so only managers can approve payments.

+------------------+
|  RBAC FLOW       |
|  User -> Role -> Permissions |
+------------------+

Mini summary: RBAC uses roles to control access.

Lesson 7: Azure Policy – The Rule Book

Definition: Azure Policy is a set of rules that your Azure resources must follow. For example, “All storage accounts must be in South Africa”.

Why important: Policies keep everything organised and compliant.

Simple explanation: It’s like school rules – “No running in the hallways”.

Real-life example: A company policy says all VMs must be a certain size.

School example: “All students must wear uniforms” is a policy.

Home example: “No screens after 8 PM” is a policy.

Nigerian example: A bank policy: “All data must be stored in Nigeria or South Africa”.

+------------------+
|  AZURE POLICY    |
|  Rule: Only use  |
|  South Africa    |
|  region          |
+------------------+

Mini summary: Azure Policy enforces rules on your resources.

Lesson 8: Resource Locks – The Safety Seal

Definition: A resource lock prevents accidental deletion or changes. It’s like putting a “do not touch” sign on your project.

Why important: It protects important resources from being deleted by mistake.

Simple explanation: Imagine putting tape over the power button so no one turns off your game.

Real-life example: A museum locks a painting so no one can move it.

School example: The principal’s office is locked.

Home example: You lock your diary.

Nigerian example: A company locks its production database.

+------------------+
|  RESOURCE LOCK   |
|  (Cannot delete) |
+------------------+

Mini summary: Resource locks prevent accidental changes or deletions.

Lesson 9: Management Groups – Big Folders

Definition: Management groups are like big folders that hold multiple subscriptions. They help you manage policies and access across many subscriptions.

Why important: If you have many subscriptions, management groups keep them tidy.

Simple explanation: It’s like having a big drawer for all your toy boxes.

Real-life example: A global company has one management group for Europe, another for Africa.

School example: The school has a folder for each grade.

Home example: You have a folder for games, another for schoolwork.

Nigerian example: A Nigerian conglomerate uses management groups for each subsidiary.

+-----------------------+
|  MANAGEMENT GROUP     |
|  +-----------------+  |
|  | Subscription 1 |  |
|  | Subscription 2 |  |
|  +-----------------+  |
+-----------------------+

Mini summary: Management groups organise subscriptions.

Lesson 10: Tags – Labels for Your Resources

Definition: Tags are labels (key-value pairs) you attach to resources. E.g., “Environment=Production” or “Owner=Chidi”.

Why important: Tags help you organise and find resources easily.

Simple explanation: Like putting stickers on your school notebooks – one for Math, one for English.

Real-life example: A company tags all VMs used for testing with “Test” label.

School example: You tag your project files with your name.

Home example: You label boxes in the attic.

Nigerian example: A Lagos startup tags all production resources with “Prod”.

+------------------+
|  TAG:            |
|  Key: Environment|
|  Value: Test     |
+------------------+

Mini summary: Tags are labels that help you organise resources.

Lesson 11: Conditional Access – The “IF” Rules

Definition: Conditional Access is like an “if this, then that” rule. Example: “If you log in from outside Nigeria, ask for extra verification”.

Why important: It makes security smarter.

Simple explanation: Like a secret knock – if you knock twice, the door opens; if not, it stays locked.

Real-life example: Your bank asks for a one-time code if you log in from a new device.

School example: If you are late, you must go to the office.

Home example: If it rains, you take an umbrella.

Nigerian example: A bank uses Conditional Access to block logins from suspicious countries.

+------------------+
|  IF location=US  |
|  THEN block      |
+------------------+

Mini summary: Conditional Access applies extra rules based on conditions.

Lesson 12: Identity Protection – The Security Guard

Definition: Identity Protection detects suspicious activities, like a user logging in from two different countries in 5 minutes.

Why important: It helps stop hackers.

Simple explanation: Like a guard watching who comes in and out.

Real-life example: Your bank alerts you if someone tries to log in from far away.

School example: The school guard knows every student.

Home example: Your parents check who is at the door.

Nigerian example: A fintech uses Identity Protection to flag unusual login attempts.

+------------------+
|  IDENTITY PROTECTION |
|  Risk: Medium    |
|  Action: Require  |
|  MFA             |
+------------------+

Mini summary: Identity Protection watches for risky behaviour.

Lesson 13: Role Assignments – Giving the Role

Definition: Role assignment is the act of giving a role to a user or group. “Assign Amina the Reader role on the Storage account”.

Why important: Without assignments, roles are useless – they are just titles.

Simple explanation: Like giving a student the role of “class monitor”.

Real-life example: A manager assigns the “Editor” role to a new employee.

School example: The teacher assigns the “line leader” role to a student.

Home example: Mom assigns the “clean the room” role to you.

Nigerian example: An admin assigns the “Contributor” role to a developer in Lagos.

+------------------+
|  Assign Role     |
|  User: Amina     |
|  Role: Reader    |
|  Scope: Storage  |
+------------------+

Mini summary: Role assignment is giving a role to someone.

Lesson 14: Entra ID B2B – Guest Users

Definition: B2B (Business to Business) allows you to invite external guests (like partners) to your Azure.

Why important: You can collaborate with people outside your company.

Simple explanation: Like inviting a friend from another school to visit your class.

Real-life example: A company invites an external consultant to view some reports.

School example: A guest teacher comes for a special lesson.

Home example: You invite a neighbour to a party.

Nigerian example: A Nigerian company invites a foreign partner to access a project folder.

+------------------+
|  B2B Guest       |
|  Email: partner@ |
|  Access: limited |
+------------------+

Mini summary: B2B lets external people access your resources.

Lesson 15: Entra ID PIM – Just-in-Time Access

Definition: PIM (Privileged Identity Management) gives you admin rights only for a short time, then removes them. Like a temporary key.

Why important: It reduces risk – you don’t stay an admin forever.

Simple explanation: Like borrowing the teacher’s key to open the supply closet – you give it back immediately.

Real-life example: An admin gets temporary access to fix a server.

School example: A student is hall monitor for one day.

Home example: You borrow your parent’s phone to make a call.

Nigerian example: A bank gives temporary admin access to a support engineer.

+------------------+
|  PIM ACTIVATE    |
|  Admin for 1 hr  |
|  After: auto-    |
|  removed         |
+------------------+

Mini summary: PIM gives temporary elevated access.


🔑 Key Vocabulary

WordSimple meaning
IdentityDigital proof of who you are
Entra IDAzure’s identity service
UserA person with an account
GroupA collection of users
RoleA set of permissions
RBACRole-Based Access Control
PolicyA rule that resources must follow
Resource LockPrevents changes/deletion
Management GroupFolder for subscriptions
TagLabel for resources

🧩 Important Concepts

  • Least Privilege: Give only the minimum permissions needed.
  • Multi-Factor Authentication (MFA): Use a password plus a code from your phone.
  • Audit Logs: Records of who did what and when.

📝 Step-by-step Explanations

  1. Create a user: Portal → Entra ID → Users → New user → fill details.
  2. Create a group: Entra ID → Groups → New group → add members.
  3. Assign a role: Go to resource → Access control (IAM) → Add role assignment → choose role and user.
  4. Apply a policy: Portal → Policy → Definitions → Assign.
  5. Add a lock: Resource → Locks → Add → name and type.

🌍 Real-life Examples

  • Microsoft 365 uses Entra ID for all logins.
  • Airbnb uses RBAC to control employee access.
  • Nigerian banks use conditional access for security.

🇳🇬 Nigerian Examples

  • A fintech in Lagos uses Entra ID for all staff.
  • A school in Abuja uses groups to separate teachers and students.
  • A government agency uses Azure Policy to enforce region compliance.

🧸 Fun Examples for Kids

  • In a game, you have roles: “builder”, “fighter”, “explorer” – that’s like RBAC.
  • Your house has rules: “no shoes inside” – that’s like an Azure Policy.
  • A library card is your identity; you borrow books based on your role (child/adult).

🏠 Everyday Examples

  • Your school login is an identity.
  • Your family group chat is a group.
  • Parental controls on your tablet are like Azure Policy.

🧑‍🏫 Teacher Notes

  • Use role-play: assign students “Reader”, “Contributor”, “Owner” roles in a class project.
  • Show the Entra ID portal if possible.
  • Relate policies to class rules.

👪 Parent Tips

  • Explain that online accounts have identities.
  • Discuss why we have different permissions (e.g., parents can change Wi-Fi, kids can’t).
  • Show them the concept of locks on important devices.

✨ Interesting Facts

  • Entra ID handles over 50 billion authentications per month!
  • Azure has over 200 built-in roles.
  • PIM was first introduced in 2015.

💡 Did You Know?

  • Azure Policy can automatically fix non-compliant resources.
  • You can use tags to track costs by department.

🧠 Remember This

  • Identity = Who you are.
  • RBAC = What you can do.
  • Policy = What is allowed.
  • Lock = Don’t touch!

⚠️ Common Mistakes

  • Assigning “Owner” role to too many people.
  • Not applying locks on critical resources.
  • Creating users without proper groups.

✅ Best Practices

  • Use groups instead of individual users for permissions.
  • Apply the “least privilege” principle.
  • Always use MFA for admin accounts.
  • Tag resources for easier management.

📊 Comparison Tables

ConceptWhat it doesEveryday item
UserIndividual accountStudent ID
GroupTeam of usersClass group
RolePermissions setJob title
PolicyEnforces rulesSchool rulebook

📝 Summary After Every Lesson

Each lesson includes a mini summary, as shown above.

📦 End-of-Module Summary

In this module, we explored the world of identities and governance in Azure. We learned that Entra ID is the main identity service. We met users, groups, and roles. We discovered RBAC (the permission system), Azure Policy (the rule book), and resource locks (the safety seals). We also covered management groups, tags, conditional access, identity protection, role assignments, B2B guests, and PIM. These are the tools that keep Azure organised, secure, and under control. You are now ready to manage who can do what in the cloud! 🎉

❓ Frequently Asked Questions (10)

  1. What is Entra ID? – Azure’s identity service.
  2. What is a user? – A person with an account.
  3. What is a group? – A collection of users.
  4. What is RBAC? – Role-Based Access Control.
  5. What is a role? – A set of permissions.
  6. What is Azure Policy? – Rules for resources.
  7. What is a resource lock? – Prevents deletion/changes.
  8. What is a management group? – A folder for subscriptions.
  9. What is MFA? – Multi-Factor Authentication.
  10. What is PIM? – Privileged Identity Management (temporary admin).

📝 Review Questions (15)

  1. What is an identity?
  2. Name the service that stores identities in Azure.
  3. What is the difference between a user and a group?
  4. What does RBAC stand for?
  5. What is a role?
  6. Why do we use Azure Policy?
  7. What does a resource lock do?
  8. What are management groups used for?
  9. What are tags?
  10. What is conditional access?
  11. What is identity protection?
  12. What is a role assignment?
  13. What is B2B?
  14. What is PIM?
  15. Why is least privilege important?

✏️ Fill-in-the-Blank

  1. Azure’s identity service is called ______. (Entra ID)
  2. A ______ is a collection of users. (group)
  3. RBAC uses ______ to control access. (roles)
  4. A ______ prevents resources from being deleted. (lock)
  5. ______ is a rule that resources must follow. (Policy)

✔️ True or False

  1. Entra ID is a storage service. (False)
  2. Groups help manage permissions easily. (True)
  3. RBAC gives permissions to individual users only. (False)
  4. Azure Policy can enforce rules. (True)
  5. Resource locks allow anyone to delete resources. (False)

🧪 Multiple Choice Questions (15)

  1. What is Entra ID?
    a) Identity service b) Storage c) Compute
    Answer: a
  2. What is a group?
    a) Collection of users b) A single user c) A role
    Answer: a
  3. RBAC stands for?
    a) Role-Based Access Control b) Random Access c) Really Big Acronym
    Answer: a
  4. What does a role define?
    a) Permissions b) Password c) Email
    Answer: a
  5. Azure Policy enforces?
    a) Rules b) Games c) Movies
    Answer: a
  6. Resource lock prevents?
    a) Deletion b) Creation c) Login
    Answer: a
  7. Management groups hold?
    a) Subscriptions b) Users c) VMs
    Answer: a
  8. Tags are used for?
    a) Labelling b) Deleting c) Creating
    Answer: a
  9. Conditional access uses?
    a) Conditions b) Only passwords c) No rules
    Answer: a
  10. Identity Protection detects?
    a) Risky behaviour b) Good behaviour c) Nothing
    Answer: a
  11. Role assignment is?
    a) Giving a role b) Deleting a role c) Ignoring a role
    Answer: a
  12. B2B allows?
    a) External guests b) Only internal users c) No users
    Answer: a
  13. PIM gives?
    a) Temporary access b) Permanent access c) No access
    Answer: a
  14. Least privilege means?
    a) Minimum permissions b) Maximum permissions c) No permissions
    Answer: a
  15. MFA uses?
    a) Multiple factors b) Only one factor c) No factor
    Answer: a

🔗 Matching Exercises

TermMatch
Entra IDIdentity hub
UserPerson
GroupTeam
RolePermissions
PolicyRule

📝 Short Answer Questions

  1. What is the difference between a user and a group?
  2. Why is RBAC important?
  3. Give an example of an Azure Policy.

🎭 Scenario-based Exercises

  1. Scenario: A company has 20 employees. The manager wants only 3 people to delete resources. What should they use? (Answer: RBAC – assign Delete role only to those 3).
  2. Scenario: A school in Lagos wants all student data to stay in South Africa. Which Azure tool can enforce this? (Answer: Azure Policy – restrict region).

👥 Group Activity

In groups, create a “Role Play” where one person is the Admin, another is the User, and another is the Policy. Show how RBAC works in a funny skit.

🧑‍💻 Individual Activity

Draw a mind map of all the identity and governance tools we learned. Include Entra ID, Users, Groups, Roles, RBAC, Policy, Locks, Management Groups, and Tags.

🗣️ Classroom Discussion Questions

  1. Why is it dangerous to give everyone the Owner role?
  2. How would you use tags to organise your Azure resources?
  3. Can you think of a rule (policy) your school has that is like an Azure Policy?

🛠️ Mini Project

Create a poster that shows the hierarchy: Management Group → Subscription → Resource Group → Resource. Add a lock and a tag to your poster.

📋 Practical Assignment

Using the Azure Portal (with help), create a user, add them to a group, and assign a Reader role to the group on a resource. Document each step.

🏆 Challenge Exercise

Without looking, list all the steps to assign a role to a user. Then check your steps against the portal.

🔑 Quiz Answers

All answers are provided within each question section above.

📌 Key Takeaways

  • Identity = who you are; Governance = rules and permissions.
  • Entra ID is the central identity store.
  • RBAC gives permissions based on roles.
  • Azure Policy enforces rules.
  • Resource locks protect important items.

➡️ Preparation for the Next Module

In Module Three, we will dive into Azure Storage. We will learn how to create storage accounts, upload files, and keep data safe. Get ready to become a storage master! 📦


End of Module Two – You are now an identity and governance expert! 🎓

🏆 Get Certified

🔒

Earn this certificate

Every lesson is already free to read. Sign up, finish the lessons, pass the exam (₦2,000 or 20,000 coins), and get a verified certificate with your name on it.

🎓 Sign Up to Get Certified
🛠️ Practice Tools
Hands-on simulators & labs - subscription required.
→
🎯 Internship Tasks
Real-world tasks to build your portfolio - unlock them with a subscription.
→