Directory services

One sign-in to Entra ID opens every application

One personone identitysigns in onceMicrosoft Entra IDchecks who you area signed tokenThe Azure portalMicrosoft 365Other cloud appsYour own appsAuthenticationproving who you areAuthorisationdeciding what you may doMicrosoft Entra ID is the directory in the cloud: it signs people in, once, to everything.It holds the users, groups and applications of your organisation, called a tenant. An application that trustsEntra ID never sees the password; it receives a token saying who signed in. One sign-in that opens manyapplications is single sign-on. Entra ID was called Azure Active Directory until 2023.

Microsoft Entra ID authenticates a person once and issues a token every application accepts: single sign-on.

Directory services · Going deeper

Entra ID, Active Directory and Domain Services

Active DirectoryMicrosoft Entra IDEntra Domain ServicesWhere it runsyour own serversMicrosoft's cloudMicrosoft's cloudYou run domain controllersyesnono: managed for youSpeaksKerberos, NTLM, LDAPweb sign-in (OAuth, SAML)Kerberos, NTLM, LDAPBuilt foroffice networks and PCscloud and web appsolder apps moved to AzureDomain join, group policyyesnoyesEntra Domain Services gives older applications the domain they expect, with no domain controllers to run.It takes its users from your Entra ID tenant, so people keep one identity. Microsoft Entra Connect copiesaccounts from an on-premises Active Directory up to Entra ID, so the same person exists in both. ChooseDomain Services when the question says "legacy", "LDAP", "Kerberos" or "domain join" and "no servers".

Entra Domain Services is a managed domain for older applications, with no servers to run.

Authentication methods

Two factors of different kinds, and then no password at all

Something you knowa password, a PINSomething you havea phone, a security keySomething you area fingerprint, a faceMultifactor authenticationtwo or more, of different kinds: here a password, then a code on the phonePasswordlessa device you hold, unlocked by you: nothing to guess or stealTwo factors of different kinds beat any password. Passwordless keeps two factors and drops the password.A password and a PIN are both things you know, so together they are still one factor. Entra ID offers threepasswordless methods: Windows Hello for Business, the Microsoft Authenticator app, and FIDO2 security keys(passkeys). Single sign-on then carries that one strong sign-in to every application.

Multifactor needs two different kinds of proof. Passwordless uses a device you hold and unlock.

Authentication methods · Going deeper

External identities

External identities: people outside your organisationWhoThey sign in withBusiness to business (B2B)Partners and suppliers, invited as gueststheir own work account or emailB2B direct connectAnother Entra organisation you trusttheir own tenant, with no guest accountCustomers (B2C)The public using an application you publishan email, or a social accountAn external identity lets an outsider use your resources with credentials they already have.You do not create or reset their password; their own identity provider does. You still decide what they canreach, and you can demand multifactor authentication and review their access. Guests appear in yourdirectory as guest users.

External identities let partners and customers sign in with accounts they already have.

Check yourself

Step 1a passwordStep 2a memorised PIN

A sign-in asks for the two things shown. Is this multifactor authentication?

Conditional Access

The circumstances of a sign-in decide what it needs

SignalsWho: the user or groupWhere: the location or networkWhat device, and is it compliantWhich applicationHow risky the sign-in looksConditional Accessif these, then thatDecisionAllowAllow, after multifactorBlockConditional Access decides each sign-in from its circumstances, not from the password alone.A policy reads signals about the sign-in and applies a decision. Typical policies: administrators must alwaysuse multifactor; staff at the office on a managed laptop go straight in; a sign-in from an unexpected countryis blocked. It is a feature of Microsoft Entra ID and it runs after the first factor has been checked.

Conditional Access reads signals such as user, location and device, then allows, asks for MFA or blocks.

Access control

Access is a role given to someone at a scope

WhoA userA groupAn applicationWhat roleOwnereverything, and can grant accessContributoreverything except granting accessReaderlook, and change nothingAt what scopeManagement groupSubscriptionResource groupResourceA role assignment:the Developers group is Contributor on the resource group rg-webAccess in Azure is always three things together: who, what role, and where.With no assignment a person can do nothing. Assignments only add permission, and they are inherited byeverything beneath the scope. Give roles to groups, not to individuals, and give the least that the job needs:that is the principle of least privilege.

Azure RBAC: who, what role, at what scope. Owner, Contributor and Reader are the main roles.

Access control · Going deeper

The built-in roles

Built-in roleReadCreate and changeDeleteGive access to othersOwner✓✓✓✓Contributor✓✓✓Reader✓User Access Administrator✓Azure roles (RBAC)Control Azure resources: virtual machines, storage, networks. Assigned at a scopeMicrosoft Entra rolesControl the directory itself: users, groups, licences, domainsCustom rolesYour own list of allowed actions, when no built-in role fitsThere are many more built-in roles, each for one service, such as Virtual Machine Contributor.Azure RBAC is enforced by Azure Resource Manager on every request, whichever tool sent it.

Only Owner and User Access Administrator can give access to others.

Check yourself

Subscription · Ana: Readerrg-web · Ana: Contributorrg-data

Ana has the two role assignments shown. In which resource groups can she create a virtual machine?

Security models

Seven layers stand between an attacker and the data

Physical securityIdentity and accessPerimeterNetworkComputeApplicationDataguards and locks at the datacentre: Microsoft's jobEntra ID, multifactor, Conditional AccessDDoS protection, firewalls at the edgesubnets, network security groups, deny by defaultpatched machines, endpoint protectionsecure code, secrets kept out of itencryption, and access only for those who need itDefence in depth puts several different barriers around the data, so that no single failure exposes it.Each layer slows an attacker and gives another chance to notice them. Zero Trust is the attitude that goeswith it: verify every request explicitly, give the least privilege that works, and assume a breach hasalready happened.

Defence in depth layers different controls around the data. Zero Trust verifies every request.

Security models · Going deeper · 1 of 3

Zero Trust

Zero Trust: three principlesVerify explicitlyCheck identity, device, location and risk on every request, every timeUse least privilege accessJust enough access, for just long enough, to do the taskAssume breachSplit the network into segments, encrypt, and watch for the attacker already insideThe old modelZero TrustTrust comes frombeing on the office networkproving it, each timeThe wall isthe network edgethe identityA device insideis trustedis checked like any otherPeople now work from anywhere, on their own devices, against cloud services, so the office wall no longersurrounds anything. Conditional Access is how Entra ID applies Zero Trust at sign-in.

Verify explicitly, use least privilege, assume breach.

Security models · Going deeper · 2 of 3

Microsoft Defender for Cloud

Microsoft Defender for CloudAssessfind what is weak, continuouslySecureharden it, following the recommendationsDefenddetect threats and raise alertsSecure scoreOne number for how well your resources follow security recommendationsRecommendationsA list of what to fix, ordered by how much each raises the scoreRegulatory complianceYour resources measured against standards, starting with Microsoft's own benchmarkWorkload protectionPaid Defender plans that watch servers, storage, databases and containers for attacksReachAzure, your own datacentre and other clouds, through Azure ArcDefender for Cloud tells you how secure you are and warns you when you are attacked.It monitors and advises. It is not the firewall, the directory or the policy engine.

Defender for Cloud scores your security, recommends fixes and raises alerts.

Security models · Going deeper · 3 of 3

Clue words for identity and security

When the question saysThe service isBecause it"identity service in the cloud", "single sign-on"Microsoft Entra IDthe directory"legacy app needs LDAP or Kerberos, no servers"Entra Domain Servicesa managed domain"two forms of verification"Multifactor authenticationdifferent kinds of factor"sign in without a password"Windows Hello, Authenticator, FIDO2passwordless"partner uses their own account"External identities (B2B)a guest"require MFA only from outside the office"Conditional Accesssignals, then a decision"who can do what on which resources"Azure RBACrole at a scope"never trust, always verify"Zero Trustverify, least privilege, assume breach"layers of protection"Defence in depthseven layers around data"secure score", "security recommendations"Defender for Cloudassess, secure, defendIdentity questions ask who signs in and how. Access questions ask what they may then do, and where.

Each identity and security feature has a clue phrase.

Check yourself

PhysicalIdentityPerimeterNetworkComputeApplicationData

A service that absorbs a flood of traffic before it reaches your network belongs to which layer?

Lesson complete

You finished “Identity, access and security on Azure”

Answer the questions along the way to see your score here.

Open in a new tab