6.2 Cloud Identity Engine (CIE) & Modern Authentication

Key Takeaways

  • The Cloud Identity Engine (CIE) acts as a centralized cloud-native identity broker that unifies directory synchronization and user authentication across hybrid multi-cloud enterprises, replacing redundant point-to-point LDAP/AD connections.
  • CIE implements SCIM 2.0 (System for Cross-domain Identity Management) push synchronization from cloud Identity Providers (Microsoft Entra ID, Okta, Google Workspace, PingIdentity), enabling near real-time user lifecycle and group updates.
  • For on-premises Active Directory environments, the lightweight Cloud Identity Engine Agent establishes outbound-only HTTPS (TCP 443) connections to sync directory structures without requiring inbound firewall openings.
  • SAML 2.0 Authentication Profiles configured in CIE deliver federated Single Sign-On (SSO) and Multi-Factor Authentication (MFA) step-up enforcement across GlobalProtect, Captive Portal, and administrative consoles.
  • CIE normalizes disparate identity formats—including UPN, NetBIOS domain\username, and email addresses—into consistent User-ID attributes, eliminating security policy bypasses caused by identity mismatch in multi-domain forests.
Last updated: September 2026

6.2 Cloud Identity Engine (CIE) & Modern Authentication

Quick Answer: The Cloud Identity Engine (CIE) is a centralized, cloud-native identity broker provided by Palo Alto Networks that eliminates the need to configure complex, redundant point-to-point directory connections across individual firewalls, Panorama instances, and Prisma Access nodes. By supporting cloud-native SCIM 2.0 push provisioning from modern Identity Providers (Microsoft Entra ID, Okta, Google Workspace, PingIdentity) alongside an on-premises CIE Agent for Active Directory, CIE unifies directory synchronization and authentication into a single pane of glass. Furthermore, CIE normalizes disparate username formats (e.g., reconciling CORP\jdoe with jdoe@example.com), facilitates seamless SAML 2.0 Single Sign-On (SSO), and powers dynamic Multi-Factor Authentication (MFA) step-up enforcement via PAN-OS Authentication Policies and Captive Portal.


1. Architectural Overview: Identity Fragmentation & The CIE Broker Model

As enterprise workloads migrate across on-premises data centers, private clouds, and multi-tenant SaaS environments, enterprise identity infrastructure has become heavily fragmented. Traditional network security architectures relied on individual Next-Generation Firewalls (NGFWs) maintaining direct point-to-point connections to local Active Directory Domain Controllers:

Legacy Identity Architecture (Point-to-Point LDAP):
+---------------------+        LDAPS (Port 636)       +-------------------------+
| Perimeter NGFW      |──────────────────────────────>| On-Prem Domain Ctrl 1   |
+---------------------+                               +-------------------------+
| Data Center NGFW    |──────────────────────────────>| On-Prem Domain Ctrl 2   |
+---------------------+                               +-------------------------+
| 50+ Branch Firewalls|──────(50+ VPN / WAN Links)───>| Global Catalog Server   |
+---------------------+                               +-------------------------+
| Prisma Access Fabric|──────(Service Connections)───>| Azure AD / Entra ID     |
+---------------------+                               +-------------------------+
  * Massive WAN overhead, directory sync latency, connection exhaustion on DCs,
    and complete inability to ingest cloud-only IdP user groups (e.g. Okta).

This legacy design created critical operational liabilities:

  1. Directory Connection Saturation: Hundreds of firewalls constantly polling Domain Controllers via LDAPS oversubscribed domain controller CPU resources and generated significant WAN overhead.
  2. Synchronization Latency: Updates to Active Directory group memberships (e.g., adding an engineer to SecOps-Admins or terminating an employee) required up to 60 to 90 minutes to propagate across distributed firewall caches, creating severe security compliance gaps.
  3. Cloud-Native Incompatibility: Next-generation cloud identity providers such as Microsoft Entra ID (formerly Azure AD), Okta, and Google Workspace do not expose standard LDAP/Active Directory ports over the public internet. Organizations were forced to deploy complex LDAP proxies or Azure AD Domain Services (Azure AD DS).
  4. Schema and Format Inconsistencies: Hybrid enterprises maintained users with multiple identity formats—User Principal Name (UPN) in the cloud, NetBIOS Domain\sAMAccountName on-premises, and corporate email addresses in SaaS—causing security policy rules based on User-ID to fail.

The Cloud Identity Engine (CIE) Architecture

To resolve this identity fragmentation, Palo Alto Networks introduced the Cloud Identity Engine (CIE). CIE functions as a cloud-hosted, multi-tenant identity broker within the Palo Alto Networks cloud security services platform:

+-----------------------------------------------------------------------------------------+
| Enterprise Identity Providers (IdPs)                                                    |
|                                                                                         |
|  +--------------------+   +--------------------+   +---------------------------------+  |
|  | Microsoft Entra ID |   | Okta / Ping / G-WS |   | On-Premises Active Directory    |  |
|  +--------------------+   +--------------------+   +---------------------------------+  |
|            │ SCIM 2.0               │ SCIM 2.0                     │ Local LDAPS        |
|            │ Real-Time Push         │ Real-Time Push               ▼                    |
|            │                        │              +---------------------------------+  |
|            │                        │              | Cloud Identity Engine Agent     |  |
|            │                        │              | (Outbound TLS 443 to Cloud)     |  |
|            │                        │              +---------------------------------+  |
+------------│------------------------│------------------------------│--------------------+
             │                        │                              │
             v                        v                              v
+-----------------------------------------------------------------------------------------+
| Cloud Identity Engine (CIE) Cloud Broker (Palo Alto Networks Cloud)                     |
|                                                                                         |
|  - SCIM 2.0 RESTful Provisioning Listener & Webhook Sync Receiver                       |
|  - Directory Synchronization & Transitive Group Membership Resolver                    |
|  - Identity Normalization Engine (UPN <-> NetBIOS sAMAccountName <-> Email)            |
|  - SAML 2.0 / OIDC Authentication Profile Broker & Token Validator                      |
+-----------------------------------------------------------------------------------------+
             │                                      │                         │
             │ Push / Sync                          │ Push / Sync             │ Push / Sync
             ▼                                      ▼                         ▼
+-------------------------+      +-------------------------+      +-----------------------+
| Strata Cloud Manager    |      | Panorama Central Mgmt   |      | Prisma Access Cloud   |
| & Hardware NGFWs        |      | & Cloud NGFW (AWS/Azure)|      | (Mobile / Remote Net) |
+-------------------------+      +-------------------------+      +-----------------------+

Comparative Architectural Matrix

Feature / CapabilityTraditional On-Box LDAP / User-IDCloud Identity Engine (CIE)
Integration ArchitecturePoint-to-point from every firewall to Domain Controllers.Single centralized cloud broker integration for the entire enterprise.
Cloud IdP SupportNone (requires on-prem LDAP bridges or Azure AD DS).Native SCIM 2.0 API support for Entra ID, Okta, Google Workspace, Ping.
On-Premises AD SupportDirect LDAPS (TCP 636) connections from firewalls.Lightweight CIE Agent connecting outbound over HTTPS (TCP 443).
Sync MechanicsPeriodic scheduled polling (default 30-60 min intervals).Real-Time Push Provisioning via SCIM 2.0 webhooks and delta syncs.
Identity NormalizationStatic domain mapping tables configured manually per device.Automated cross-directory normalization across UPN, NetBIOS, and Email.
WAN / DC OverheadHigh (every firewall queries DCs independently).Zero (firewalls pull normalized identity metadata directly from CIE).
Policy ConfigurationInconsistent group names across multiple directory profiles.Unified, standardized user and group objects across all firewalls.

2. Directory Synchronization: SCIM 2.0 vs. On-Premises CIE Agent

CIE provides two distinct directory synchronization mechanisms tailored to the enterprise infrastructure topology:

1. Cloud IdP Synchronization via SCIM 2.0

For modern cloud identity providers—including Microsoft Entra ID, Okta, Google Workspace, and PingIdentity—CIE implements the System for Cross-domain Identity Management (SCIM 2.0) protocol (RFC 7643 and RFC 7644):

  • RESTful Endpoints: CIE provisions dedicated, tenant-isolated REST endpoints accepting standardized JSON schemas (/Users and /Groups).
  • Real-Time Event-Driven Push: Rather than relying on periodic polling, modern cloud IdPs push identity events in real time. When an HR system provisions a new user, modifies group memberships (e.g., adding an engineer to the DevOps role), or deactivates an account, the IdP sends an immediate HTTPS POST, PATCH, or DELETE request to CIE.
  • Transitive & Dynamic Group Resolution: SCIM 2.0 synchronization ingests nested and dynamic groups (such as Entra ID attribute-based dynamic user groups), resolving group hierarchies before presenting them to PAN-OS security policies.
// Example SCIM 2.0 User Object Ingested by Cloud Identity Engine
{
  "schemas": ["urn:ietf:params:scim:schemas:core:2.0:User"],
  "id": "00u2x7k89aBcdEfGh1j4",
  "userName": "alex.chen@enterprise.example.com",
  "name": {
    "givenName": "Alex",
    "familyName": "Chen"
  },
  "emails": [
    {"value": "alex.chen@enterprise.example.com", "primary": true}
  ],
  "active": true,
  "groups": [
    {"value": "grp-88210", "display": "Cloud-SecOps-Engineers"},
    {"value": "grp-99142", "display": "Production-Database-Admins"}
  ]
}

2. On-Premises Active Directory Synchronization via CIE Agent

For organizations operating legacy on-premises Microsoft Active Directory Domain Services (AD DS), Palo Alto Networks provides the Cloud Identity Engine Agent:

  • Lightweight Windows Service: Installed on an enterprise domain-joined Windows Server (Windows Server 2016, 2019, or 2022).
  • Outbound-Only HTTPS Connectivity: The CIE Agent connects outbound to the Palo Alto Networks cloud over TCP port 443. It requires zero inbound firewall ports or public IP addresses in the customer data center.
  • Local Directory Querying: The agent interacts with local Domain Controllers using standard Secure LDAP (LDAPS on TCP 636) or Kerberos. It syncs user records, security groups, organizational units (OUs), and computer objects.
  • Multi-Forest & Multi-Domain Support: The CIE Agent navigates complex Active Directory environments, querying Global Catalog servers (TCP 3269) and following forest trusts to enumerate cross-forest group memberships.

3. SAML 2.0 Single Sign-On (SSO) & Authentication Profiles

In addition to directory synchronization, CIE serves as a unified authentication broker supporting Security Assertion Markup Language (SAML 2.0) and OpenID Connect (OIDC).

SP-Initiated SAML Authentication Workflow

Palo Alto Networks firewalls and GlobalProtect operate as the Service Provider (SP), while the enterprise identity system (e.g., Microsoft Entra ID or Okta) acts as the Identity Provider (IdP). Because firewalls control network access dynamically, authentication must strictly follow the SP-Initiated SAML flow:

[ Remote User / Client ]              [ GlobalProtect Gateway ]              [ Cloud Identity Provider ]
          │                                     │                                         │
          │── 1. Connect to Gateway ───────────>│                                         │
          │                                     │                                         │
          │<── 2. Redirect to IdP (SAML AuthN) ─│                                         │
          │                                                                               │
          │── 3. Present Credentials & Complete MFA (FIDO2 / Push) ──────────────────────>│
          │                                                                               │
          │<── 4. Return Cryptographically Signed SAML Response (Assertion + Claims) ─────│
          │                                                                               │
          │── 5. POST SAML Assertion to Assertion Consumer Service (ACS) URL ─>│          │
          │                                                                    │          │
          │                                     │ [Validate Assertion & Cert]  │          │
          │                                     │ [Extract NameID & Claims]    │          │
          │                                     │ [Bind Session to User-ID]    │          │
          │                                                                    │          │
          │<── 6. Tunnel Established / Access Permitted ───────────────────────│          │

Metadata Exchange & Cryptographic Verification

To establish trust between the Service Provider (GlobalProtect / PAN-OS) and the Identity Provider via CIE:

  1. Service Provider (SP) Metadata: CIE generates a standardized SAML SP metadata XML file containing:
    • Entity ID: The unique URI identifying the CIE authentication endpoint (e.g., https://cie.paloaltonetworks.com/saml/entity/12345).
    • Assertion Consumer Service (ACS) URL: The secure endpoint where the IdP posts the cryptographic SAML assertion after successful authentication.
    • Single Logout (SLO) URL: Coordinates centralized session termination across all enterprise services.
  2. Identity Provider (IdP) Metadata: Imported into CIE, containing:
    • IdP Single Sign-On URL: The login redirect URL.
    • IdP Entity ID / Issuer URI: The unique identifier of the IdP.
    • X.509 Signing Certificate: Contains the public key used by the firewall to cryptographically verify the signature on incoming SAML assertions, ensuring assertions have not been tampered with in transit.

SAML Claims & Attribute Mapping

When the IdP authenticates the user, it packages identity attributes into the SAML assertion. Key claims mapped into PAN-OS User-ID include:

  • NameID: The primary subject identifier. Configured as either the user's email address or User Principal Name (UPN).
  • Username Attribute: Often mapped to http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name or userPrincipalName.
  • Group Membership Attribute (memberOf): Returns an array of group names or group security identifiers (SIDs). CIE maps these claims directly to PAN-OS User-ID group objects for policy enforcement.

4. Multi-Factor Authentication (MFA) & Step-Up Authentication Workflows

Modern enterprise security policies mandate that initial network admission does not grant unfettered access to high-value assets. Palo Alto Networks leverages Authentication Policies to enforce dynamic, contextual Multi-Factor Authentication (MFA) and Step-Up Authentication.

                     +--------------------------------------------------+
                     | User initiates connection to Sensitive Resource  |
                     | (e.g., SSH to Core Database: 10.100.50.25:22)   |
                     +------------------------┬-------------------------+
                                              │
                                              ▼
                     +--------------------------------------------------+
                     | PAN-OS Evaluates Authentication Policy Rulebase  |
                     +------------------------┬-------------------------+
                                              │
                   ┌──────────────────────────┴──────────────────────────┐
                   ▼                                                     ▼
        [ Match Found: Authenticate ]                           [ No Policy Match ]
                   │                                                     │
                   ▼                                                     ▼
+-------------------------------------+                +-----------------------------------+
| Intercept Connection: Captive Portal|                | Forward Directly to Standard      |
| Prompt for Step-Up MFA Challenge    |                | Security Policy Rulebase          |
+------------------┬------------------+                +-----------------------------------+
                   │
                   ▼
+-------------------------------------+
| User completes MFA via IdP (Okta    |
| Verify / Entra Authenticator Push)  |
+------------------┬------------------+
                   │
                   ▼
+-------------------------------------+
| Session State: AUTHENTICATED        |
| Forward to Security Policy Engine   |
+-------------------------------------+

Authentication Configuration Components

Enforcing step-up authentication requires configuring three interrelated PAN-OS objects:

  1. Authentication Profile (Device > Authentication Profile): Points to the Cloud Identity Engine SAML configuration, specifying authentication timeout periods and certificate profiles.
  2. Authentication Enforcement Object (Objects > Authentication): Defines the user interaction model:
    • Authentication Method: Web Form (Captive Portal), Kerberos, or SAML.
    • Authentication Profile: The attached CIE SAML profile.
    • Authentication Timeout: Duration for which the authenticated state remains valid (e.g., 60 minutes to 8 hours). During this window, subsequent connections to the target application bypass the MFA prompt.
  3. Authentication Policy Rule (Policies > Authentication): Positioned before standard Security Policies in the evaluation order. Specifies:
    • Source: Internal Trust Zone, Source User (or Group, e.g., Financial-Auditors).
    • Destination: Production Database Zone, Destination IP/FQDN.
    • Service / Application: Specific sensitive applications (e.g., ssh, ms-sql, oracle-database, web-browsing).
    • Action: Authenticate (with the attached Authentication Enforcement Object).

Captive Portal Redirection Mechanics

  • Web Traffic (HTTP/HTTPS): If a user attempts to access an internal web application matching an Authentication Policy, the firewall intercepts the TCP handshake and performs an HTTP 302 redirect to the Captive Portal URL. The browser completes the SAML MFA challenge with the IdP and returns to the requested application.
  • Non-Web Traffic (SSH/RDP): For non-HTTP protocols that cannot render web redirects, PAN-OS supports GlobalProtect-driven authentication or pre-authentication via an initial Captive Portal landing page. Once authenticated, the firewall registers the client IP as authorized, and subsequent SSH or RDP connections pass without disruption.

5. User-ID Normalization & Hybrid Multi-Cloud Resolution

In hybrid multi-cloud enterprises, the single largest cause of security policy enforcement failure is Username Inconsistency across directory silos.

The Identity Mismatch Problem

Consider a user named Alex Chen:

  • In on-premises Active Directory: Logged in via Windows as CORP\achen (NetBIOS domain + sAMAccountName).
  • In Microsoft Entra ID: Authenticated via SAML as alex.chen@enterprise.example.com (User Principal Name - UPN).
  • In HR / Workday / Email: Recorded as a.chen@support.example.com.
Without Normalization (Policy Failure):
Security Policy Rule: "Permit Finance-Admins to Banking-Core"
Rule User Requirement: CORP\achen (From Active Directory Group Sync)
Incoming GlobalProtect Login: alex.chen@enterprise.example.com (From Entra ID SAML)
Evaluation: "CORP\achen" != "alex.chen@enterprise.example.com" ──> DENY (Rule Fails!)

CIE Normalization Engine

The Cloud Identity Engine resolves this problem by maintaining a unified, cross-referenced identity graph:

  1. Primary Attribute Designation: Administrators designate a canonical identity format within CIE settings (typically the User Principal Name (UPN) or standardized corporate email).
  2. Cross-Directory Attribute Mapping: During synchronization, CIE links the user's objectGUID, sAMAccountName, userPrincipalName, and secondary email aliases into a single normalized identity record.
  3. Bidirectional Policy Translation: When an authentication event occurs (e.g., SAML assertion returning alex.chen@enterprise.example.com), the firewall queries CIE. CIE matches the assertion to the normalized identity and informs the firewall that this session also possesses the group memberships associated with CORP\achen.
  4. Nested Security Group Expansion: Active Directory allows deep nesting of groups (e.g., User -> SecOps-L1 -> SecOps-Tier2 -> Global-SecOps-Admins). CIE automatically expands nested groups recursively, ensuring firewalls enforce policies referencing parent groups without requiring manual group flattening in Active Directory.

6. Operational Diagnostics, CLI Verification & Troubleshooting

Network security engineers must master operational CLI commands to verify CIE broker connectivity, validate directory group synchronization, and troubleshoot SAML authentication failures:

Verifying CIE Directory Synchronization

# Check connectivity status between PAN-OS and the Cloud Identity Engine broker
admin@PA-5450> show running identity-broker-agent status

Identity Broker Cloud Connection: CONNECTED
Tenant ID:                       panw-ent-cie-7721
Broker Region:                   us-east-1
Last Sync Timestamp:             2026-09-02 12:15:30 UTC
Synced User Count:               12,450
Synced Group Count:              840
Agent Status:                    HEALTHY

# Query group memberships for a specific user resolved through CIE
admin@PA-5450> show user user-ids match-user alex.chen@enterprise.example.com

User Name:        alex.chen@enterprise.example.com
Normalized Name:  CORP\achen
Source:           Cloud Identity Engine (SCIM / Agent)
Groups (8):
    cn=production-database-admins,ou=security,dc=corp,dc=internal
    cn=cloud-secops-engineers,ou=security,dc=corp,dc=internal
    cn=vpn-all-users,ou=groups,dc=corp,dc=internal

# List all synchronized security groups available for Security Policy configuration
admin@PA-5450> show user group list source identity-broker

Testing SAML Authentication Profiles

# Test live authentication against a CIE SAML profile directly from the firewall CLI
admin@PA-5450> test authentication authentication-profile CIE-SAML-Profile username alex.chen@enterprise.example.com

Target Authentication Profile:   CIE-SAML-Profile
Server Type:                     SAML 2.0 (CIE Broker)
Redirect URL Generated:          https://login.microsoftonline.com/7721-abcd/saml2
Certificate Verification:        PASSED (IdP Cert Valid)
Clock Skew Verification:         PASSED (Offset: 0.4 seconds)
Status:                          READY_FOR_CHALLENGE

7. Exam Traps & Real-World Pitfalls

[!WARNING] EXAM TRAP 1: SAML NameID Format Mismatch & Silent Policy Drops The most common SAML deployment failure occurs when the Identity Provider returns an assertion where the NameID format does not match the username attribute synchronized in User-ID. For example, if Okta returns the user's email address (jdoe@example.com) as the SAML NameID, but the firewall's group mapping profile was configured to match on sAMAccountName (jdoe), authentication will succeed, but the firewall will not find any group memberships for jdoe@example.com! The user connects, but their sessions are immediately blocked by security policies that restrict access based on Active Directory group membership. Candidates must know that CIE solves this via identity normalization.

[!WARNING] EXAM TRAP 2: The CIE Agent Inbound Firewall Misconception When questions ask what firewall rules must be placed on the corporate perimeter router to allow the Cloud Identity Engine to communicate with the on-premises CIE Agent, remember that the CIE Agent NEVER requires inbound open ports. The CIE Agent initiates an outbound-only TLS connection over TCP port 443 to the Palo Alto Networks cloud. Any option suggesting inbound port forwarding, public DNAT, or opening TCP port 636/389 to the public internet is strictly incorrect.

[!WARNING] EXAM TRAP 3: Authentication Profile vs. Authentication Enforcement Object Candidates frequently confuse these two distinct objects:

  • An Authentication Profile (Device > Authentication Profile) specifies HOW authentication occurs: the identity backend (SAML 2.0, CIE, Kerberos, RADIUS), server certificates, and IdP URLs.
  • An Authentication Enforcement Object (Objects > Authentication) defines the USER EXPERIENCE and policy action: the prompt method (Web Form / Captive Portal), authentication timeout window, and custom landing page. Authentication Policy rules reference the Authentication Enforcement Object, not the raw Authentication Profile directly!
Test Your Knowledge

An enterprise with 10,000 users across hybrid environments experiences intermittent policy enforcement failures. Remote users connecting via GlobalProtect authenticate through Microsoft Entra ID via SAML, while on-premises branch firewalls rely on local Active Directory domain controllers via LDAP. Security policies referencing Active Directory security groups (such as 'CORP\Engineering-Leads') fail to match remote users because Entra ID returns User Principal Names (UPN: 'user@company.com') and Azure Object IDs. How does the Cloud Identity Engine (CIE) resolve this issue?

A
B
C
D
Test Your Knowledge

An administrator configures SAML 2.0 Single Sign-On (SSO) for GlobalProtect users via the Cloud Identity Engine. During initial testing, users authenticate successfully at the external Identity Provider (IdP) login portal and pass MFA, but GlobalProtect immediately disconnects with the error: 'Authentication failed: User not authorized'. Inspection of the firewall traffic logs reveals that the user's connection was evaluated against the default-deny rule rather than their departmental allow rule. What is the most likely root cause?

A
B
C
D
Test Your Knowledge

An enterprise security policy requires that any database administrator attempting to initiate an SSH or HTTPS connection to a production PCI-DSS database server must complete Multi-Factor Authentication (MFA) step-up verification, even if they have already logged into GlobalProtect. Which PAN-OS policy configuration implements this workflow?

A
B
C
D