Hybrid IT Architecture with Okta

Hybrid IT Architecture with Okta

A plain-English guide to connecting the old and the new: how one identity system can sit in front of data-center servers, legacy applications, cloud platforms, and modern SaaS tools, and keep all of them secure, reliable, and easy to use.

Very few companies get to start from a blank page. A bank may run a core system that has been working since before most of its staff were born, while its marketing team uses the newest online tools. A hospital may keep patient equipment in a building basement and also store reports in a cloud service. A factory may run machines on its own network and still book travel in a web app. All of these companies share one reality: their technology is a mixture of old and new, local and remote, built in-house and bought from others.

This mixture is called hybrid IT, and it creates a hard question. How do you let the right people into the right systems, in the same safe and simple way, when the systems are so different from one another? Okta is built to be an answer. It acts as a single front door that works for a decades-old server in a locked room and a brand-new cloud app alike. This guide explains, step by step and from zero, how that works: the building blocks, the paths a sign-in takes, the small programs that bridge the old world and the new, what can fail, how to keep it safe, and how to move forward without breaking what already works.

1What Hybrid IT Really Means

Before drawing any architecture, we need to be clear about the word “hybrid” and the problems it brings. Everything later in this guide is a response to these problems.

Old, new, near, and far

Think of the places where a company’s software can live. Some of it runs in the company’s own rooms, called on-premises or “on-prem”, meaning on machines the company owns and looks after. Some runs in huge shared data centers rented from cloud providers, a style called infrastructure as a service, where the company rents raw computers. A lot of software is simply rented as a finished product over the internet, known as software as a service, or SaaS, such as email, chat, or customer-tracking tools. A hybrid setup uses several of these at the same time.

Companies end up here for good reasons. Some systems are too old or too expensive to move. Some data must stay in a particular building or country because of rules or contracts. Some machines must sit next to physical equipment, like factory robots, where a slow internet link would be dangerous. And some teams simply bought what they needed over many years, one decision at a time. Hybrid is not a mistake. It is the normal result of a company living through time.

Everyday Analogy

Think of a city that has grown for two hundred years. It has ancient stone streets in the center, mid-century apartment blocks, and glass towers on the edge. Nobody would bulldoze the whole city to make it uniform. Instead, the city needs one transport system that works across every district. Hybrid IT is the city, and identity is its transport system.

The identity problem hybrid creates

Each kind of system often keeps its own list of users and passwords. The old file server trusts the company’s internal directory. The cloud tool has its own accounts. The partner website has yet another set. This leads to a familiar mess: people juggle many passwords, administrators create and remove accounts in a dozen places, and former employees may keep access somewhere that was forgotten. Every extra list of users is another place to make a mistake or to be attacked.

Many lists
Each system may keep its own users and passwords
Many styles
Old and new systems speak different sign-in languages
One goal
A single, consistent and safe way in

What a good hybrid identity design achieves

  • One identity per person that all systems rely on, so there is a single place to create, change, and remove access.
  • Consistent protection such as multi-factor checks, applied the same way to old and new systems.
  • A smooth experience where people sign in once and reach what they need without repeated passwords.
  • A safe path of change that lets the company move old systems to the cloud slowly, without a risky big bang.
  • Clear evidence of who accessed what and when, across the entire mixture.
i
Tip

When you plan a hybrid design, do not start with products. Start by listing your systems and sorting them into groups: modern cloud apps, older web apps, servers and network devices, and things that cannot be changed at all. The right tool for each group becomes much clearer.

2The Building Blocks of Okta

Okta is not one single gadget. It is a set of parts that work together. Knowing each part by name makes every later chapter easy to follow.

An identity provider

Okta is an identity provider, often shortened to IdP. This is a service that keeps track of who people are, checks their proof when they sign in, and then tells other applications, “Yes, I have checked this person, you may trust them.” The applications that rely on the identity provider are called service providers or simply apps. The whole idea of single sign-on, or SSO, is that a person proves who they are once to the identity provider and then reaches many apps without proving it again for each one.

Core

Universal Directory

Okta’s own central list of people and their details, such as name, job, department, and groups. It can combine information from several sources into one profile per person.

Core

Single Sign-On

The service that lets one sign-in open many apps, using standard languages that apps understand.

Core

Multi-Factor Authentication

The extra proof, such as a phone prompt or security key, that is asked for beyond the password.

Core

Lifecycle Management

The automatic creating, updating, and removing of accounts in other systems as people join, move, or leave.

Bridge

Agents

Small programs installed inside your own network that let Okta safely talk to on-premises systems such as Active Directory.

Bridge

Access Gateway

A component that places Okta’s sign-in in front of older web applications that cannot speak modern sign-in languages themselves.

Bridge

RADIUS and LDAP support

Ways for network equipment and older software, which use very old directory and sign-in methods, to rely on Okta.

Control

Policies

The rules that decide how strong the proof must be, from where, and on which devices, for each kind of access.

i
Good to Know

Okta renames and reorganizes products from time to time, and some features require particular licenses. This guide uses the common names of the building blocks. Before designing a real system, check the current Okta documentation and your own agreement for exact product names, limits, and availability.

How the blocks combine

In a typical hybrid design, the Universal Directory holds the profile of every person. Agents link it to the company’s existing on-premises directory. Single sign-on opens modern apps directly. The Access Gateway opens older web apps. RADIUS and LDAP support let network devices and old software ask Okta for decisions. Lifecycle management keeps accounts tidy everywhere. Policies and multi-factor checks sit on top, giving the same protection to all of it.

Everyday Analogy

Imagine a large conference center with many halls. The registration desk (Universal Directory) knows every guest. The badge printer (single sign-on) gives each guest one badge. The guards at the doors (policies) check the badge for the right hall. Some old halls have unusual doors that do not read modern badges, so a special adapter (the gateway) is fitted to them. The messengers who run between the desk and the old halls are the agents.

3The Big Picture: A Reference Architecture

Now we place the building blocks on one page. This picture is a common starting shape that real companies adapt to their own needs.

Four zones

It helps to divide the hybrid world into four zones. The identity zone is Okta itself, running as a cloud service. The corporate network zone holds the company’s own data center, its directory, and its older applications. The cloud platform zone holds rented computing environments from providers such as Amazon Web Services, Microsoft Azure, and Google Cloud. The SaaS zone holds finished online products. People reach all four from many places: offices, homes, and phones.

flowchart TD
    USER["Employees on laptops and phones"] --> OKTA["Okta: sign-in, MFA, policies, Universal Directory"]
    OKTA --> SAAS["SaaS apps: email, chat, CRM"]
    OKTA --> CLOUD["Cloud platforms: AWS, Azure, Google Cloud"]
    OKTA --> GW["Access Gateway in corporate network"]
    GW --> LEG["Legacy web applications"]
    OKTA --- AG["Okta agents in corporate network"]
    AG --- AD["Active Directory"]
    AG --- ONP["On-premises apps and provisioning targets"]
    OKTA --> NET["VPN and network devices via RADIUS"]
    
Fig 3.1 — A reference view of hybrid identity with Okta in the middle

Reading the picture

Notice what sits at the center: not a server, not a directory, but the decision point. People do not walk directly to each system and prove themselves again and again. They go to Okta, and Okta either passes them through to the right place or stops them. The systems on the right side of the picture become simpler, because they no longer have to run their own sign-in machinery.

Notice also the dotted-style lines labeled “agents”. Those lines always start from inside the company network and reach out to Okta, a detail we will explore soon, because it is the secret to why this design is acceptable to security teams.

Two directions of flow

There are two main kinds of traffic in this picture. The first is sign-in traffic: a person proves who they are and receives access. The second is identity data traffic: information about people moving between the company directory, Okta, and the apps, such as “a new person joined, create an account”. Beginners often mix these up, yet they have different speeds, different failure effects, and different security needs.

Traffic typeWhat it carriesWhen it happensEffect if it breaks
Sign-in trafficProof of identity and the decision to allow accessEvery time someone signs inPeople cannot reach apps right now
Identity data trafficUser details, group changes, account creation and removalOn a schedule or when changes happenAccounts become out of date, access may be wrong
Everyday Analogy

A school has two jobs at its front gate. One is checking each child as they arrive (sign-in). The other is keeping the class register up to date when children join or leave (identity data). If the gate check fails, children wait outside right away. If the register is wrong, the problem may stay hidden for weeks before a child is missed in a fire drill.

4Directories: Active Directory and the Universal Directory

For many companies the heart of hybrid is a directory that has served them for decades. Understanding it is the key to connecting Okta properly.

What Active Directory is

Active Directory, usually written AD, is Microsoft’s directory service for company networks. It stores users, groups, and computers, and it checks passwords for people who sign in to Windows machines and many internal applications. A group of linked AD servers forms a domain, and one or more domains can be arranged into a forest. The servers that answer sign-in questions are called domain controllers. Millions of organizations rely on AD, which is why connecting to it is the first big task in most hybrid projects.

What the Universal Directory adds

Okta’s Universal Directory is a cloud-based store of user profiles. Rather than replacing AD at once, it usually sits alongside it. Okta connects to AD through an agent and imports users and groups into the Universal Directory. Each person then has one Okta profile, which can also receive details from other places, such as the human resources system. This combined profile is what drives access to cloud and SaaS apps.

flowchart LR
    HR["HR system: hire, move, leave"] --> UD["Okta Universal Directory"]
    AD["Active Directory"] -- "import via agent" --> UD
    UD -- "push changes" --> AD
    UD --> APPS["Cloud and SaaS apps"]
    UD --> GRP["Groups and policies"]
    
Fig 4.1 — Profiles flow into the Universal Directory and out to apps

The idea of a source of truth

For every piece of information about a person, exactly one system should be the source of truth, the place where that fact is officially kept and changed. The HR system might own the job title and manager. AD might own the Windows username and group memberships used by on-premises apps. Okta might own the multi-factor settings. This is called profile mastering. When two systems both think they own the same fact and they disagree, strange bugs appear, such as a title that keeps flipping back and forth.

Choice

AD as master

Changes are made in AD and flow into Okta. Common at the start of a project, because AD is already trusted and run by existing teams.

Choice

HR as master

Hire, move, and leave events begin in the HR system and flow to Okta and AD. Often the cleanest long-term design.

Choice

Okta as master

Okta holds the official record for some attributes and pushes them out. Useful as AD is reduced over time.

Choice

Mixed by attribute

Different facts have different owners. Most real companies end here, with each attribute carefully assigned.

Imports and how fresh the data is

Data does not teleport. Okta pulls changes from AD through the agent on a schedule, and some kinds of changes can be picked up faster than others. A full import reads everything and takes longer. An incremental import reads only what changed and is faster. Because of this, a change made in AD may take a short while to appear in Okta. Good designs account for that delay, especially for urgent actions like removing a departing person’s access, where a separate fast path or a manual step may be used.

!
Watch Out

Do not assume that a change is instant everywhere. If your leaver process depends on a nightly import, a person who is dismissed in the afternoon may still have working access until the next day. For urgent cases, build a faster step, such as deactivating the account directly in Okta, and write the step into your runbook.

Everyday Analogy

Think of two address books, an old paper one at home and a new one on your phone. If you let both be edited freely, you will soon have different phone numbers for the same friend. The fix is to decide which book is the official one for each detail and copy changes in a single direction.

5How People Prove Who They Are in a Hybrid World

The same person may sign in from an office laptop on the company network, from a phone at home, or from a shared computer. Okta offers several paths, and the right one depends on where the password lives.

Where is the password checked?

In hybrid environments, a big design decision is where passwords are verified. There are two main choices, and both are common.

In the first, people keep a password in Active Directory, and Okta asks AD to check it. This is called delegated authentication. The person types their password into the Okta sign-in page, Okta passes the check to the agent in the corporate network, the agent asks a domain controller whether the password is right, and the answer comes back. The password itself is not stored in Okta in this model. The big advantage is that one password continues to work for both the Windows login and Okta, and existing AD password rules keep applying.

In the second, the password is stored and checked by Okta. This removes the dependency on the corporate network for the password step, and it fits companies that are reducing their use of AD. Okta can also be configured so that users move from one model to the other over time.

sequenceDiagram
    participant P as Person
    participant O as Okta
    participant A as Okta AD agent
    participant D as Domain controller
    P->>O: Enter username and password
    O->>A: Ask agent to verify password
    A->>D: Check password with Active Directory
    D-->>A: Valid or not valid
    A-->>O: Result
    O->>P: Ask for MFA if the policy requires it
    O-->>P: Access granted
    
Fig 5.1 — Delegated authentication: Okta asks AD, through an agent, to check the password

Desktop single sign-on

When a person is already signed in to their Windows computer on the company network, they have already proved who they are to AD. Desktop single sign-on lets Okta take advantage of that, using Windows’ own method called Kerberos or integrated Windows authentication, so the person is not asked to type a password again for Okta. Okta provides an agent component for this purpose. The result feels magical to users: they open a browser at the office and land inside their apps.

Multi-factor authentication on top

Whichever way the password is checked, multi-factor authentication, or MFA, adds a second proof. Examples are a prompt in the Okta Verify phone app, a code, a fingerprint, or a physical security key. Policies decide when to ask: perhaps never on a trusted office device for low-risk apps, but always for the finance system and always from unknown locations. Because MFA happens in Okta, it can protect both modern apps and, through the gateway and other bridges, older apps that could never do MFA on their own.

PathWhere password livesStrengthWatch for
Delegated to ADActive DirectoryOne password everywhere, AD rules keptNeeds working agents and a reachable domain controller
Stored in OktaOktaNot dependent on corporate network for this stepTwo password systems to align if Windows login still uses AD
Desktop SSONot typed; uses Windows loginSmoothest experience on the office networkOnly works on joined machines in the right network
PasswordlessNo password usedStrongest and simplest for usersNeeds compatible devices and a rollout plan
Everyday Analogy

Delegated authentication is like a hotel receptionist who phones head office to confirm a guest’s booking, rather than keeping a copy of every booking themselves. Desktop single sign-on is like walking through the staff entrance of your own workplace where the guard already knows your face. Passwordless is like a door that opens when it recognizes your key card and your fingerprint together.

6The Languages of Trust: SAML, OIDC, WS-Federation, SCIM

Systems need a shared language to say “I vouch for this person”. A few standard languages cover nearly all of it. Learn their jobs, not their details.

SAML

SAML, short for Security Assertion Markup Language, is an older but widely used standard for single sign-on in business apps. After Okta checks a person, it sends the app a signed message called an assertion that says who the person is and a few facts about them. The app trusts the message because it is signed with a key it knows Okta holds. SAML is common in older enterprise software, which makes it extremely important in hybrid setups.

OpenID Connect and OAuth 2.0

OpenID Connect, called OIDC, is a newer standard built on top of OAuth 2.0. It is friendly to modern web apps, mobile apps, and programming interfaces. It uses compact tokens instead of large messages, and it works well where apps run in browsers or on phones. Most new software chooses OIDC first.

WS-Federation

WS-Federation is another older standard, strongly tied to the Microsoft world. It still appears when connecting Okta to some Microsoft services and older on-premises applications. You may meet it in hybrid projects even though newer apps rarely use it.

SCIM

The first three languages are about sign-in. SCIM, the System for Cross-domain Identity Management, is about accounts. It is a standard way for Okta to tell an app, “create this user”, “change this user’s title”, or “remove this user”. It is the engine behind automatic provisioning, the creating and removing of accounts as people join and leave.

Sign-in

SAML

Signed messages for business apps. Very common and widely supported, especially in older enterprise software.

Sign-in

OIDC and OAuth 2.0

Compact tokens for modern web, mobile, and API use. The usual first choice for new applications.

Sign-in

WS-Federation

Older Microsoft-flavored standard still seen in some on-premises and Microsoft connections.

Accounts

SCIM

Standard for creating, updating, and removing user accounts in apps automatically.

When an app speaks none of them

Some applications, especially very old ones, speak none of these languages. They might check a password against a directory themselves, or read a special header in the web request, or use an old protocol. That is exactly where the bridges come in: the access gateway for web apps, RADIUS for network devices, LDAP for directory-style lookups, and password-vaulting methods as a last resort. The next chapters take these one at a time.

i
Tip

For every application on your list, write down which language it speaks. A simple column such as “SAML, OIDC, header-based, LDAP, none” quickly sorts hundreds of apps into easy, medium, and hard groups, and turns a scary project into a manageable plan.

Everyday Analogy

Think of travelers from different countries. Most carry a modern passport that any border officer can read (OIDC). Some carry an older style that every officer still recognizes (SAML). A few carry unusual documents that need a translator at a special desk (the bridges). SCIM is the airline’s list that says which passengers are booked on the flight.

7Agents: The Messengers Inside Your Network

Agents are the small programs that make hybrid possible. They are easy to overlook, yet they carry a huge amount of weight. Treat them as part of your core infrastructure.

What an agent is

An agent is a small program that you install on a server inside your own network. Its job is to be a trusted messenger between Okta in the cloud and a system in your building that Okta cannot reach directly, such as Active Directory. Okta provides different agents for different jobs: one for connecting to Active Directory, one for desktop single sign-on, one for network sign-in through RADIUS, and one for on-premises provisioning, among others.

The outbound-only trick

Here is the clever part. Security teams dislike opening holes in the company firewall that let the internet connect inward. Okta agents avoid that. The agent makes an outbound connection from inside your network to Okta, over the standard secure web port, and keeps it open. When Okta needs something, such as “check this password”, it sends the request down that already-open connection, and the agent answers. No inbound door was opened. The firewall only needs to allow the agent’s outgoing secure web traffic to Okta’s addresses, which your security team can control and monitor.

flowchart LR
    subgraph CORP["Corporate network"]
        AG["Okta agent server"]
        DC["Domain controller"]
        AG --- DC
    end
    subgraph CLOUD["Internet"]
        OK["Okta cloud service"]
    end
    AG -- "outbound secure connection on port 443" --> OK
    OK -. "requests travel back on the same connection" .-> AG
    
Fig 7.1 — The agent calls out; nothing needs to call in
Everyday Analogy

It is like a resident who phones the front desk and stays on the line, instead of leaving the front door unlocked for visitors. When the front desk has a question, it simply speaks into the open phone line. Nobody from outside ever needs to open the door.

Why you need more than one

A single agent is a single point of failure. If its server restarts for updates, crashes, or loses its network link, everything that depends on it stops, and that may include password checks for the whole company. Standard practice is to install at least two agents for each directory, on separate servers, ideally in separate locations, so one can take over when the other fails. Okta spreads requests across healthy agents and notices when one disappears.

flowchart TD
    OK["Okta cloud service"] --> A1["Agent 1: site A"]
    OK --> A2["Agent 2: site A"]
    OK --> A3["Agent 3: site B"]
    A1 --> DC1["Domain controller A"]
    A2 --> DC1
    A3 --> DC2["Domain controller B"]
    
Fig 7.2 — Several agents on separate servers and sites remove the single point of failure

Looking after agents

  • Place them well. Install each agent on a dedicated, domain-joined server that is not used for other jobs. Check Okta’s current guidance on whether an agent may share a machine with a domain controller, since recommendations favor separate servers.
  • Protect them. An agent server can reach your directory, so treat it as a highly sensitive machine, with limited administrators, patching, and monitoring.
  • Keep them updated. Okta releases new agent versions with fixes and improvements, and old versions eventually stop being supported. Stagger updates across agents so there is always one healthy agent online.
  • Watch their health. The Admin Console shows agent status. Alert when an agent becomes inactive, long before users notice.
  • Give them only the permissions they need. The account an agent uses in AD should have narrow rights, not a broad administrator role.
!
Watch Out

A very common failure is a single agent on a lightly managed server that nobody remembers. One day the server is rebuilt, or its password expires, or its disk fills up, and suddenly people cannot sign in. Keep an inventory of every agent, who owns it, and when it was last updated.

8Legacy Web Apps and the Access Gateway

The hardest applications to modernize are often the oldest ones. The Access Gateway is a way to bring them under Okta’s protection without rewriting them.

Why old apps are different

Modern apps happily accept a signed message from an identity provider. Many older web applications cannot. They were built when each application checked its own users, or relied on the internal network to decide who was trusted. Rewriting them may be impossible, because the vendor is gone, the source code is lost, or the cost is too high. Yet these applications often hold the most important business data, so leaving them with weak sign-in is risky.

The reverse proxy idea

The solution is a reverse proxy, a server that stands in front of an application and receives all visits on its behalf. The Okta Access Gateway is such a component. A person visits the application’s address and arrives first at the gateway. The gateway sends them to Okta to sign in, with full multi-factor checks and policies. After Okta approves, the gateway forwards the visit to the old application and adds whatever the old application needs to recognize the person. That may be a special header added to the request, a cookie, or a Kerberos ticket, depending on how the application was built.

sequenceDiagram
    participant P as Person
    participant G as Access Gateway
    participant O as Okta
    participant L as Legacy application
    P->>G: Open legacy application address
    G->>O: Redirect person to sign in
    O->>O: Check password, MFA, policy
    O-->>G: Signed confirmation of identity
    G->>L: Forward request with identity header or ticket
    L-->>G: Page response
    G-->>P: Show page
    
Fig 8.1 — The gateway lets a legacy app benefit from modern sign-in without changing the app

The ways a gateway can introduce identity

Method

Header-based

The gateway adds the person’s username in a request header. The app trusts the header because only the gateway can reach it.

Method

Kerberos-based

The gateway obtains a Windows-style ticket on the person’s behalf so Windows-integrated apps accept them.

Method

Cookie or form-based

The gateway signs the person in using the app’s own login page or cookie, behind the scenes.

Method

Path-based rules

The gateway can apply different rules to different parts of the same app, such as stronger checks for the admin area.

!
Watch Out

Header-based trust is only safe if the application cannot be reached any other way. If someone can talk to the old app directly and fake the header, they can pretend to be anyone. Make sure network rules allow only the gateway to reach the application.

Strengths and limits

Strengths

  • Adds modern sign-in and MFA to apps that could never do it
  • No change to the old application’s code
  • One place to apply policy and see access logs
  • Allows retirement of weak local passwords

Limits

  • The gateway itself becomes a critical component to run and protect
  • Every app needs careful setup and testing
  • Very unusual applications may still not fit
  • It adds one more hop and one more thing to monitor
Everyday Analogy

Imagine a historic building with a fragile old wooden door. You cannot replace the door, because it is protected heritage. So you build a modern security lobby in front of it. Visitors are checked in the lobby, and only approved visitors are led to the old door. The door stays the same, but the building is far safer.

Example: an old claims system

An insurance company runs a claims web application written many years ago that only checks a local password. The company places the access gateway in front of it. Staff now sign in through Okta with multi-factor checks, and the old password is retired. The claims team sees almost no change, but security gains a full record of who opened the system.

9Network Access: VPN, RADIUS, and LDAP

Not everything is a website. Network devices, remote-access gateways, and older software ask for identity in older ways. Okta can answer them too.

VPN and the RADIUS protocol

A VPN, or virtual private network, lets someone outside the office connect securely into the company network. Many VPN servers, wireless network controllers, and firewalls ask for identity using an old protocol called RADIUS. Okta provides a RADIUS server agent that you install in your network. The VPN server sends its sign-in questions to this agent, the agent asks Okta, and Okta applies its usual checks, including multi-factor authentication. This lets you add modern MFA to a VPN that was never designed for it.

sequenceDiagram
    participant P as Remote person
    participant V as VPN server
    participant R as Okta RADIUS agent
    participant O as Okta
    P->>V: Connect and enter credentials
    V->>R: RADIUS request
    R->>O: Ask Okta to verify
    O->>O: Check password and MFA policy
    O-->>R: Accept or reject
    R-->>V: RADIUS answer
    V-->>P: Connection allowed or denied
    
Fig 9.1 — Okta adds modern checks to a VPN through the RADIUS agent

The limits of old protocols

RADIUS was designed long before phone prompts and security keys existed, so it can only carry certain types of extra proof in a clumsy way. A push notification to a phone often works well. Some modern methods, such as phishing-resistant security keys, may not fit through an older VPN path. Check which methods your VPN and the Okta RADIUS agent support, and plan for a day when the VPN itself is replaced with a more modern access approach.

LDAP: the directory-style lookup

LDAP, the Lightweight Directory Access Protocol, is an old and very common way for software to ask a directory questions such as “does this user exist and is this password right?” Many older tools, such as printers, build systems, and internal applications, use LDAP. Okta offers an LDAP Interface that lets such software treat Okta like a directory. Instead of keeping a separate directory server only for these tools, you can point them at Okta and gain its policies and MFA.

NeedTypical old methodOkta bridge
Remote access to the networkVPN checking identity with RADIUSOkta RADIUS server agent
Wireless network loginRADIUS with passwords or certificatesRADIUS agent where suitable
Software asking a directory for usersLDAP queries to a directory serverOkta LDAP Interface
Web app with its own loginLocal passwordsAccess Gateway or modern SSO
i
Tip

Treat these old-protocol bridges as stepping stones, not destinations. They protect what exists today and buy you time. Record which systems depend on RADIUS and LDAP so you can plan their eventual replacement with newer, stronger methods.

Everyday Analogy

It is like keeping a translator at the embassy for visitors who speak an old dialect. The translator makes sure those visitors are still understood, even though almost everybody else speaks the modern language. You keep the translator as long as the old visitors keep coming, and you quietly encourage them to learn the new language.

10Provisioning to On-Premises Applications

Signing in is only half of the story. Accounts must also be created and removed, and for on-premises apps that needs its own bridge.

What provisioning is

Provisioning is the automatic creation, updating, and removal of user accounts in applications. When a new employee is hired, provisioning creates their accounts in every app they need. When they change roles, access is adjusted. When they leave, their accounts are disabled. Doing this by hand is slow and error-prone. Doing it automatically is a core promise of an identity system.

The on-premises challenge

For cloud apps, Okta talks to the app over the internet using a standard such as SCIM. For on-premises apps, the app sits inside the company network, where Okta cannot reach it directly. Once again an agent solves the problem. The on-premises provisioning agent receives account instructions from Okta over an outbound connection and passes them to a local connector that knows how to create accounts in the on-premises system, often through a SCIM interface or a database, depending on the application.

flowchart LR
    O["Okta lifecycle engine"] -- "outbound connection" --- PA["On-premises provisioning agent"]
    PA --> C["Connector"]
    C --> APP["On-premises application"]
    C --> DB["Application database or directory"]
    
Fig 10.1 — Account instructions reach on-premises apps through an agent and connector

The joiner, mover, leaver cycle

1

Joiner

A new hire is entered in the HR system. Okta creates their profile and, based on their job, creates accounts in the right apps, including on-premises ones.

2

Mover

The person changes department. Group memberships change, new access is granted, and old access that is no longer needed is removed.

3

Leaver

The person leaves. Their Okta account is deactivated, which triggers disabling of accounts in connected apps and revokes active sessions.

Keeping the data consistent

Provisioning depends on good data. If the HR system has the wrong department, the wrong group will be assigned. Many hybrid problems that look like “Okta bugs” are really data quality problems. Before turning on automation, check the quality of the attributes that rules depend on, such as department, location, and employment status.

!
Watch Out

Be careful with automatic deletion. Start by deactivating accounts in on-premises apps rather than deleting them, and keep a recovery window. An accidental mass removal caused by bad source data is far easier to fix if accounts were disabled and not erased.

Everyday Analogy

Provisioning is like the staff at a gym who add members to the access system when they join, update their pass when they upgrade, and cancel the pass when they leave. If the staff only did this by hand when they remembered, old members would still walk in months later.

11Servers, Infrastructure, and Privileged Access

The most powerful accounts in a company are not those used to read email. They are those used to log in to servers and change infrastructure. Hybrid identity must cover them too.

Why server access is special

System administrators connect to servers using protocols like SSH on Linux or remote desktop on Windows. In older setups, each server has local accounts, shared passwords, or long-lived keys copied between machines. This is difficult to control and nearly impossible to audit properly. When someone leaves, their key may still sit on dozens of servers. In hybrid environments, servers live in the data center, in cloud accounts, and sometimes in both, making the problem larger.

Bringing identity to servers

Okta offers privileged access capabilities, which have previously been marketed under the name Advanced Server Access and have since been repositioned under newer privileged access offerings. The exact product naming changes, so verify it in the current documentation. The idea stays the same. Instead of permanent keys and shared passwords, an administrator signs in through Okta, passes multi-factor checks, and receives short-lived credentials valid only for a brief period and only for the servers their role allows. When time is up, the credentials expire on their own, and a record shows who connected to what.

Benefit

No long-lived keys

Credentials expire quickly, so a stolen one is useful for only a short time.

Benefit

Access follows groups

Joining or leaving an administrator group grants or removes server access everywhere at once.

Benefit

Full audit trail

Each connection is tied to a named person, not to a shared account.

Benefit

Works across locations

The same approach covers data-center servers and cloud virtual machines.

flowchart TD
    ADM["Administrator"] --> OK["Sign in to Okta with MFA"]
    OK --> POL{"Is the person in an allowed group?"}
    POL -- "No" --> DEN["Denied"]
    POL -- "Yes" --> CRED["Short-lived credential issued"]
    CRED --> SRV["Server in data center or cloud"]
    SRV --> LOG["Session recorded and audited"]
    CRED --> EXP["Credential expires automatically"]
    
Fig 11.1 — Administrators receive short-lived, group-based access to servers
Everyday Analogy

Think of the difference between handing a contractor a permanent copy of your house key and giving them a hotel-style key card that works for only today and only for the rooms they need. If the card is lost, it stops working by itself, and the record shows who used it.

i
Tip

Start with your most powerful and most exposed servers, such as domain controllers, jump hosts, and database servers. Even if you cannot cover everything on day one, protecting the machines that could cause the largest damage gives the biggest early benefit.

12Federating Cloud Platforms: AWS, Azure, Google Cloud

When a company rents computing power from cloud providers, the people who manage those environments hold great power. Okta can be the single door to all of them.

The problem with cloud accounts

Each cloud provider has its own way of creating users and controlling their power. If administrators have separate cloud usernames and passwords, they multiply quickly across accounts, projects, and subscriptions. Departed employees can leave behind live accounts that nobody remembers. Federation avoids this by letting Okta vouch for the person, so the cloud provider has no separate password to guard.

How federation works in outline

Okta is set up as the trusted identity provider for the cloud account. A person signs in to Okta, then chooses the cloud platform tile. Okta sends a signed assertion, using SAML or OIDC, saying who the person is and which groups they belong to. The cloud platform reads the groups and maps them to roles, the sets of permissions it understands. A person in the “Cloud-Admins” group in Okta receives the matching administrator role in the cloud. The role is typically assumed temporarily, which makes access time-limited.

flowchart LR
    P["Cloud engineer"] --> O["Okta sign-in with MFA"]
    O --> A["Signed assertion with group names"]
    A --> C["Cloud platform trust configuration"]
    C --> M["Map groups to roles"]
    M --> R["Temporary role session"]
    
Fig 12.1 — Okta groups become temporary cloud roles through federation

Design choices that matter

  • Groups drive roles. Manage who has power by changing group membership in Okta, never by editing the cloud account by hand.
  • Separate by environment. Use different groups for production and for testing, so a developer does not accidentally receive production power.
  • Least privilege. Prefer narrow roles for daily work and keep powerful roles for rare occasions, with stronger checks.
  • Plan for the escape hatch. Cloud accounts need a protected emergency path in case the identity provider is unreachable, with a locked-away credential and strict alerting on any use.
  • Machines are identities too. Programs that run in the cloud need their own safe credentials, which are separate from people’s sign-in.
!
Watch Out

Do not let federation hide old local users. Many cloud accounts keep original administrator users with passwords from the day the account was opened. After federation works, find and remove or lock down these old direct users, and protect the emergency account with extreme care.

QuestionDirect cloud usersFederated through Okta
Who creates the account?A cloud administrator, by handCreated automatically through group membership
How is MFA applied?Set up separately in each cloudApplied once, in Okta, for all clouds
What happens when someone leaves?Must be found and removed in every cloudRemoving from Okta ends access everywhere
How long does power last?Often permanentOften a temporary session
Audit trailSpread across many placesCentral sign-in record plus cloud logs

Example: a multi-cloud company

A retail company in the style of Walmart might run workloads in more than one cloud provider alongside its own data centers. By routing every cloud engineer through Okta, a single group change in the morning gives a new engineer the right roles in every cloud and every data center, and a single removal at the end of their employment takes them all away.

13Living with Microsoft: Entra ID, Microsoft 365, and Windows

Most hybrid companies run Microsoft products somewhere. Understanding how Okta and Microsoft’s identity services share the stage prevents the most common confusion.

Two identity worlds

Microsoft’s cloud identity service is called Microsoft Entra ID, which was formerly known as Azure Active Directory. It stands behind Microsoft 365, the family that includes Outlook, Teams, and SharePoint. Many companies also still use on-premises Active Directory. So a company may already have two Microsoft identity systems, the old one in the building and the cloud one, linked by synchronization. Adding Okta creates a third element. The question is how they should relate.

Common ways to combine them

Pattern A

Okta as the front door to Microsoft 365

People sign in to Okta, and Microsoft 365 trusts Okta through federation. Okta handles passwords and MFA, and Microsoft services simply accept the result.

Pattern B

Entra as the main identity provider, Okta for other apps

Microsoft remains the primary sign-in for its own ecosystem, and Okta is used for the large non-Microsoft application estate.

Pattern C

Both side by side with clear boundaries

Each system handles the applications it manages best, with careful rules so people do not meet two different sign-in experiences in a confusing way.

Pattern D

Gradual shift

The company starts in one pattern and moves toward another over many months, one group of users at a time.

flowchart TD
    P["Person"] --> OK["Okta sign-in and MFA"]
    OK --> M365["Microsoft 365 through federation"]
    OK --> OTHER["Non-Microsoft apps"]
    AD["On-premises Active Directory"] -- "agent import" --> OK
    AD -- "sync" --> ENTRA["Microsoft Entra ID"]
    ENTRA --> M365
    
Fig 13.1 — One common arrangement: Okta federated in front of Microsoft 365

Important points to plan

  • One policy owner. Decide which system holds the final say on conditions for each application. Two systems both trying to enforce rules can produce loops, double prompts, or gaps.
  • Device trust across both. Windows computers joined to the company directory behave differently from personal devices. Test each device type with each pattern.
  • Hybrid-joined devices. Many companies have computers joined to both on-premises AD and Entra. Okta’s device and desktop features need to be tested against that setup.
  • Break-glass accounts. If Microsoft 365 trusts Okta, then an Okta outage can affect access to email. Microsoft administrators need emergency accounts that do not rely on Okta.
  • Licensing and roles. Check which features each vendor’s licenses include before designing around them, since offerings overlap and change.
!
Watch Out

The details of Microsoft federation settings change over time, and a wrong setting can lock out an entire company from email. Always read the current vendor documentation, rehearse in a test tenant, and keep a Microsoft-only emergency administrator account that you have tested recently.

Everyday Analogy

Two banks in the same town can both issue cards. If your employer says “everyone uses the card from Bank A for company expenses”, life is simple. If half the shops only take Bank B and the other half only Bank A, people get confused and stranded. The point is not which bank is better; it is that the company needs one clear rule for which card is used where.

14Devices and Endpoints: Knowing What Is Knocking

A password proves what a person knows. It says little about the machine in front of them. In a hybrid world, the health of the device matters just as much.

Why devices matter

Two sign-ins using the same correct password can have very different risk. One comes from a company laptop that is encrypted, patched, and managed. The other comes from an unknown computer in a café that may carry malware. If your policy cannot tell them apart, you must either trust both or distrust both. Device awareness lets policy trust the first more than the second.

Okta Verify and device signals

Okta Verify is Okta’s application for phones and computers. It can deliver push prompts for multi-factor checks, and when installed on a computer it can also act as a signal about the device. Combined with device management tools, it helps Okta recognize registered or managed devices. Device assurance policies then describe what a healthy device looks like, such as a minimum operating system version, a screen lock, or disk encryption, and sign-in rules can require a device to meet that description for sensitive apps.

flowchart TD
    S["Sign-in attempt"] --> D{"Device known and managed?"}
    D -- "Yes" --> H{"Device meets health requirements?"}
    D -- "No" --> UN["Limited access or extra proof"]
    H -- "Yes" --> OK["Normal access"]
    H -- "No" --> FIX["Block sensitive apps and show how to fix"]
    
Fig 14.1 — Device state changes how much trust a sign-in receives

Protecting the computer login itself

Okta also offers features that bring multi-factor authentication to the moment a person signs in to their Windows or Mac computer, a capability often called desktop MFA or device access. This matters in hybrid settings because the computer login is the front door to everything on the local network. Adding a second factor there closes a gap that web-only protections leave open. These features have conditions, such as how they behave when the computer is offline, so test the offline experience carefully before rolling them out widely.

Managed and unmanaged devices

Device typeWhat you know about itTypical policy
Company-managed, healthyRegistered, encrypted, patchedSmooth access with fewer prompts
Company-managed, unhealthyRegistered but out of dateBlock sensitive apps until fixed
Personal device, registeredEnrolled with limited checksAccess to lower-risk apps with MFA
Unknown deviceNothing knownStrong MFA, restricted apps, shorter sessions
Shared kioskUsed by many peopleShort sessions and careful scoping
Everyday Analogy

A guard checks not only your ID but also whether your car has a valid parking permit before letting it into the secure garage. A correct ID in a car that looks stolen still gets stopped. Device checks are the parking permit check for sign-ins.

i
Tip

Roll out device rules in “observe” mode first. See how many real sign-ins would fail the requirements before you enforce anything. You will often find that a large share of devices are only slightly behind on updates, and a short grace period avoids a flood of support calls.

15Zero Trust in a Hybrid Environment

“Zero Trust” is a popular phrase with a simple heart. In a hybrid environment it changes how you think about the old network boundary.

The old castle model

Traditional security worked like a castle with a moat. Anyone inside the company network was trusted, and anyone outside was not. Firewalls guarded the walls. This worked while all people and systems sat inside one building. Today staff work from homes, systems live in clouds, and attackers who get past the wall by stealing a password can roam freely inside. The wall no longer matches the reality.

The Zero Trust idea

Zero Trust says that being inside the network earns no automatic trust. Every request must show who is asking, whether their device is healthy, and what they are trying to reach, and each request is checked against policy. Access is limited to what is needed. Decisions are based on identity and context, not location. Okta supports this by acting as the policy decision point for who gets in, with what proof, on which devices.

Principle

Verify explicitly

Check identity, device, location, and risk signals for each access, not only once at the start of the day.

Principle

Least privilege

Give each person and each program only the access needed for their task, for the time needed.

Principle

Assume breach

Design as if an attacker might already be inside, limiting how far they can travel and making their steps visible.

Principle

Protect every path

Cover web apps, servers, VPN, and network access with the same identity checks, not only the new apps.

What hybrid adds to the challenge

Zero Trust is easy to draw on a slide when everything is in the cloud. Hybrid makes it harder because some systems physically cannot take part in modern checks. The gateway, the RADIUS agent, the LDAP interface, and short-lived server credentials are the practical tools for pushing Zero Trust ideas into those places. The aim is not perfection on day one but steady removal of “trusted because of the network” exceptions.

flowchart LR
    REQ["Access request"] --> PDP["Okta policy decision: identity, device, context"]
    PDP -- "Allow with conditions" --> RES["Resource: app, server, network"]
    PDP -- "Step up proof" --> MFA["Extra verification"]
    MFA --> PDP
    PDP -- "Deny" --> BLK["Blocked and logged"]
    RES --> LOG["Activity logged for review"]
    
Fig 15.1 — Every request is judged on identity and context, not on network location
Everyday Analogy

Think of a modern office building where you badge in at the lobby, again at the elevator, again at your floor, and again at the server room, with each door granting only what you need. Compare that with an old building where the front door was the only lock and everyone inside could wander anywhere. Zero Trust is the modern building.

i
Good to Know

Zero Trust is a direction, not a product you buy. No single tool, including Okta, makes a company “Zero Trust”. It is achieved by many small steps across identity, devices, networks, and data, and measured by how little blind trust remains.

16Lifecycle and Governance Across Both Worlds

Giving people access is easy. Taking it away at the right time, and proving that you did, is where many hybrid companies struggle.

The dangers of drift

In a hybrid company, access is granted in many places: groups in AD, roles in cloud accounts, accounts in SaaS tools, local users on old servers. Over time people change jobs and projects end, but the access stays. This build-up of unneeded access is called privilege creep, and it is one of the most common causes of serious breaches and failed audits.

Making Okta the control point

The best defense is to route as much access as possible through groups and rules managed in one place. When access is driven by group membership, and group membership is driven by facts such as department and job title from the HR system, then a job change automatically adjusts access everywhere. Okta’s lifecycle tools and governance features, which include access requests and periodic access reviews in its identity governance offerings, add human checkpoints: managers confirm that access is still needed, and anything not confirmed is removed.

1

Define roles by job

Describe the access a typical person in each job needs, in terms of groups, so access is predictable.

2

Drive groups from HR facts

Let department, location, and employment status decide group membership automatically.

3

Request and approve extras

For access beyond the standard role, use a request with a reason and an approver, and set an end date where possible.

4

Review on a schedule

Managers and application owners periodically confirm who still needs what. Unconfirmed access is removed.

5

Remove promptly at exit

When someone leaves, deactivation in Okta ends access to connected systems and revokes sessions.

The orphans that hide

Some accounts never appear in the central picture: a local user created by hand on a server, a shared password for a legacy tool, a service account nobody owns. These orphan accounts are favorite targets for attackers because nobody is watching them. A hybrid governance project should include a hunt for these hidden accounts, assign owners, and either bring them under Okta’s control or remove them.

!
Watch Out

Service accounts, the non-human accounts that programs use, are a blind spot in many hybrid companies. They often have powerful access, never change their passwords, and have no clear owner. List them, name an owner for each, and set a regular rotation and review.

Everyday Analogy

Think of a school’s key cupboard. If keys are signed out and back in through a clear register, the school always knows who holds what. If keys are copied and passed around informally, nobody knows how many exist. Lifecycle governance is the key register for access.

17Securing the Identity Infrastructure Itself

Identity systems are the master keys of the company. Attackers aim for them first. A hybrid design must protect not just the apps but every piece of the identity machinery.

The crown jewels

Think about what an attacker would love to control: the Okta administrator accounts, the Active Directory domain controllers, the servers running Okta agents, the gateway, the signing keys used for federation, and the credentials of the accounts that connect these pieces. Control of any of them can mean control of everything behind them. They deserve the highest level of care in the company.

Protect

Admin accounts

Use phishing-resistant MFA, separate admin identities, narrow roles, and a very small number of top-level administrators.

Protect

Agent and gateway servers

Harden, patch, limit logins, and monitor them like domain controllers. Keep other software off them.

Protect

Service accounts

Give agents narrow rights, long unique secrets stored in a vault, and a rotation plan.

Protect

Signing certificates and keys

Track expiry dates, rotate on a plan, and restrict who can read or replace them.

Protect

API tokens

Create them under service identities with minimal permissions, store them in a vault, and delete unused ones.

Protect

Emergency accounts

Keep a tested break-glass account for Okta and one for each critical platform, alert on every use.

Certificates deserve their own warning

Federation between systems depends on certificates, digital files that prove a message really came from the right sender. Certificates expire. When the certificate that signs a sign-in message runs out on a quiet Sunday, every sign-in to that application can fail at once, and the cause is often found only after hours of confusion. Keep a list of every certificate with its owner and expiry date, add reminders weeks ahead, and practice the replacement steps so they are routine.

Stay aware of how attackers actually behave

Real attackers often skip clever hacking and instead trick people. They phone help desks pretending to be locked-out staff, flood users with approval prompts hoping someone taps yes, or steal browser sessions. Good hybrid design therefore includes phishing-resistant methods for the most sensitive people, strict identity checks for password and factor resets, and monitoring for unusual sign-in patterns. Okta publishes security guidance and advisories, and administrators should follow them and apply recommended hardening steps promptly.

i
Tip

Draw a simple map of “who can change identity infrastructure”: every person and every account that can alter Okta settings, agent servers, directory settings, or gateway rules. If the list surprises you, you have found your first hardening task.

Everyday Analogy

A castle’s treasure is protected by many guards, but the keys to the treasury, the blueprint of the walls, and the guards’ roster are even more valuable than the treasure itself. In a hybrid design, the identity system holds those keys, blueprints, and rosters, so it must be guarded accordingly.

18High Availability and Reliability

When the identity system sits in front of everything, its availability becomes the availability of the whole company. Plan for failure at every layer.

The chain and its weakest link

A sign-in in a hybrid company travels a chain: the person’s device, the internet, Okta’s service, the agent, the corporate network, the domain controller, and finally the application. If any link fails, the sign-in fails. Reliability work is therefore the work of finding every link, asking what happens when it breaks, and strengthening the weakest ones.

flowchart LR
    DEV["Device"] --> NET["Internet"]
    NET --> OKTA["Okta service"]
    OKTA --> AGT["Agents"]
    AGT --> LAN["Corporate network"]
    LAN --> DC["Domain controllers"]
    OKTA --> APP["Application"]
    
Fig 18.1 — Every link in the sign-in chain is a place something can fail

Strengthening each link

LinkTypical failureProtection
AgentsServer down, update gone wrongSeveral agents on separate servers and sites; staggered updates
Domain controllersOne controller unavailableMultiple controllers per site; agents able to reach more than one
Corporate network linkInternet or firewall problem at one siteRedundant links; agents at more than one site
Access gatewayNode failureRun in a cluster with a load balancer
RADIUS agentServer unreachable by VPNRedundant agents; VPN configured with a secondary server
Okta service itselfRare service disruptionEmergency access paths; knowledge of Okta’s status updates; communication plan
CertificatesExpiryInventory, reminders, rehearsed rotation

What if Okta itself is unavailable?

Okta publishes a service level agreement and a public status page showing service health, and it runs its platform with significant redundancy. Still, no cloud service is immune from problems, and your own design should answer an uncomfortable question: what happens to our company if people cannot sign in through Okta for an hour? Answers vary by system. People who already have active sessions may continue working for a while. Some applications may offer a local emergency login. Computers may let already-known users sign in using cached credentials. Administrators need emergency accounts that work without Okta. The point is to know the answer in advance, write it in a runbook, and test the emergency paths.

!
Watch Out

Emergency paths are a trade-off. Every backdoor that works without Okta is also a possible weak spot for attackers. Keep them few, strongly protected, tightly monitored, and documented, and review them regularly so they do not slowly become permanent shortcuts.

Geography and disaster planning

If a whole data center is lost to fire, flood, or power failure, can people still sign in to cloud apps? If your only agents live in that data center, the answer may be no, even though the apps themselves are fine in the cloud. Place agents and gateways in more than one site, and include identity services in your disaster recovery exercises, not only business applications.

Everyday Analogy

A city’s water supply has several pumping stations, several pipes, and a reserve tank. It is not that anyone expects them all to fail; it is that nobody wants the whole city thirsty because one pump broke. Redundant agents, controllers, and gateways are the extra pumps and the reserve tank for sign-in.

19Failure Scenarios and Recovery

Walking through failures on paper is far cheaper than discovering them live. Here are the scenarios that hybrid teams meet most often, with what people see and what to do.

Scenario 1: every agent for a directory goes offline

People using delegated authentication can no longer have their passwords checked, so they cannot sign in to Okta. People with active sessions may keep working until those sessions end. The Admin Console shows agents as inactive. Recovery means restoring at least one agent: check the server, the network path to Okta, and the service status. If this is a recurring risk, add agents in another site. Meanwhile, consider whether a documented emergency method, such as temporary password reset to Okta-managed passwords for critical staff, is acceptable under your policy.

Scenario 2: domain controllers are slow or unreachable

The agent is running but its questions to AD time out. Sign-ins become slow and some fail. Imports also stall. Check domain controller health, network latency between the agent and the controllers, and whether the agent is configured to reach more than one controller. The fix is often better placement of agents close to healthy controllers.

Scenario 3: a federation certificate expires

Sign-in to one application suddenly fails for everyone, often with a message about invalid signatures. Rotate the certificate in Okta and upload the new one to the application, in the right order to avoid a gap, and follow the application’s instructions about overlap. Prevent this with an inventory and early reminders.

Scenario 4: provisioning token or connection expires

New hires do not get accounts in a connected app, but sign-in is not affected. Often the problem is only noticed when someone complains, which may be days later. Monitor provisioning errors and alert on them, and track the expiry of any tokens used by connections.

Scenario 5: a network or firewall change blocks the agents

A well-meaning change tightens outbound rules, and agents suddenly cannot reach Okta. This looks like Scenario 1, but the servers are fine. Keep a documented list of the addresses and ports agents need, and make firewall teams aware that these flows are business critical.

What users seeProbable causeFirst checks
Cannot sign in; AD users onlyAgents offline or cannot reach controllersAgent status, server health, outbound network path
Slow sign-inOverloaded or distant domain controllersLatency, agent location, controller health
One application fails for allExpired certificate or changed configurationCertificate dates, recent changes to the app setup
Legacy app shows an error after sign-inGateway misconfiguration or header mismatchGateway logs, rule for that app, network path to the app
VPN rejects everyoneRADIUS agent unreachable or shared secret mismatchAgent status, VPN logs, secret and port settings
New hires missing accountsProvisioning errors or stale dataProvisioning task errors, attribute values in HR source
Everyone locked out of Okta adminPolicy change or sign-in method failureBreak-glass account, recent policy edits
flowchart TD
    I["Incident: sign-in failing"] --> Q1{"Only AD-backed users?"}
    Q1 -- "Yes" --> A1["Check agents and domain controllers"]
    Q1 -- "No" --> Q2{"Only one application?"}
    Q2 -- "Yes" --> A2["Check app config, certificate, gateway"]
    Q2 -- "No" --> Q3{"All users and apps?"}
    Q3 -- "Yes" --> A3["Check Okta status, policies, network to Okta"]
    A1 --> FIX["Fix, verify with a test user, record lesson"]
    A2 --> FIX
    A3 --> FIX
    
Fig 19.1 — A simple triage tree narrows a sign-in incident quickly
i
Tip

Run a “game day” at least once a year. Switch off one agent, or pretend a certificate has expired, in a safe window, and see how long it takes the team to notice and recover. The lessons from a rehearsed failure cost far less than those from a surprise one.

Everyday Analogy

A fire drill is annoying, yet it teaches people where the exits are while nobody is panicking. Failure rehearsals do the same for identity: when the real alarm sounds, the team already knows which door to run to.

20Performance and Scale

A design that works for two hundred people may feel slow at twenty thousand. Scale tests the weak points of a hybrid system in specific ways.

Where time is spent

A sign-in is only as fast as its slowest step. Typically the heavy parts are the trip between Okta and the agent, the agent’s questions to the domain controller, any extra MFA step where a human must tap their phone, and the final redirect back to the application. People notice delay most at the busiest moments, such as nine o’clock on a Monday morning, when a whole building signs in within minutes.

Peak loads to plan for

Peak

Morning rush

Large numbers of sign-ins in a short window. Make sure agents and domain controllers have headroom for that spike, not only for the daily average.

Peak

Mass password expiry

If many passwords expire together, resets and recovery requests spike. Stagger expiry or move away from forced expiry.

Peak

Large imports

A full directory import of hundreds of thousands of objects takes time and load. Schedule it away from busy hours and prefer incremental imports.

Peak

Bulk changes

A reorganization or merger can change thousands of profiles at once, causing a surge of provisioning work.

Practical ways to keep things fast

  • Place agents near controllers. A short, fast network path between the agent and a healthy domain controller cuts delay on every password check.
  • Add agents for capacity. More agents spread load and provide protection against failure at the same time.
  • Scope imports. Import only the organizational units and groups you truly need, not the entire directory by default.
  • Tidy the directory. Stale accounts, nested groups, and thousands of unused objects slow imports and confuse access rules.
  • Mind rate limits. Okta applies limits to the number of API requests, so automation that makes huge numbers of calls should be paced and designed to handle “slow down” responses politely.
  • Test with realistic volumes. A pilot of fifty users says little about behavior at fifty thousand. Run load tests or staged rollouts to learn the real curve.
!
Watch Out

Group design affects speed and clarity. Deeply nested groups, where groups contain groups contain groups, are slow to evaluate and very hard to reason about. Prefer flatter groups with clear purposes and clear owners.

Everyday Analogy

A supermarket sized for a quiet Tuesday collapses on the Saturday before a holiday unless it has extra checkout lanes ready. Capacity planning is deciding how many lanes to open at the busiest hour, not at the average hour.

21Monitoring, Logging, and Metrics

A hybrid system has many moving parts spread over many places. You cannot manage what you cannot see, so decide early what to watch and where to look.

Three sources of truth

Visibility comes from three places. First, the Okta System Log, which records sign-ins, policy decisions, administrator actions, and provisioning events. Second, the agent and gateway health information, shown in the Admin Console and in the logs on the servers themselves. Third, the logs of the connected systems, such as domain controllers, firewalls, VPN servers, and cloud platforms. The most valuable insights come from combining all three, which is why many companies stream Okta’s logs into a central security monitoring platform.

flowchart LR
    OL["Okta System Log"] --> SIEM["Central monitoring platform"]
    AL["Agent and gateway logs"] --> SIEM
    DL["Domain controller logs"] --> SIEM
    NL["VPN and firewall logs"] --> SIEM
    CL["Cloud platform logs"] --> SIEM
    SIEM --> DASH["Dashboards"]
    SIEM --> ALR["Alerts to on-call team"]
    
Fig 21.1 — Combining logs from every layer gives the full picture

Metrics worth tracking

Health
Agent status, gateway status, certificate days to expiry
Experience
Sign-in success rate, time to complete, MFA completion rate
Risk
Failed sign-ins, unusual locations, admin changes, break-glass use

Alerts that earn their keep

  • An agent becomes inactive or the number of healthy agents drops below two.
  • A certificate is within a set number of weeks of expiring.
  • Provisioning errors rise above normal, or an import fails.
  • A sharp rise in failed sign-ins for one application or one directory.
  • Any change to administrator roles, policies, or federation settings.
  • Any use of an emergency account.
  • Many MFA push prompts sent to one user in a short time, which can signal an attack trying to wear someone down.

Make reports for people, not just machines

Auditors, managers, and leaders need clear summaries, not raw log lines. Prepare regular reports such as “who has administrator power”, “which applications have no MFA”, “accounts not used for ninety days”, and “access reviews completed on time”. These reports show that controls are real, and they find the cleanup tasks that keep the environment healthy.

i
Tip

Okta keeps log events for a limited time that depends on your plan. If you need to investigate something from months ago, or must keep logs for compliance, stream them to a long-term store before you need them.

Everyday Analogy

Think of a hospital ward. Nurses watch each patient’s heart rate and temperature, the ward display shows everyone at a glance, and an alarm sounds if a number goes outside its safe range. Monitoring a hybrid identity system is the same: gauges for each part, one screen for the whole ward, and alarms for danger.

22Migration Strategy: Moving Forward Without Breaking Things

Almost nobody builds this on an empty site. The real art is changing a running system a piece at a time while the company keeps working.

Do not do a big bang

A “big bang” migration changes everything at a single moment. It is tempting because it promises a clear finish line, yet it concentrates all the risk into one day. If anything unexpected happens, thousands of people are affected at once and rolling back may be impossible. Experienced teams avoid it. They move in small, reversible steps.

The strangler approach

A well-known pattern, called the strangler pattern, is named for a vine that slowly grows around a tree until it replaces it. You put the new identity layer in front of the old one, move one application or group of users at a time to the new path, and keep the old path working in the meantime. Over months, less and less traffic uses the old way, until it can safely be turned off.

1

Discover

List all applications, directories, and sign-in methods, including hidden ones. Sort apps by sign-in language and by importance.

2

Connect the foundation

Install redundant agents, connect the directory, and clean up data. Prove that sign-in and import work for a small pilot.

3

Move the easy apps

Start with modern cloud apps that speak SAML or OIDC. Quick wins build confidence and a record of success.

4

Add stronger protection

Turn on MFA and device policies in stages, beginning with administrators and the most sensitive apps.

5

Bridge the legacy

Place the gateway or other bridges in front of older apps, one at a time, with careful testing and a rollback plan.

6

Automate the lifecycle

Connect the HR system, enable provisioning, and retire manual account creation.

7

Reduce the old

Gradually retire old logins, shared passwords, and unneeded on-premises dependencies. Decide what, if anything, remains for the long term.

flowchart LR
    S0["Start: apps use their own logins"] --> S1["Wave 1: modern cloud apps via SSO"]
    S1 --> S2["Wave 2: MFA and device policy"]
    S2 --> S3["Wave 3: legacy apps behind gateway"]
    S3 --> S4["Wave 4: lifecycle automation"]
    S4 --> S5["End: old logins retired"]
    
Fig 22.1 — Waves let the new identity layer grow while the old one shrinks

Decide the end state honestly

Some companies aim to remove on-premises Active Directory entirely. Others keep it for the long term, because certain Windows services, factory systems, or contracts require it. Both are legitimate. The mistake is to leave the end state undefined, since then temporary bridges quietly become permanent, and the company ends up running two of everything forever. Write down what “done” looks like, even if the date is far away.

!
Watch Out

Migration windows are when mistakes happen. Do not mix identity changes with other major projects such as a merger, a big software upgrade, or a data center move. Fewer simultaneous changes make problems far easier to trace.

Everyday Analogy

Renovating a hospital while it stays open means working one ward at a time. Patients are moved to a finished ward before the next one is opened up. Nobody renovates every ward on the same night.

23Design Patterns for Hybrid Identity

Patterns are proven shapes that solve recurring problems. Recognizing them helps you design faster and explain your design clearly.

Pattern

Identity hub

One central identity provider handles sign-in for all applications, with spokes connecting to cloud, on-premises, and partner systems.

Pattern

Redundant agents

Multiple agents per directory across servers and sites, treated as production infrastructure with monitoring and patching.

Pattern

Gateway in front of legacy

A reverse proxy places modern sign-in and MFA before older web apps without changing their code.

Pattern

Group-driven access

Access to applications and roles follows group membership, and group membership follows HR facts.

Pattern

Source-of-truth mapping

Every attribute has one owner system, documented, to prevent conflicting updates.

Pattern

Short-lived credentials

Servers and cloud roles use time-limited access issued after identity checks, replacing permanent keys.

Pattern

Tiered administration

Few top-level administrators, many narrowly scoped helpers, plus a tested break-glass account.

Pattern

Strangler migration

The new layer is placed in front of the old one and takes over traffic wave by wave until the old one can be retired.

Two patterns in more depth

The identity hub. Picture a train station where lines from many towns meet. Instead of building a direct track between every pair of towns, which would need an enormous number of tracks, each town connects once to the hub. In identity, each system connects once to Okta instead of to every other system. The number of connections stays small and manageable, and adding a new application means adding one spoke.

Group-driven access. Rather than telling Okta “give Maria access to these twelve apps”, you say “members of the Finance group get these twelve apps”, and you let HR facts decide who is in Finance. When Maria joins, moves, or leaves, her access follows automatically. The advantage is predictability: you can read the rules and know who has what, without hunting through twelve places.

flowchart TD
    HR["HR fact: department equals Finance"] --> G["Group: Finance"]
    G --> A1["Accounting app"]
    G --> A2["Expense app"]
    G --> A3["Finance shared drive"]
    G --> A4["Cloud finance role"]
    
Fig 23.1 — A single HR fact drives membership, and membership drives many access grants
Everyday Analogy

An airline hub works because passengers change planes in one place instead of every city having a flight to every other city. Okta as a hub keeps your identity “flights” simple and few, instead of a tangled web of direct routes.

24Anti-Patterns to Avoid

These habits are common, tempting, and costly. Recognizing them early saves months of trouble.

ANTI-PATTERN 01Avoid
What it looks like

Running a single agent for a directory because “one is enough for now”.

Why it hurts

One restart, one failed update, or one network hiccup stops password checks for everyone who depends on that directory.

Do this instead

Always run at least two agents on separate servers, ideally across sites, and monitor their health.

ANTI-PATTERN 02Avoid
What it looks like

Letting two systems both control the same attribute, such as a job title edited in both HR and AD.

Why it hurts

Values overwrite each other, groups flip unexpectedly, and nobody can explain why someone lost access.

Do this instead

Name one source of truth per attribute, document it, and make the other systems read-only for that field.

ANTI-PATTERN 03Avoid
What it looks like

Exposing a legacy application directly while also putting a gateway in front of it, so both routes work.

Why it hurts

Attackers simply use the unprotected route. The gateway’s MFA protects nothing if the side door is open.

Do this instead

Use network rules so the application accepts traffic only from the gateway.

ANTI-PATTERN 04Avoid
What it looks like

Granting an agent’s service account broad administrator rights “to make installation easy”.

Why it hurts

If the agent server is compromised, the attacker inherits those rights and can control the directory.

Do this instead

Give agent accounts only the specific permissions Okta documents as necessary, and protect the server like a domain controller.

ANTI-PATTERN 05Avoid
What it looks like

Letting temporary bridges, exceptions, and emergency accounts become permanent without review.

Why it hurts

The company runs two of everything forever, and forgotten exceptions become silent holes.

Do this instead

Give each bridge and exception an owner, a purpose, and a review date, and track their retirement.

ANTI-PATTERN 06Avoid
What it looks like

Ignoring certificate expiry dates until an application stops working.

Why it hurts

An avoidable outage hits a whole application at once, often at the worst time and with confusing symptoms.

Do this instead

Keep a certificate inventory with owners and early alerts, and rehearse rotation.

!
Watch Out

A seventh, quieter anti-pattern is building the whole design around today’s tools and forgetting the exit. Document how you would leave or replace each component. A design that cannot be unwound is a design that locks you in, however good the product.

25Advantages, Disadvantages, and Trade-offs

A hybrid identity design is a set of choices, and every choice trades one good thing for another. Naming the trade-offs helps you pick on purpose instead of by accident.

Advantages

  • One sign-in experience across old and new systems
  • Consistent MFA and policy, including for legacy apps
  • Faster onboarding and cleaner offboarding
  • A central audit trail for access across the company
  • Safe, gradual modernization without a big bang
  • Fewer passwords, so fewer help desk calls and weaker habits
  • Less reliance on the network perimeter

Disadvantages

  • Identity becomes critical infrastructure; its outage hurts everyone
  • More components to run: agents, gateways, bridges
  • Skills needed across both old and new technology
  • Data quality problems in source systems show up everywhere
  • Licensing and product overlap can be confusing and costly
  • Temporary bridges tend to stay longer than planned

Key trade-offs in detail

DecisionOption AOption BHow to choose
Where passwords are checkedDelegated to ADStored in OktaA if AD remains central for years; B if reducing AD or aiming for passwordless
Legacy web appsGateway in frontReplace or rewrite the appGateway when the app is stable and costly to change; replace when the app is near end of life
Speed of changeFast wavesSlow, careful wavesMatch to risk and team capacity; critical apps deserve the slower path
Number of agentsFew, simpleMany, redundantPrefer redundancy for anything that blocks sign-in
Strictness of device rulesStrict for allTiered by app sensitivityTiered, with strictness rising for sensitive apps
Emergency accessMany emergency pathsFew, heavily guardedFew and monitored; each extra path is an extra risk

Convenience versus control

Every security step adds a little friction and every convenience removes a little protection. Hybrid designs add a special twist: the old systems cannot always support the strongest controls, so you must choose where to tolerate weaker protection for a time and where to insist on the best. A useful approach is to sort applications by sensitivity and match the strength of controls to that sorting, rather than applying one rule to everything.

Strong where it matters most, simple everywhere else, and a plan to improve the rest.

26Best Practices and Common Mistakes

If you can only remember a few habits from this guide, these are the ones that prevent the most trouble.

Best practices

Practice 1

Inventory first

List every application, directory, and sign-in method before designing. Hidden systems cause the nastiest surprises.

Practice 2

Redundancy by default

At least two agents per directory, gateways in clusters, and components spread across sites.

Practice 3

One source of truth per fact

Name the owner of every important attribute and keep the flow one-directional.

Practice 4

Protect the identity plane

Harden administrators, agent servers, certificates, and service accounts as crown jewels.

Practice 5

Move in waves

Migrate gradually with rehearsal, a pilot, and a rollback plan for each step.

Practice 6

Drive access from groups and HR facts

Make access predictable and self-correcting as people change roles.

Practice 7

Plan and test emergencies

Maintain break-glass paths, runbooks, and regular game days.

Practice 8

Watch everything, alert on what matters

Stream logs to a central place and build alerts for health, certificates, and risk.

Common mistakes

  • Treating agents as an afterthought. They are core infrastructure and need the same care as any critical server.
  • Forgetting service accounts and machines. Non-human identities hold power and are often left out of reviews.
  • Leaving old paths open. A new protected route is useless if the old unprotected one still works.
  • Skipping data cleanup. Bad source data turns automation into automatic mistakes.
  • Under-communicating. Surprised users and help desks create resistance and noise during rollouts.
  • No end state. Bridges and exceptions stay forever when nobody defined what “finished” looks like.
  • Assuming vendor products fit together magically. Check versions, licenses, and limits, and test integrations.
i
Tip

Keep a single “architecture decisions” document. For each major choice, such as where passwords are checked or how a legacy app is protected, write what was decided, why, and what would make you revisit it. Months later, new team members will thank you.

27A Worked Example: Contoso Manufacturing Goes Hybrid

Let us put the pieces together for a made-up company. Contoso Manufacturing has twelve thousand employees, three factories, and a head office. All names and numbers here are invented for teaching.

Starting point

Contoso has on-premises Active Directory with two domains, a customer-order system written fifteen years ago, a quality-inspection web app with its own passwords, a VPN for remote staff, about eighty cloud and SaaS apps, and engineers who manage servers in the factories and in a cloud account. HR uses a cloud HR product. Staff complain about many passwords, auditors have flagged shared server accounts, and a former employee’s account was found active three months after leaving.

Target design

flowchart TD
    HR["Cloud HR system"] --> OK["Okta Universal Directory"]
    AD["Two AD domains"] -- "redundant agents" --> OK
    OK --> SAAS["80 cloud and SaaS apps via SSO and SCIM"]
    OK --> GW["Access Gateway cluster"]
    GW --> ORD["Customer-order system"]
    GW --> QUA["Quality-inspection app"]
    OK --> RAD["RADIUS agents"]
    RAD --> VPN["VPN"]
    OK --> PRIV["Short-lived server access"]
    PRIV --> SRV["Factory servers and cloud VMs"]
    OK --> CLD["Cloud account roles via federation"]
    OK --> SIEM["Central monitoring"]
    
Fig 27.1 — Contoso’s target architecture with Okta as the identity hub

The plan, wave by wave

1

Foundation

Three agents for each domain, spread across the head office and one factory. Clean up stale accounts. Import only needed organizational units. Pilot with the IT team.

2

Easy apps and MFA

Move the most-used SaaS apps to single sign-on. Enable MFA for administrators first, then the head office, then factories.

3

VPN and legacy

Add the RADIUS agents so the VPN asks for MFA. Put the access gateway in front of the quality-inspection app, then the order system, and close direct routes to both.

4

Lifecycle

Connect the HR system as the source for job facts. Turn on provisioning for the main apps, deactivating rather than deleting at first.

5

Servers and cloud

Replace shared server accounts with short-lived access for engineers. Federate the cloud account and remove old local cloud users.

6

Operate and improve

Stream logs to monitoring, schedule access reviews, run an annual failure drill, and plan the retirement of the quality app in favor of a modern replacement.

Risks the team watched

  • Factory networks with slow links. Placing an agent at one factory kept password checks local and fast.
  • Shared factory computers. Shorter sessions and kiosk-friendly rules were used instead of strict device requirements.
  • The old order system’s headers. Network rules were tightened so only the gateway could reach it, preventing spoofed headers.
  • Certificates. A shared sheet tracked each federation certificate with an owner and a reminder six weeks before expiry.

The result

After the final wave, staff sign in once and open nearly everything. Remote access uses MFA. The old shared server accounts are gone, and the auditors can see exactly who connected to which server and when. A departure in HR now ends access across the company within minutes. No single trick made this possible. It was inventory, redundancy, careful sequencing, protection of the identity plane, and a team that kept learning from every wave.

28Governance, Compliance, and Cost

A design that works technically must also satisfy auditors and fit a budget. These two forces shape many practical decisions.

What auditors look for

Frameworks such as SOC 2, ISO 27001, and rules for financial reporting expect strong control over privileged and sensitive access. Auditors typically ask who holds powerful access, how it is approved, how often it is reviewed, how quickly it is removed when someone leaves, and how you know it was not abused. A hybrid design built on groups, approvals, reviews, and central logs answers these questions with evidence. Remember that compliance belongs to the whole organization, not to a product. Okta provides controls and records, and your processes make them effective.

Evidence

Who has access

Reports of users, groups, roles, and administrator assignments across applications.

Evidence

Who approved it

Records of requests and approvals for elevated access.

Evidence

Who reviewed it

Completed access reviews with dates and decisions.

Evidence

How fast it was removed

Timestamps showing leavers lost access promptly.

Data location and privacy

Identity data includes names, emails, and sign-in history, which are personal data under many privacy laws. Companies in some regions must consider where such data is stored and who may see it. Check Okta’s available regions and data handling documentation for your needs, limit what attributes you place in the identity system to what is truly needed, and apply scoped administrator roles so staff see only the data their job requires.

Thinking about cost honestly

Costs fall into several buckets. There are license costs for Okta products and any add-ons such as the gateway or governance features. There are infrastructure costs for the servers that host agents and gateways, including redundancy. There is staff time for design, migration, and ongoing care. And there are the savings: fewer help desk calls, less manual account work, retired software, and avoided incidents. A fair comparison counts both sides.

Cost bucketExamplesOften overlooked
LicensesCore SSO, MFA, lifecycle, gateway, governanceFeature tiers and add-ons needed for legacy support
InfrastructureAgent servers, gateway clusters, monitoring storageRedundant copies in a second site
PeopleDesign, migration, run team, trainingTime to clean directory data before connecting
SavingsFewer password resets, less manual provisioning, retired legacy toolsAvoided breach and audit finding costs
i
Good to Know

Prices, tiers, and bundled features change over time and depend on your agreement. This guide deliberately avoids price figures. Work with your vendor to model costs for your own size, and recheck them when you renew.

Everyday Analogy

Buying a good lock for a building has a price, and so does hiring someone to hold the key register and check it every month. But compare that with the cost of a break-in, a lost audit, and weeks of cleanup. The question is never “is security free?” but “what are we really paying for, and what are we avoiding?”

29Troubleshooting a Hybrid Sign-In

When something breaks across many systems, panic is the enemy. A calm method finds the cause faster than guessing.

1

Define the scope

Is it one person, one group, one application, one site, or everyone? The answer points to the likely layer.

2

Find the event in the System Log

Search for the person and the time. Read the result and the reason, which often names the failing step.

3

Check health of the bridges

Look at agent status, gateway status, and certificate dates. Many “mystery” problems are simply an unhealthy bridge.

4

Check what changed

Ask what was changed recently: a policy edit, a firewall rule, a server update, a group change, an expired secret.

5

Test with a known-good user

Try a test account on a managed device in a known location. If that works, the problem is specific to the affected user or context.

6

Fix, verify, and record

Apply the fix, retest with the same steps that failed, and write down the lesson for next time.

SymptomPossible causeWhere to look
User exists in AD but not in OktaOutside the imported scope, or import has not runImport scope settings, last import result
Password works on Windows but not in OktaAgent cannot reach controller, or account is locked or expiredAgent health, AD account status, System Log reason
Desktop SSO not workingMachine outside the right network, or not joinedDevice join state, network location, agent for desktop SSO
Legacy app shows wrong userAttribute mapping or header setting incorrectGateway app configuration and mappings
VPN rejects after MFAMethod not supported over RADIUS, or timeout too shortRADIUS agent logs, supported factor list, VPN timeout
Wrong cloud role assignedGroup name or mapping mismatchGroup membership in Okta, role mapping on cloud side
Account not removed after exitProvisioning error or attribute not updated in sourceProvisioning task logs, HR record state
i
Tip

Create a short “known issues” page for your help desk with screenshots of the common error messages and their fixes. A first-line agent who can recognize an expired certificate message or a locked AD account solves in two minutes what would otherwise travel through three teams.

30Frequently Asked Questions

Q1What does “hybrid IT” mean?
It means a company uses a mixture of systems in different places and ages: its own data centers, rented cloud platforms, and online software services. Most real organizations are hybrid, not purely one thing.
Q2Why do I need agents?
Okta runs in the cloud and cannot reach systems inside your network, such as Active Directory. Agents are small programs inside your network that call out to Okta and act as trusted messengers, without needing inbound firewall openings.
Q3How many agents should I run?
At least two per directory, on separate servers, and preferably across more than one site. More can be added for capacity. Update them one at a time so one is always healthy.
Q4Can Okta protect old applications that cannot do modern sign-in?
Yes, often through the Access Gateway, which acts as a reverse proxy in front of the application, applies Okta sign-in and MFA, and passes identity to the app in a form it understands. Very unusual applications may still need other approaches.
Q5Can I add MFA to my VPN?
Often yes, using the Okta RADIUS server agent so the VPN asks Okta to verify users. Supported verification methods are limited by the older protocol, so check which ones work with your VPN.
Q6Do I have to get rid of Active Directory?
No. Many companies keep it for years, or permanently, for Windows services and factory systems. Okta can sit alongside it. What matters is deciding the end state deliberately and not leaving it undefined.
Q7What is a source of truth?
It is the one system officially responsible for a particular fact about a person, such as job title. Other systems copy it and do not change it, which prevents conflicts and mysterious reversions.
Q8What happens if Okta is unavailable?
People with active sessions may continue for a while, but new sign-ins can fail. You should plan emergency access paths, keep tested break-glass accounts, know where to read Okta’s status updates, and have a communication plan. Document the answer in a runbook.
Q9Why do certificates matter so much?
Federation relies on certificates to prove messages are genuine. When one expires, sign-in to the related application often fails for everyone. Track expiry dates and rotate in a planned way.
Q10How do I handle servers and administrators?
Replace shared passwords and permanent keys with short-lived, group-based access issued after identity checks, using Okta’s privileged access capabilities where available. This also gives an audit trail tied to named people.
Q11Is it safe to delete accounts automatically when someone leaves?
It is safer to deactivate first, keep a recovery window, and delete later. Automatic deletion driven by faulty data can remove many accounts at once, and disabled accounts are far easier to restore.
Q12How do I migrate without breaking things?
Work in waves. Start with a pilot and easy applications, add stronger controls in stages, bridge legacy apps one by one with rollback plans, and only then reduce the old paths. Avoid mixing identity changes with other major projects.
Q13Does Zero Trust mean buying a product?
No. It is a direction: verify identity and device explicitly, grant least privilege, and assume breach. Tools like Okta help, but the result comes from many steps across identity, devices, networks, and data.
Q14How do Okta and Microsoft Entra ID work together?
There are several patterns, such as federating Microsoft 365 to Okta, or keeping Microsoft as the main identity provider for its own ecosystem while Okta serves other apps. The key is one clear policy owner per application and tested emergency accounts on the Microsoft side.
Q15What is the most common reason hybrid projects struggle?
Poor discovery and poor data. Teams miss hidden applications and accounts, and they connect systems before cleaning the source data. A thorough inventory and data cleanup early prevent most later pain.

31Summary and Key Takeaways

Hybrid IT is the normal state of most companies. A well-designed identity layer turns that mixture from a source of risk into something you can manage calmly.

Key Takeaways

  • Okta as the hub: one identity provider in front of cloud apps, legacy web apps, networks, servers, and cloud platforms gives consistent sign-in, MFA, and policy across old and new.
  • Agents are core infrastructure: they call out to Okta so no inbound holes are needed, but they must be redundant, patched, hardened, and monitored.
  • Bridge the legacy, then retire it: the Access Gateway, RADIUS, LDAP, and on-premises provisioning protect what exists today, while a stated end state prevents bridges from becoming permanent.
  • One source of truth per fact: let HR facts drive groups, and groups drive access, so joiners, movers, and leavers are handled automatically and audits are easy.
  • Protect the identity plane: administrators, agent and gateway servers, service accounts, certificates, and emergency accounts are the crown jewels and deserve the strongest care.
  • Plan for failure and watch everything: design for agent, controller, certificate, and service disruptions, stream logs centrally, and rehearse recovery with regular game days.
  • Migrate in waves: use the strangler approach with pilots and rollback plans, avoid big bang changes, and keep learning from each wave.