Hiring Partners
Segilola Resources Operating LimitedTaviatech TechnologiesFCMBMTN NigeriaAdvans La Fayette Microfinance BankAboki AfricaFirst Bank of NigeriaOPay
← Microsoft Azure 104 Administrator Expert Β· Lesson 2 of 8

Module One

πŸ“– 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.
2
Module One: Expert Azure Identity & Governance – The Digital Kingdom

πŸ‘‘ Module One: Expert Azure Identity & Governance – The Digital Kingdom

Module Introduction
Hello, cloud champion! πŸ‘‹ In the beginner and intermediate courses, we learned the basics. Now, we are going to become expert guardians. This module is about identity and governance – the heart of Azure. We will learn how to manage users, give them the right permissions, and set rules for our cloud kingdom. Think of it like being the king or queen of a magical digital castle! 🏰

🎯 Learning Objectives

  • Explain what Microsoft Entra ID (formerly Azure AD) is and why it's used.
  • Understand how to create and manage users and groups.
  • Learn about Role-Based Access Control (RBAC) and how to assign roles.
  • Discover Azure Policy and how it enforces rules.
  • Understand resource locks, tags, and management groups.
  • Apply these skills with simple, real-world examples.

πŸ“– Warm-up Story: The Kingdom of Cloudshire

Imagine a beautiful kingdom called Cloudshire. The king and queen (the Azure Administrators) need to manage the kingdom. They have a list of all citizens (users). Some citizens are in groups, like the "Knights" or "Farmers." The king gives roles to people: a knight can protect the castle, a farmer can plant crops. The king also has a rule book (Azure Policy) that says, "All citizens must wear a hat." He also uses tags – like a sticker on a house that says "Royal Family." Everything is organised, and the kingdom runs smoothly. That's exactly what identity and governance do in Azure! 🏰


πŸ“š Main Lessons

Lesson 1: What is Microsoft Entra ID?

Definition: Microsoft Entra ID is a cloud-based identity service. It stores information about users and groups. It's like the kingdom's citizen registry.

Why important: Without Entra ID, you wouldn't know who is who in your Azure cloud.

Simple explanation: It's a phonebook that tells Azure who is allowed to enter.

Real-life example: When you log into your school portal, Entra ID checks if you are a student.

School example: The school office keeps a list of all students and teachers.

Home example: Your family has a list of people who live in the house.

Nigerian example: A bank in Lagos uses Entra ID to manage its employees.

+------------------+
|  MICROSOFT ENTRA ID |
|  (the identity hub)|
+------------------+

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

Lesson 2: Users – The Citizens

Definition: A user is a person who has an account in Entra ID. 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.

Real-life example: Your school email account is a user.

School example: Each student and teacher is a user.

Home example: Your parents have user accounts for the family Wi-Fi.

Nigerian example: A company creates a user for every employee.

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

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

Lesson 3: Groups – The Teams

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 sports club.

Real-life example: All teachers belong to a "Teachers" group.

School example: The school has a "Class 5A" group.

Home example: Your family has a group for sharing photos.

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

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

Mini summary: Groups bundle users together for easier management.

Lesson 4: Roles – The Jobs

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

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

Simple explanation: Roles are like job titles – a manager can approve things, a worker can do tasks.

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

School example: The head prefect has special roles.

Home example: Parents have the "owner" role for the 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 5: 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 6: 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 7: 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 8: Management Groups – The 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 9: Tags – The Labels

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 10: 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 11: 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 12: 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 13: 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 14: 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.

Lesson 15: Azure AD Privileged Identity Management (PIM) – The Time-Bound Key

Definition: PIM helps you manage, control, and monitor access to important resources. You can activate a role for a specific time.

Why important: It reduces the chance of misuse.

Simple explanation: Like a key that only works between 9 AM and 5 PM.

Real-life example: An admin activates the Owner role for 2 hours.

School example: A teacher is the "Principal for a Day".

Home example: You get a password that expires after one use.

Nigerian example: A bank uses PIM to grant temporary access to auditors.

+------------------+
|  PIM ACTIVATE    |
|  Role: Owner     |
|  Duration: 2 hrs |
+------------------+

Mini summary: PIM gives time-limited access to important roles.


πŸ”‘ Key Vocabulary

WordSimple meaning
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
PIMPrivileged Identity Management

🧩 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 Two, 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 One – 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.
β†’