Identity Concepts
Authentication · authorization · identity as the perimeter · identity providers · directory services and AD · federation
By the tools4free.dev team · Last reviewed November 13, 2026
Practice questions for this topic →
Authentication and authorization
| Authentication | Authorization | |
|---|---|---|
| Question it answers | Who are you? | What are you allowed to do? |
| What it does | Proves you are who you say you are, with credentials | Determines what an authenticated identity is allowed to do |
| Based on | Factors: something you know, have or are | Roles, permissions and attributes |
| Order | First, at sign-in | After successful authentication |
- Single-factor authentication uses only one factor, such as a password alone.
- Multifactor authentication (MFA) requires two or more factors from different categories, for example a password plus approval on your phone.
- Principle of least privilege: users get only the minimum access they need to do their job, and no more.
Identity as the primary security perimeter
A network perimeter (a boundary enforced by firewalls and VPN gateways) is no longer a reliable control when users, devices and apps sit outside it. Every access decision now starts with identity.
- Factors that eroded the perimeter: cloud and SaaS apps, remote and hybrid work, personal devices (BYOD), partner and customer access, IoT devices.
- An identity is the set of attributes that define or characterize a person, device or software component.
| Identity type | Represents |
|---|---|
| Human | Employees, contractors, customers and partners |
| Device | Laptops, phones, tablets and IoT sensors |
| Workload | Applications, services, containerized workloads and automated processes |
| Agent | AI agents that act on behalf of users or processes |
| Pillar of identity infrastructure | Covers |
|---|---|
| Administration | Creating, managing and governing identities, including provisioning and deprovisioning |
| Authentication | Verifying an identity is who or what it claims to be |
| Authorization | Determining what an authenticated identity is allowed to do |
| Auditing | Tracking and recording who did what, when and from where |
Identity providers, tokens and single sign-on
An identity provider (IdP) creates, maintains and manages identity information, and offers authentication, authorization and auditing services to applications. Applications delegate these tasks to it.
- The application directs the user to the identity provider.
- The identity provider verifies the credentials.
- It issues a security token.
- The user client presents the token to the application, which trusts the identity provider.
| Item | Purpose |
|---|---|
| ID token | Proof the user has signed in (authentication) |
| Access token | Permission for the application to access a specific resource on behalf of the user (authorization) |
| Claims | Pieces of data about the authenticated identity carried in a token |
| OpenID Connect (OIDC) | Authentication for modern cloud and mobile apps; built on OAuth 2.0 |
| OAuth 2.0 | Authorization: lets applications obtain access tokens |
| SAML | Common in enterprise scenarios, older applications and federation between organizations |
- Single sign-on (SSO): sign in once to the identity provider and you are signed in to every application that trusts it.
- Disabling an account in the identity provider removes access to all connected applications.
- Tokens expire after a set period, so a stolen token cannot be used indefinitely.
- Microsoft Entra ID is a cloud-based identity provider. Others on the page: Google, Amazon, LinkedIn, GitHub.
Directory services and Active Directory
- A directory is a structured repository of objects such as users, devices, groups, policies and applications. A directory service is the software that stores and serves that data.
- Active Directory (AD) is a set of Microsoft directory services, first released as part of Windows 2000 Server, for on-premises, domain-based networks.
- AD DS (Active Directory Domain Services) stores information about every member of a network domain and verifies credentials at sign-in. A server running AD DS is a domain controller (DC).
- AD DS supports Group Policy, Kerberos and NTLM authentication, and organizational units (OUs).
| AD DS limitation | Detail |
|---|---|
| Cloud and SaaS apps | Doesn't natively authenticate users to them |
| Mobile devices | No native support for iOS, Android or other non-Windows devices |
| Modern protocols | Doesn't natively support OAuth 2.0 and OpenID Connect |
| Remote access | Users away from the corporate network can't authenticate directly without a VPN |
Microsoft Entra ID is Microsoft's cloud-based identity and access management service, the evolution of directory services for the cloud era, delivered as Identity as a Service (IDaaS). Connecting it to AD DS so identities are synchronized is called hybrid identity.
Federation
Federation enables access across organizational or domain boundaries by establishing trust relationships between separate identity providers. The user signs in with credentials they already have; no new account is needed in the other organization.
- Trust relationships aren't automatically bidirectional. A two-way trust must be explicitly configured.
- B2B collaboration: employees of a partner company use their own credentials to reach shared resources.
- Social identity providers: signing in to a consumer app with a Google, Microsoft or GitHub account is a federated sign-in.
- AD FS (Active Directory Federation Services) is a Microsoft server role that lets on-premises Active Directory users reach cloud applications by authenticating against the on-premises AD FS server, which issues tokens that cloud services accept.
- Federation works across vendors because identity providers use industry-standard protocols to exchange security tokens.
Exam Tips
Tick each tip once you can answer it without looking.
“Proving who you are” → Authentication. Trap: Authorization decides what you can do, after authentication.
“Deciding what an authenticated identity may do” → Authorization. Trap: It always comes after successful authentication.
“Password plus a code approved on your phone” → Multifactor authentication: two or more factors from different categories. Trap: A password plus a PIN are both something you know, so they are one category.
“Authentication factor categories” → Something you know, something you have, something you are. Trap: A username alone doesn't prove identity.
“Users get only the minimum access to do their job” → Principle of least privilege. Trap: It is an authorization concept.
“Why firewalls and VPNs are not enough any more” → Identity is the new security perimeter: every access decision starts with identity. Trap: Cloud apps, remote work and BYOD put users and devices outside the network boundary.
“Four identity types on the page” → Human, device, workload, agent. Trap: Workload identities are software, not people.
“Four pillars of identity infrastructure” → Administration, authentication, authorization, auditing. Trap: Auditing is who did what, when and from where.
“Central service that issues security tokens to apps” → Identity provider (IdP). Trap: The application trusts the IdP and accepts its token.
“Proof of sign-in vs permission to call an API” → ID token = authentication; access token = authorization. Trap: OpenID Connect is built on OAuth 2.0; OAuth 2.0 is for authorization.
“Sign in once, reach many trusting apps” → Single sign-on (SSO). Trap: Federation is two identity providers trusting each other.
“Server that runs AD DS” → Domain controller (DC). Trap: AD DS is on-premises; it doesn't natively authenticate to SaaS apps.
“Cloud-based evolution of directory services” → Microsoft Entra ID (IDaaS). Trap: Connecting it to on-premises AD DS is hybrid identity.
“Trust between two identity providers across organizations” → Federation. Trap: Trust is not automatically two-way.
“Extend on-premises AD sign-in to cloud apps with tokens” → AD FS (Active Directory Federation Services). Trap: AD FS is a server role, not the cloud directory itself.
Sources
- Define authentication and authorization
- Define identity as the primary security perimeter
- Describe the role of the identity provider
- Describe the concept of directory services and Active Directory
- Describe the concept of federation
Checked against Microsoft Learn on November 13, 2026.