Latest / CyberCode Academy / Course 29 - AZ-500 Microsoft Azure Security Technologies | Episode 1: Essential Identity Management and Security Protection
Transcript
- 0:00Speaker 1: Picture this. You've just been handed the master keys to
- 0:04Speaker 1: this massive, sprawling digital skyscraper.
- 0:07Speaker 2: Oh wow, that is a lot of responsibility right there, right,
- 0:11Speaker 2: and you are the sole person responsible for deciding exactly
- 0:14Speaker 2: who gets to walk through the front doors.
- 0:15Speaker 1: I mean you have to figure out who gets the
- 0:17Speaker 1: VIP elevator pass to the penthouse, who is restricted to
- 0:21Speaker 1: the lobby, and you know critically how to stop intruders
- 0:25Speaker 1: from sneaking in through the loading dock.
- 0:27Speaker 2: Yeah, and that is essentially the exact power you hold
- 0:30Speaker 2: when you're managing as your active directory or azure AD
- 0:34Speaker 2: as most people call it.
- 0:35Speaker 1: It's effectively this invisible force field protecting your corner of
- 0:38Speaker 1: the Internet exactly.
- 0:40Speaker 2: It functions as the ultimate gatekeeper for your entire infrastructure
- 0:43Speaker 2: because in cloud computing, we spend a massive amount of
- 0:46Speaker 2: time talking about deploying virtual machines, configuring databases, writing code,
- 0:50Speaker 2: all the fun stuff, right, the fun stuff, But absolutely
- 0:53Speaker 2: none of that matters if you cannot strictly control who
- 0:56Speaker 2: or what is actually interacting with those recent sources. As
- 1:00Speaker 2: your AD is basically the central nervous system of your
- 1:03Speaker 2: cloud environment.
- 1:04Speaker 1: So whether you maintain separate, isolated environments for software development,
- 1:08Speaker 1: or user testing or your live production servers.
- 1:11Speaker 2: Every single one of those endpoints relies on this one
- 1:14Speaker 2: centralized identity source to verify who's knocking.
- 1:18Speaker 1: On the door, which makes it incredibly powerful as your
- 1:20Speaker 1: AD is the identity and access management solution that powers
- 1:23Speaker 1: everything from just a simple Office three sixty five document
- 1:28Speaker 1: log in all the way to these incredibly complex, multi
- 1:32Speaker 1: tiered web apps.
- 1:33Speaker 2: It really is the foundation of it all.
- 1:35Speaker 1: So our mission for this deep dive is to completely
- 1:38Speaker 1: unpack that underlying architecture for you. We are going to
- 1:41Speaker 1: explore how you provision users, how you manage automated applications,
- 1:45Speaker 1: and ultimately how you lock the entire system down with
- 1:48Speaker 1: enterprise grade security protocols.
- 1:50Speaker 2: But you know, before we start assigning access badges and
- 1:52Speaker 2: letting people into our digital skyscraper, we need to establish
- 1:56Speaker 2: the structural limits of the building itself.
- 1:58Speaker 1: Yeah, you have to know what tools are actually at
- 2:00Speaker 1: your disposal.
- 2:01Speaker 2: Exactly, which means understanding the four distinct licensing tiers. So
- 2:05Speaker 2: you've got free, Basic, Premium P one, and Premium P two.
- 2:09Speaker 1: Let's break down how those tiers actually impact a deployment.
- 2:13Speaker 1: Because the foundational features like creating and managing human users
- 2:17Speaker 1: in the directory. Those are universal, right, Yeah.
- 2:20Speaker 2: You could do that across all four tiers, no problem.
- 2:22Speaker 2: And Azure ad Connect, which is the tool used to
- 2:24Speaker 2: synchronize an on premise local directory up to the cloud,
- 2:28Speaker 2: that's also included for free.
- 2:30Speaker 1: So where does the paywall hit.
- 2:32Speaker 2: The dividing line really comes down to automation, health monitoring
- 2:35Speaker 2: and advanced security. Ah okay, Like the moment you want
- 2:38Speaker 2: to start analyzing the operational health of that directory synchronization
- 2:42Speaker 2: using Azure Adconnect health, you hit a premium.
- 2:45Speaker 1: Tier, right, And I imagine it's the same for the
- 2:47Speaker 1: really heavy security stuff.
- 2:49Speaker 2: Oh absolutely, Mobile device management, conditional access policies, multi factor
- 2:53Speaker 2: authentication all premium. And to utilize the truly advanced machine
- 2:57Speaker 2: learning security features like identity protection, the.
- 3:00Speaker 1: One that automatically detects risky sign in behavior.
- 3:04Speaker 2: Exactly for that or privileged identity management, you have to
- 3:08Speaker 2: upgrade to the top tier premium P two license.
- 3:11Speaker 1: But there's a bottleneck here that I know catches a
- 3:13Speaker 1: lot of newer organizations completely off guard, and it involves
- 3:17Speaker 1: single sign on or SSO.
- 3:19Speaker 2: Oh yeah, the ten app limit.
- 3:21Speaker 1: Yes, so SSO is that feature where you log in
- 3:25Speaker 1: once and seamlessly authenticate across dozens of different external sauce
- 3:29Speaker 1: platforms and SSO is technically available on all tiers, including
- 3:34Speaker 1: free and basic.
- 3:35Speaker 2: But there's a massive catch, right.
- 3:37Speaker 1: Those lower tiers strictly limit you to ten applications per user.
- 3:42Speaker 1: So if you're managing a company that relies on say
- 3:44Speaker 1: a CRM, an HR portal, a ticketing system, and like
- 3:49Speaker 1: a dozen other daily tools, that ten.
- 3:51Speaker 2: App limit is going to break your workflow almost immediately.
- 3:54Speaker 1: It really forces organizations to seriously evaluate their software ecosystem
- 3:58Speaker 1: before choosing a tier.
- 3:59Speaker 2: It does. It's critical architectural decision.
- 4:01Speaker 1: But I have to push back on Microsoft's naming convention
- 4:04Speaker 1: here for a second, because I know it is incredibly
- 4:06Speaker 1: frustrating for anyone who spent years managing physical server rooms.
- 4:09Speaker 2: Well, the active directory name, I know exactly where you're
- 4:11Speaker 2: going with this, right.
- 4:12Speaker 1: They call it Azure Active Directory. That implies it's just
- 4:16Speaker 1: a cloud hosted version of the traditional active directory domain
- 4:19Speaker 1: controller we all know and love. But it isn't.
- 4:22Speaker 2: Is it not at all? And that naming choice trips
- 4:25Speaker 2: up incredibly seasoned IT professionals all the time. AZUREAD is
- 4:29Speaker 2: not simply a traditional domain control or migrated to a
- 4:32Speaker 2: Microsoft data center.
- 4:34Speaker 1: It's a completely different beast.
- 4:36Speaker 2: Completely different out of the box. AZUREAD does not include
- 4:39Speaker 2: the ability to join virtual machines to a domain, it
- 4:42Speaker 2: does not use group policy, and most importantly, it does
- 4:45Speaker 2: not support legacy authentication protocols like ld APP or curberos.
- 4:49Speaker 1: Which honestly makes sense when you think about the underlying
- 4:52Speaker 1: physics of the network. I mean, curberos and ld AP
- 4:54Speaker 1: were designed decades ago for trusted local physical networks.
- 4:58Speaker 2: Right they rely on a device being secure plugged into
- 5:00Speaker 2: a switch inside locked building exactly.
- 5:03Speaker 1: But azure ID is built for the hostile environment of
- 5:05Speaker 1: the Open Internet. It just assumes the network is inherently compromised,
- 5:09Speaker 1: so it.
- 5:09Speaker 2: Uses modern HTTP based web protocols like olfan SAML to
- 5:14Speaker 2: pass secure tokens back and forth instead.
- 5:16Speaker 1: That is the exact architectural shift you have to understand.
- 5:19Speaker 1: If your organization has older legacy applications that absolutely require
- 5:24Speaker 1: an LDA query to function, you have to architect a
- 5:27Speaker 1: custom bridge.
- 5:27Speaker 2: Yeah. You either need to extend your physical on premise
- 5:30Speaker 2: active directory up into the cloud via a VPN, run
- 5:33Speaker 2: self manage active directory domain services on your own virtual machines,
- 5:37Speaker 2: or pay for Microsoft Managed AD domain services.
- 5:41Speaker 1: The point is you just cannot expect native AZUREAD to
- 5:44Speaker 1: handle local network protocols.
- 5:46Speaker 2: No, definitely not so. Understanding that we are dealing with
- 5:50Speaker 2: a modern web based identity provider, Let's talk about the
- 5:54Speaker 2: actual identities.
- 5:55Speaker 1: The people walking through the doors of our skyscraper exactly.
- 5:58Speaker 2: Managing hundreds of thousands of people requires massive organization. So
- 6:02Speaker 2: where are all these user accounts actually originating from.
- 6:05Speaker 1: They filter in through three main pipelines. First, you have
- 6:08Speaker 1: existing Microsoft accounts like the personal Outlook account someone might
- 6:12Speaker 1: have used to initially purchase the Azure subscription right.
- 6:15Speaker 2: And Second, you have native users. Those are the accounts
- 6:19Speaker 2: you create directly inside your AZUREAD directory with your company's
- 6:23Speaker 2: custom domain name.
- 6:24Speaker 1: And third, you have guest users. This is the business
- 6:27Speaker 1: to business or a B to B collaboration.
- 6:29Speaker 2: Feature, which is super useful. It's how you grant an
- 6:33Speaker 2: external vendor or a freelance contractor access to your internal
- 6:36Speaker 2: SharePoint sites without having to create a brand new paid
- 6:40Speaker 2: account for them.
- 6:41Speaker 1: But Microsoft enforces a very specific mathematical limit on those
- 6:44Speaker 1: B to B guests, don't.
- 6:45Speaker 2: They they do. It's a fascinating technical constraint. You can
- 6:49Speaker 2: invite guest users into your directory, but only up to
- 6:52Speaker 2: a ratio of five to one based on your paid
- 6:54Speaker 2: as your ad licenses.
- 6:56Speaker 1: So if you hold say one hundred paid licenses, absolute.
- 6:59Speaker 2: Max number of guest users you can invite is five hundred. Wow. Yeah,
- 7:03Speaker 2: it's a hard structural cap designed to prevent organizations from
- 7:06Speaker 2: just indefinitely abusing the free guest feature to bypass licensing costs.
- 7:11Speaker 1: That makes sense, but bringing in all those internal and
- 7:14Speaker 1: external users creates a massive crowd control problem. Managing permissions
- 7:18Speaker 1: on an individual basis is a logistical nightmare.
- 7:20Speaker 2: Oh, It's impossible, which is why we rely on groups,
- 7:24Speaker 2: and azure ad splits these into two main types. You've
- 7:27Speaker 2: got security groups, which handle actual resource permissions, and Office
- 7:31Speaker 2: three sixty five groups, which function primarily as collaborative email
- 7:35Speaker 2: distribution lists.
- 7:36Speaker 1: But the true administrative power really lies in how you
- 7:39Speaker 1: populate those groups right exactly.
- 7:41Speaker 2: You can manually assign members, which is tvious, or you
- 7:44Speaker 2: can leverage dynamic membership. Dynamic membership allows you to write
- 7:48Speaker 2: a logic rule and the systems evaluation engine automatically adds
- 7:52Speaker 2: or removes members as their status changes.
- 7:54Speaker 1: For instance, you could have a rule formatted in JSON
- 7:57Speaker 1: that essentially states if the user's department property equals engineering,
- 8:02Speaker 1: add them to this group.
- 8:03Speaker 2: Right, And if that user transfers to sales, the engine
- 8:06Speaker 2: detects the property change and instantly revokes their engineering access.
- 8:10Speaker 1: It's brilliant, and you can base those dynamic rules on
- 8:12Speaker 1: user properties, or you can base them on device properties,
- 8:15Speaker 1: like whether a laptop is compliant with your security policies.
- 8:18Speaker 2: But there is a massive technical restriction here that you
- 8:21Speaker 2: have to be aware of. A single dynamic group can
- 8:25Speaker 2: never evaluate both users and devices simultaneously.
- 8:28Speaker 1: Wait, really, why not?
- 8:30Speaker 2: It's because the underlying evaluation engine parses the rules syntax
- 8:34Speaker 2: differently for a human identity versus a hardware identity. It
- 8:38Speaker 2: compiles them in a way that requires separate database queries.
- 8:41Speaker 1: Ah, so you can't mix them in.
- 8:43Speaker 2: One query exactly. Therefore, you have to keep user rules
- 8:47Speaker 2: and device rules in entirely separate dynamic groups, though you
- 8:50Speaker 2: can nest those groups together to build a more complex
- 8:53Speaker 2: hierarchy if you need to.
- 8:54Speaker 1: Okay, so, once we have our users organized into groups,
- 8:57Speaker 1: we have to determine what they are actually allowed to do.
- 8:59Speaker 1: We have to assign roles.
- 9:01Speaker 2: And this is an area where a simple misunderstanding can
- 9:04Speaker 2: compromise an entire cloud environment.
- 9:06Speaker 1: Because we are dealing with two entirely separate rule books here.
- 9:09Speaker 2: Yes, first we have Azure AD administrator roles. These dictate
- 9:14Speaker 2: permissions within the directory itself, like the power to reset
- 9:18Speaker 2: user passwords or the power to create a new user account.
- 9:21Speaker 1: And second we have Azure Resource roles commonly known as
- 9:24Speaker 1: role based access control or RBAC.
- 9:27Speaker 2: Right, and those govern actions taken against the actual cloud infrastructure.
- 9:31Speaker 2: So the power to spin up a new virtual machine
- 9:35Speaker 2: or delete a production database.
- 9:38Speaker 1: Merging those two concepts in your head is a total
- 9:41Speaker 1: recipe for disaster.
- 9:42Speaker 2: It really is, and the platform enforces a major limitation
- 9:46Speaker 2: to keep them separate. You can assign an Azure resource
- 9:49Speaker 2: role to a group for efficiency, but you absolutely cannot
- 9:52Speaker 2: assign an Azure AD administrator role to a group.
- 9:56Speaker 1: So those highly sensitive directory level powers have to be
- 9:59Speaker 1: targeted directly.
- 10:00Speaker 2: Directly to a specific individual user or a specific application registration.
- 10:04Speaker 2: It forces the administrator to be highly intentional about who
- 10:07Speaker 2: holds the keys to the identity vault.
- 10:09Speaker 1: Okay, let's put you at the keyboard to see how
- 10:10Speaker 1: this plays out in real time. Think about the workflow
- 10:13Speaker 1: of provisioning a brand new employee. You execute the command
- 10:16Speaker 1: to generate the user. The terminal processes the request and
- 10:19Speaker 1: outputs adjacent response containing a temporary system generated password. You
- 10:23Speaker 1: then issue a second command, adding this new user's object
- 10:27Speaker 1: ID into a security group called let's say data analysts.
- 10:31Speaker 2: Now switch perspectives for a second. Put yourself in the
- 10:34Speaker 2: shoes of that new employee logging in for the very
- 10:36Speaker 2: first time. You enter your email and that temporary password.
- 10:40Speaker 2: But before the portal even loads, the system halts the
- 10:43Speaker 2: authentication flow.
- 10:45Speaker 1: It flags the temporary credential exactly.
- 10:47Speaker 2: And it instantly forces you update the password to something
- 10:50Speaker 2: permanent and private.
- 10:52Speaker 1: It's a perfect baseline security measure. But say this new
- 10:55Speaker 1: data analyst decides to poke around. They navigate to the
- 10:59Speaker 1: user's blade and attempt to execute a command to create
- 11:02Speaker 1: another brand new user account.
- 11:04Speaker 2: The system completely blocks the request. The default permissions just
- 11:08Speaker 2: deny it flat out.
- 11:09Speaker 1: But then, out of curiosity, they try to create a
- 11:11Speaker 1: brand new security group and the system executes the command.
- 11:15Speaker 2: Perfectly, which confuses a lot of people.
- 11:17Speaker 1: It does. I always explain default as your ADA permissions
- 11:20Speaker 1: using a hotel analogy. When you check into a hotel room.
- 11:23Speaker 1: You are completely authorized to rearrange the desk chair and
- 11:26Speaker 1: the pillows inside your own room.
- 11:28Speaker 2: Right. That's equivalent to a default user having the ability
- 11:31Speaker 2: to create new groups to organize their own collaborative projects, exactly.
- 11:35Speaker 1: But you absolutely cannot grab a sledgehammer, knock down a
- 11:38Speaker 1: wall and build a completely new room. That requires ownership
- 11:43Speaker 1: of the building. You cannot create a new user.
- 11:45Speaker 2: The mechanism to fix that limitation, if you genuinely want
- 11:49Speaker 2: that analyst to help manage it requires a global administrator.
- 11:54Speaker 2: The admin has to navigate into the directory roles menu
- 11:57Speaker 2: and explicitly assign the user administrator to that specific employees account.
- 12:02Speaker 1: And once the back end replication finishes, the analyst logs out,
- 12:05Speaker 1: logs back in to refresh their access token, and the
- 12:08Speaker 1: restrictions lift.
- 12:09Speaker 2: They now possess the authority to create, modify, and delete
- 12:12Speaker 2: other human users.
- 12:14Speaker 1: But knowing how to manage human users only solves half
- 12:16Speaker 1: the puzzle, because human beings are not the only entities
- 12:20Speaker 1: wandering the halls of our digital skyscraper, not even close.
- 12:23Speaker 2: Modern cloud environments are entirely driven by automation. Applications are
- 12:27Speaker 2: constantly running background scripts pulling database records talking to other APIs.
- 12:31Speaker 1: And these non human entities require their own digital passports.
- 12:34Speaker 2: They do in Azure. AD applications generally function in one
- 12:38Speaker 2: of two distinct modes. They either act as a client,
- 12:41Speaker 2: meaning they are actively consuming a resource and pulling data
- 12:44Speaker 2: from an external source, or they act as a resource.
- 12:47Speaker 1: Server, meaning they are exposing their own API, offering up
- 12:50Speaker 1: data for other clients to securely consume.
- 12:52Speaker 2: Precisely, and they handle this machine to machine communication using
- 12:56Speaker 2: industry standard protocols. They heavily rely on O two point
- 13:00Speaker 2: zero for authorization and open idconnect for authentication.
- 13:04Speaker 1: To manage this, we have to adjust the difference between
- 13:06Speaker 1: an application object and a service principle. This concept trips
- 13:10Speaker 1: up so many developers, but if you don't grasp it,
- 13:13Speaker 1: setting up automation and Azure is just an exercise in
- 13:16Speaker 1: pure frustration.
- 13:17Speaker 2: It fundamentally comes down to multi tenancy. You need a
- 13:20Speaker 2: way to define what an application is in an entirely
- 13:23Speaker 2: separate way to define what it is allowed to do
- 13:25Speaker 2: in a specific location.
- 13:26Speaker 1: Right, think of the application object as the master engineering
- 13:30Speaker 1: blueprint for a brand new fleet vehicle. Let's say a
- 13:32Speaker 1: Ford f one fifty. That blueprint lives at Ford Headquarters.
- 13:36Speaker 2: Or in Azure. It lives in a menu called app Registrations.
- 13:40Speaker 2: It defines the core identity of the app, it's required permissions,
- 13:44Speaker 2: and its name.
- 13:44Speaker 1: But a blueprint is just paper. You cannot drive a
- 13:47Speaker 1: blueprint to the grocery store.
- 13:48Speaker 2: No, you definitely cannot. To actually utilize the vehicle, you
- 13:52Speaker 2: need the physical truck manufactured, delivered to your specific company's
- 13:57Speaker 2: parking lot, and fitted with your company's local license exactly.
- 14:01Speaker 1: And that physical localized truck is the service principle. It
- 14:05Speaker 1: is the concrete instance of that application blueprint granted specific
- 14:09Speaker 1: operational rights within your local directory tenant.
- 14:12Speaker 2: The application object is the global definition, the service principle
- 14:17Speaker 2: is the local implementation, and those local instances live in
- 14:21Speaker 2: a separate menu called Enterprise Applications.
- 14:23Speaker 1: Let's walk through the exact technical steps of bringing one
- 14:25Speaker 1: of these service principles to life, because it's pretty cool.
- 14:28Speaker 1: Consider opening the Azure cloud shell directly in your browser.
- 14:31Speaker 1: You select the Bash environment.
- 14:33Speaker 2: The terminal initializes. You've got that dark background and a
- 14:36Speaker 2: blanking cursor.
- 14:37Speaker 1: You are going to use the Azure command line interface.
- 14:40Speaker 1: You type as ad group create, specifying a display nim
- 14:44Speaker 1: of say help desk automation.
- 14:46Speaker 2: You hit enter, The terminal reaches out to the API
- 14:50Speaker 2: and returns a block of code confirming the group is live.
- 14:53Speaker 1: Next, you need to register the application itself. You execute
- 14:57Speaker 1: the creation command almost instantly, the terminal spits out a
- 15:01Speaker 1: response containing two critical strings of alphanumeric text.
- 15:05Speaker 2: An application ID which is also known as a client ID,
- 15:07Speaker 2: and a tenant ID. This establishes the application's global identity
- 15:11Speaker 2: and its local address.
- 15:13Speaker 1: Then an idea alone is just a username, right, It
- 15:15Speaker 1: requires a credential to prove who it is.
- 15:17Speaker 2: Right, So you instruct the CLI to generate a client secret.
- 15:21Speaker 2: The terminal outputs a complex, randomized string of characters, and
- 15:24Speaker 2: this is a highly volatile.
- 15:25Speaker 1: Moment because of strict security protocols. The system will output
- 15:29Speaker 1: that raw secret value exactly once.
- 15:31Speaker 2: Just once. If you clear the terminal without copying it
- 15:33Speaker 2: to a secure key vault, it has gone forever. The
- 15:36Speaker 2: system encrypts it on the back end and you will
- 15:38Speaker 2: literally be forced to delete it and generate it completely
- 15:40Speaker 2: new credential.
- 15:41Speaker 1: So you securely copy the secret. Now the application exists,
- 15:45Speaker 1: but it has no power. You want this automated script
- 15:48Speaker 1: to manage user accounts, so you use the CLI to
- 15:52Speaker 1: modify the app's API permissions, requesting access to the Microsoft
- 15:56Speaker 1: Graph API with a specific permission string directory dot readbrit
- 16:00Speaker 1: dott Al and.
- 16:01Speaker 2: You have to pay close attention to the context here.
- 16:03Speaker 2: This is an automated script running in the background. There
- 16:06Speaker 2: is no human user sitting at a keyboard to type
- 16:08Speaker 2: in a password.
- 16:09Speaker 1: Therefore, this is classified as an application permission rather than
- 16:13Speaker 1: a delegated permission.
- 16:14Speaker 2: And because an invisible, autonomous piece of code is asking
- 16:18Speaker 2: for the devastating power to read and rewrite your entire
- 16:21Speaker 2: corporate directory, the system throws up a massive roadblock. It
- 16:25Speaker 2: demands admin consent.
- 16:27Speaker 1: A global administrator must explicitly execute a command to approve
- 16:30Speaker 1: this level of access. So you run the admin consent
- 16:33Speaker 1: command and the terminal returns a success message.
- 16:36Speaker 2: But finally, to prove the plumbing actually works, you attempt
- 16:38Speaker 2: to log in, but you don't use your human email address.
- 16:42Speaker 2: You type as login service principle, followed by the application ID,
- 16:46Speaker 2: the client secret you saved, and the tenant ID.
- 16:48Speaker 1: The system processes the cryptographic handshake and authenticates you. The
- 16:53Speaker 1: terminal might print a warning stating there are no resource
- 16:56Speaker 1: subscriptions attached to this identity.
- 16:57Speaker 2: Which is expected behavior. Because we only granted it directory permissions,
- 17:02Speaker 2: not resource level deployment provisions.
- 17:04Speaker 1: You are now operating the permanal entirely as a piece
- 17:07Speaker 1: of autonomous code. You execute a command to create a
- 17:10Speaker 1: new user and it processes flawlessly. The service principle.
- 17:14Speaker 2: Is alive, which brings us to arguably the most terrifying
- 17:18Speaker 2: part of cloud architecture.
- 17:19Speaker 1: Oh yeah, we have hundreds of human users with varied
- 17:22Speaker 1: access levels. We have invisible automated scripts holding directory right privileges.
- 17:27Speaker 2: If an attacker guesses a week password or compromises a
- 17:30Speaker 2: poorly stored client secret, they could just burn the entire
- 17:33Speaker 2: skyscraper to the ground.
- 17:35Speaker 1: So how do we lock the doors?
- 17:36Speaker 2: We establish baseline protection policies. These are pre defined, immutable
- 17:40Speaker 2: rules that Microsoft basically bakes into every single Azure ad tenant,
- 17:45Speaker 2: even the free tiers.
- 17:46Speaker 1: They represent the absolute minimum standard for surviving on the
- 17:50Speaker 1: open Internet.
- 17:51Speaker 2: Let's look at the mechanics of these policies. First is
- 17:53Speaker 2: require MFA for admins right. If an account holds a
- 17:56Speaker 2: highly privileged directory role like Global administrator, the system absolutely
- 18:01Speaker 2: forces a multi factor authentication challenge.
- 18:04Speaker 1: Second is end user protection. The system cross references all
- 18:09Speaker 1: sign in attempts against Microsoft's global threat intelligence.
- 18:12Speaker 2: Feeds, So if the system detects a user attempting to
- 18:15Speaker 2: authenticate using a password that was recently, say, dumped on
- 18:20Speaker 2: the dark web in a public.
- 18:21Speaker 1: Data breach, the National Access Engine instantly blocks the attempt
- 18:26Speaker 1: and it forces the user to undergo a secure password
- 18:29Speaker 1: reset before granting access.
- 18:31Speaker 2: It also allows you to systematically block legacy authentication protocols.
- 18:35Speaker 2: We mentioned earlier that AZUREAD doesn't use LDP, but it
- 18:38Speaker 2: also has to deal with old email protocols like IMAP or.
- 18:40Speaker 1: POP, and the fundamental problem with IMAM and TOP is
- 18:43Speaker 1: that their underlying code physically lacks the mechanism to process
- 18:47Speaker 1: a multi factor authentication prompt.
- 18:49Speaker 2: They only know how to ask for a username and
- 18:51Speaker 2: a password, so if you leave them enabled, a hacker
- 18:53Speaker 2: can easily bypass your MFA policies.
- 18:55Speaker 1: Entirely Blocking them is critical, though Microsoft does carve out
- 18:58Speaker 1: an exception to allow exchange active.
- 19:00Speaker 2: Sync, and finally, there is a baseline policy requiring MFA
- 19:05Speaker 2: for all service management. This means any entity attempting to
- 19:08Speaker 2: access the Azure Portal interface with the CLI or execute
- 19:12Speaker 2: Azure PowerShell modules must pass an MFA challenge.
- 19:16Speaker 1: But wait a minute. If I enact a blanket policy
- 19:19Speaker 1: requiring an interactive MFA prompt for absolutely all service management,
- 19:24Speaker 1: what happens to my continuous Integration and deployment service as is?
- 19:28Speaker 1: Because my CICD pipeline uses a service principle a script
- 19:32Speaker 1: to deploy code into Azure, a script cannot pull a
- 19:36Speaker 1: smartphone out of its pocket and scan a fingerprint. That
- 19:39Speaker 1: policy would completely shatter my automated deployments exactly.
- 19:43Speaker 2: That is the massive aha moment that takes down so
- 19:46Speaker 2: many development teams. They turn on universal MFA for service
- 19:49Speaker 2: management without considering the non human identities. Wow, you must
- 19:53Speaker 2: carefully design your conditional access policies to explicitly exclude your
- 19:56Speaker 2: secure automated service principles or your entire deploy pipeline. We'll
- 20:00Speaker 2: just hang indefinitely waiting for an MFA code that will
- 20:03Speaker 2: never arrive.
- 20:04Speaker 1: Security and automation are constantly intention Let's run through one
- 20:09Speaker 1: final mental walkthrough of locking a human admin down. Consider
- 20:13Speaker 1: activating a thirty day free trial of the premium P
- 20:16Speaker 1: two tier to test the conditional access engine.
- 20:19Speaker 2: Okay, so you generate a brand new user and assign
- 20:22Speaker 2: them the global admin role. You navigated the conditional access
- 20:25Speaker 2: menu and toggle the policy requiring MFA for all administrators
- 20:29Speaker 2: to baunt.
- 20:30Speaker 1: You log out of your current session. You attempt to
- 20:32Speaker 1: log back in as that newly minted global admin. You
- 20:35Speaker 1: enter the correct username and password.
- 20:38Speaker 2: The system verifies the credentials, but the conditional Access engine
- 20:41Speaker 2: intervenes before the portal loads a prompt of yours, demanding
- 20:44Speaker 2: secondary verification.
- 20:46Speaker 1: You pull out your smartphone, open the Microsoft Authenticator app,
- 20:49Speaker 1: and select the option to add a work account. The
- 20:51Speaker 1: desktop interface displays a QR code. But that QR code
- 20:55Speaker 1: isn't just a weblink. It represents a complex cryptographic handshake.
- 20:59Speaker 2: You scan the code with your phone's camera. The app
- 21:02Speaker 2: securely binds to the Azure eighty tenant and generates a
- 21:05Speaker 2: time based, rotating six digit code. You type that code
- 21:08Speaker 2: back into the desktop prompt, mathematically proving that you physically
- 21:12Speaker 2: hold the trusted device.
- 21:14Speaker 1: The engine validates the token, the gates open, and you
- 21:17Speaker 1: are granted access. The fortress is secure.
- 21:20Speaker 2: We have covered incredible ground in this deep dive. We
- 21:24Speaker 2: mapped out the structural limits and tiers of the Azure
- 21:26Speaker 2: ad architecture. We populated the directory with human users, organizing
- 21:31Speaker 2: them with dynamic groups and strict roles.
- 21:33Speaker 1: We explored the secret life of applications, clarifying how a
- 21:38Speaker 1: service principle acts as a physical, localized passport for automated code.
- 21:42Speaker 2: And we fortified the entire system using baseline policies, carefully
- 21:46Speaker 2: balancing MFA requirements with CICD automation.
- 21:50Speaker 1: It is a massive amount of architecture to synthesize, so
- 21:53Speaker 1: let me leave you with a scenario to test how
- 21:55Speaker 1: well these concepts fit together.
- 21:56Speaker 2: Okay, let's hear it.
- 21:57Speaker 1: If you are designing a cloud environment and to grant
- 22:00Speaker 1: a custom Python script the ability to read directory data
- 22:04Speaker 1: entirely on its own, without any human user present or
- 22:06Speaker 1: logging in, do you assign that script a delegated permission
- 22:10Speaker 1: or an application permission? And critically, who has to authorize
- 22:12Speaker 1: that request. Let's reason through this together. We are talking
- 22:16Speaker 1: about a custom script running autonomously in the background. Because
- 22:20Speaker 1: there is no human being present at a keyboard to
- 22:23Speaker 1: delegate their own rights, the script absolutely requires an application permission.
- 22:28Speaker 1: And because an invisible, non human entity is asking for
- 22:32Speaker 1: broad access to read the corporate directory, the system will
- 22:35Speaker 1: not just allow it. It requires explicit admin consent from
- 22:39Speaker 1: a highly privileged user to authorize the cryptographic token.
- 22:42Speaker 2: Applying the logic to the actual mechanics is how you
- 22:45Speaker 2: truly master identity management.
- 22:47Speaker 1: Which leads me to a final provocative thought for you
- 22:50Speaker 1: to consider. As cloud environment scale, we are rapidly approaching
- 22:53Speaker 1: a reality where the vast majority of interactions within a
- 22:56Speaker 1: network are not between humans, but between autonomous scripts, APIs
- 23:01Speaker 1: and service principles. Identity is no longer a philosophical question
- 23:05Speaker 1: of verifying who someone is. It is now a strict
- 23:07Speaker 1: mathematical requirement to prove exactly what a piece of autonomous
- 23:10Speaker 1: code is allowed to execute. When the users wandering the
- 23:14Speaker 1: halls of our digital skyscraper don't have fingerprints, don't sleep,
- 23:17Speaker 1: and execute thousands of commands a second while, how will
- 23:20Speaker 1: our fundamental concept of identity have to evolve to keep
- 23:22Speaker 1: the building from collapsing. Something to think about the next
- 23:25Speaker 1: time you hand a piece of code the keys to
- 23:27Speaker 1: your kingdom.