{"id":1645,"date":"2026-10-11T16:32:21","date_gmt":"2026-10-11T11:02:21","guid":{"rendered":"https:\/\/networkfix.in\/uncategorized\/palo-alto-user-id-configuration\/"},"modified":"2026-10-11T16:32:21","modified_gmt":"2026-10-11T11:02:21","slug":"palo-alto-user-id-configuration","status":"publish","type":"post","link":"https:\/\/networkfix.in\/en\/tutorials\/palo\/palo-alto-user-id-configuration\/","title":{"rendered":"Palo Alto User-ID Configuration with an Active Directory Example"},"content":{"rendered":"<div class=\"networkfix-visual-panel\" style=\"border:1px solid #dbe3ea;border-radius:14px;padding:18px;margin:24px 0;background:#f8fafc\">\n<h3>Interactive Investigation Map<\/h3>\n<p><strong>Article type:<\/strong> Tutorial<\/p>\n<p><strong>Scenario:<\/strong> Security policy should identify users and groups instead of relying only on IP addresses in a Windows domain environment.<\/p>\n<details>\n<summary><strong>Click to reveal the investigation path<\/strong><\/summary>\n<ol>\n<li><strong>Step 1:<\/strong> Understand the topology<\/li>\n<li><strong>Step 2:<\/strong> Configure the relevant Palo Alto objects<\/li>\n<li><strong>Step 3:<\/strong> Verify policy\/routing\/NAT behavior<\/li>\n<li><strong>Step 4:<\/strong> Test the expected traffic flow<\/li>\n<li><strong>Step 5:<\/strong> Review logs and counters<\/li>\n<li><strong>Step 6:<\/strong> Record production considerations<\/li>\n<\/ol>\n<\/details>\n<p style=\"font-size:0.9em;color:#64748b\">Visual generated specifically for this article.<\/p>\n<\/div>\n<p>Traditional firewall policies rely heavily on IP addresses to define access control rules. In modern enterprise networks with dynamic DHCP allocation, remote workers, and shared infrastructure, IP addresses no longer provide reliable identity context. Relying solely on IP addresses creates complex rulebases that require frequent updates and lack user-level visibility.<\/p>\n<p>Palo Alto Networks User-ID solves this issue by binding IP addresses to corporate user accounts and Active Directory (AD) groups. By integrating your firewall with Active Directory, you can write security policies based on group membership rather than volatile IP subnets. This guide provides a complete, step-by-step <strong>Palo Alto User-ID configuration<\/strong> tutorial using an integrated agentless Active Directory setup.<\/p>\n<h2>Real-Life Scenario<\/h2>\n<p>An enterprise organization, <em>CorpLab<\/em>, wants to transition from IP-based security policies to role-based access control across its corporate network. The engineering and finance departments reside on the same LAN subnet (<code>10.0.200.0\/24<\/code>) via DHCP.<\/p>\n<p>The business requirements specify:<\/p>\n<ul>\n<li>Members of the Active Directory group <code>grp-finance<\/code> must access financial application servers while being blocked from engineering repositories.<\/li>\n<li>Members of <code>grp-engineering<\/code> must access code repositories and testing subnets while being blocked from financial servers.<\/li>\n<li>Security analysts must see specific domain usernames in firewall traffic logs instead of anonymous IP addresses.<\/li>\n<\/ul>\n<p>To achieve this, the firewall must read login events from Windows Domain Controllers to build an IP-to-user mapping table and query LDAP to resolve group memberships.<\/p>\n<h2>Lab Topology<\/h2>\n<p>The following ASCII topology illustrates the network architecture used in this guide. All IP addresses, hostnames, and domain names represent lab configuration values and must be adapted to match your production environment.<\/p>\n<pre>\n+-----------------------------------------------------------------------+\n|                         Active Directory DC                           |\n|                         Hostname: DC01                                |\n|                         Domain: corp.lab                              |\n|                         IP: 10.0.100.10\/24                            |\n+-----------------------------------------------------------------------+\n                                   |\n                                   | (LDAP \/ WinRM)\n                                   |\n+----------------------------------+------------------------------------+\n|                                                                       |\n|                     Palo Alto Networks Firewall                       |\n|                     Management IP: 192.168.1.254                      |\n|                                                                       |\n|  [ Interface: ethernet1\/1 ]             [ Interface: ethernet1\/2 ]    |\n|  Zone: Trust                            Zone: Untrust                 |\n|  IP: 10.0.200.1\/24                      IP: 203.0.113.1\/24            |\n+----------------------------------+------------------------------------+\n                                   |\n                                   |\n                         +---------+---------+\n                         |  Local Switch     |\n                         +---------+---------+\n                                   |\n                +------------------+------------------+\n                |                                     |\n+---------------+---------------+     +---------------+---------------+\n|  Finance Client Workstation   |     |  Engineering Workstation      |\n|  IP: 10.0.200.15\/24           |     |  IP: 10.0.200.20\/24           |\n|  User: corp\\jdoe              |     |  User: corp\\asmith            |\n|  Member: grp-finance          |     |  Member: grp-engineering      |\n+-------------------------------+     +-------------------------------+\n<\/pre>\n<h2>Example Addressing and Objects<\/h2>\n<p>The following parameters are used throughout the configuration steps in this tutorial:<\/p>\n<table>\n<thead>\n<tr>\n<th>Object \/ Parameter<\/th>\n<th>LAB Value<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Active Directory Domain<\/td>\n<td><code>corp.lab<\/code><\/td>\n<td>Windows Active Directory Domain FQDN<\/td>\n<\/tr>\n<tr>\n<td>NetBIOS Domain Name<\/td>\n<td><code>CORP<\/code><\/td>\n<td>Short domain name used in legacy authentication<\/td>\n<\/tr>\n<tr>\n<td>Domain Controller (DC01)<\/td>\n<td><code>10.0.100.10<\/code><\/td>\n<td>Primary AD Domain Controller running LDAP and WinRM<\/td>\n<\/tr>\n<tr>\n<td>User-ID Service Account<\/td>\n<td><code>svc-pan-userid<\/code><\/td>\n<td>Dedicated AD account for log reading and LDAP queries<\/td>\n<\/tr>\n<tr>\n<td>Base DN<\/td>\n<td><code>DC=corp,DC=lab<\/code><\/td>\n<td>Root directory search path for LDAP queries<\/td>\n<\/tr>\n<tr>\n<td>Trust Zone Subnet<\/td>\n<td><code>10.0.200.0\/24<\/code><\/td>\n<td>Internal client workstation segment<\/td>\n<\/tr>\n<tr>\n<td>Target AD Groups<\/td>\n<td><code>grp-finance<\/code>, <code>grp-engineering<\/code><\/td>\n<td>Active Directory security groups mapped to security policy<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Prerequisites<\/h2>\n<p>Before starting the firewall configuration, verify that the following infrastructure requirements are met:<\/p>\n<ul>\n<li><strong>Dedicated AD Service Account:<\/strong> Create a domain service account (for example, <code>svc-pan-userid<\/code>) with a strong password set to never expire.<\/li>\n<li><strong>Service Account Permissions:<\/strong>\n<ul>\n<li>For LDAP querying: Standard <em>Domain Users<\/em> membership is sufficient.<\/li>\n<li>For Agentless Server Monitoring: Add the service account to the <em>Distributed COM Users<\/em> and <em>Event Log Readers<\/em> built-in groups on the Domain Controller. If using WinRM, add the user to the <em>Remote Management Users<\/em> group.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Network Connectivity and Ports:<\/strong> Ensure the firewall management port or dedicated service route can reach the Domain Controller on the required ports:\n<ul>\n<li>LDAP: TCP 389 (or TCP 636 for LDAPS)<\/li>\n<li>WinRM (HTTP): TCP 5985 or WinRM (HTTPS): TCP 5986<\/li>\n<li>WMI\/RPC (Legacy alternative): TCP 135 and dynamic RPC range<\/li>\n<\/ul>\n<\/li>\n<li><strong>DNS Resolution:<\/strong> Configure valid operational DNS servers under <strong>Device &gt; Setup &gt; Services<\/strong> on the firewall so it can resolve the FQDN of the Domain Controllers.<\/li>\n<\/ul>\n<h2>Step-by-Step GUI Configuration<\/h2>\n<h3>Step 1: Create an LDAP Server Profile<\/h3>\n<p>An LDAP Server Profile enables the firewall to query Active Directory for group memberships and user attributes. Without LDAP, the firewall can map IP addresses to usernames, but it cannot map usernames to AD groups.<\/p>\n<ol>\n<li>Log into the PAN-OS web interface.<\/li>\n<li>Navigate to <strong>Device &gt; Server Profiles &gt; LDAP<\/strong>.<\/li>\n<li>Click <strong>Add<\/strong> at the bottom of the screen.<\/li>\n<li>In the <strong>Profile Name<\/strong> field, enter <code>LDAP-Corp-DC Profile<\/code>.<\/li>\n<li>Click <strong>Add<\/strong> under the <em>Servers<\/em> list and enter:\n<ul>\n<li><strong>Name:<\/strong> <code>DC01<\/code><\/li>\n<li><strong>LDAP Server:<\/strong> <code>10.0.100.10<\/code><\/li>\n<li><strong>Port:<\/strong> <code>389<\/code> (or <code>636<\/code> if using LDAP over SSL)<\/li>\n<\/ul>\n<\/li>\n<li>Configure the connection details:\n<ul>\n<li><strong>Type:<\/strong> <code>active-directory<\/code><\/li>\n<li><strong>Base DN:<\/strong> <code>DC=corp,DC=lab<\/code><\/li>\n<li><strong>Bind DN:<\/strong> <code>corp\\svc-pan-userid<\/code><\/li>\n<li><strong>Password:<\/strong> Enter the service account password.<\/li>\n<\/ul>\n<\/li>\n<li>Click <strong>OK<\/strong> to save the server profile.<\/li>\n<\/ol>\n<h3>Step 2: Configure Group Mapping Settings<\/h3>\n<p>Group Mapping defines which Active Directory groups are pulled into the firewall&#8217;s local database for use in security rules.<\/p>\n<ol>\n<li>Navigate to <strong>Device &gt; User Identification &gt; Group Mapping Settings<\/strong>.<\/li>\n<li>Click <strong>Add<\/strong>.<\/li>\n<li>In the <strong>Name<\/strong> field, enter <code>AD-Group-Mapping<\/code>.<\/li>\n<li>Under the <strong>Server Profile<\/strong> dropdown, select <code>LDAP-Corp-DC Profile<\/code>.<\/li>\n<li>In the <strong>User Domain<\/strong> field, enter <code>corp.lab<\/code>.<\/li>\n<li>Click the <strong>Group Include List<\/strong> tab.<\/li>\n<li>Expand the directory tree in the left pane and select the required groups:\n<ul>\n<li><code>cn=grp-finance,ou=groups,dc=corp,dc=lab<\/code><\/li>\n<li><code>cn=grp-engineering,ou=groups,dc=corp,dc=lab<\/code><\/li>\n<\/ul>\n<\/li>\n<li>Click the <code>+<\/code> icon to move the selected groups to the right-hand column. Selecting specific groups prevents exhausting firewall memory limits on large Active Directory installations.<\/li>\n<li>Click <strong>OK<\/strong>.<\/li>\n<\/ol>\n<h3>Step 3: Configure Agentless User-ID Server Monitoring<\/h3>\n<p>Integrated Agentless User-ID configures the firewall to monitor Windows Event Logs directly on Domain Controllers via WinRM or WMI. When a user logs into a domain-joined workstation, the DC generates a login event (e.g., Event ID 4624). The firewall reads this event and binds the user to the IP address reported in the log.<\/p>\n<ol>\n<li>Navigate to <strong>Device &gt; User Identification &gt; User Mapping<\/strong>.<\/li>\n<li>Click the gear icon in the top-right corner of <strong>Palo Alto Networks Integrated Agent Settings<\/strong>.<\/li>\n<li>Select the <strong>Server Monitoring<\/strong> tab.<\/li>\n<li>Set <strong>Default Domain Name<\/strong> to <code>corp.lab<\/code>.<\/li>\n<li>Under <strong>WinRM Protocol Settings<\/strong>, check <strong>Enable WinRM<\/strong> if using WinRM (recommended over legacy WMI for performance and firewall predictability). Set the port to <code>5985<\/code> (HTTP) or <code>5986<\/code> (HTTPS).<\/li>\n<li>Enter the service account credentials under <strong>Client Credentials<\/strong>:\n<ul>\n<li><strong>Domain:<\/strong> <code>corp<\/code><\/li>\n<li><strong>User Name:<\/strong> <code>svc-pan-userid<\/code><\/li>\n<li><strong>Password:<\/strong> Enter the account password.<\/li>\n<\/ul>\n<\/li>\n<li>Click <strong>OK<\/strong>.<\/li>\n<li>Under the <strong>Server Monitoring<\/strong> section on the main User Mapping page, click <strong>Add<\/strong>:\n<ul>\n<li><strong>Name:<\/strong> <code>DC01-Monitor<\/code><\/li>\n<li><strong>Type:<\/strong> <code>Domain Controller<\/code><\/li>\n<li><strong>Network Address:<\/strong> <code>10.0.100.10<\/code><\/li>\n<\/ul>\n<\/li>\n<li>Click <strong>OK<\/strong>.<\/li>\n<\/ol>\n<h3>Step 4: Enable User-ID on Security Zones<\/h3>\n<p>User-ID must be explicitly enabled on incoming traffic zones. If User-ID is disabled on a zone, the firewall drops identity enforcement for traffic originating from that zone, regardless of background mappings.<\/p>\n<ol>\n<li>Navigate to <strong>Network &gt; Zones<\/strong>.<\/li>\n<li>Click your internal client zone (e.g., <code>Trust<\/code>).<\/li>\n<li>Check the <strong>Enable User-ID<\/strong> checkbox.<\/li>\n<li>Click <strong>OK<\/strong>.<\/li>\n<\/ol>\n<h3>Step 5: Reference AD Groups in Security Policy<\/h3>\n<p>With User-ID fully configured, you can apply groups directly to security policies.<\/p>\n<ol>\n<li>Navigate to <strong>Policies &gt; Security<\/strong>.<\/li>\n<li>Click <strong>Add<\/strong> to create a new rule.<\/li>\n<li>Under the <strong>General<\/strong> tab, name the rule <code>Allow-Finance-Services<\/code>.<\/li>\n<li>Under the <strong>Source<\/strong> tab:\n<ul>\n<li><strong>Source Zone:<\/strong> <code>Trust<\/code><\/li>\n<li><strong>Source Address:<\/strong> <code>any<\/code> (or specify client subnets)<\/li>\n<li><strong>Source User:<\/strong> Click <strong>Add<\/strong>, select <code>corp.lab\\grp-finance<\/code> from the list.<\/li>\n<\/ul>\n<\/li>\n<li>Under the <strong>Destination<\/strong> tab, configure the target network\/zone (e.g., Financial Application Servers in <code>DMZ<\/code>).<\/li>\n<li>Under <strong>Actions<\/strong>, set Action to <code>Allow<\/code>.<\/li>\n<li>Click <strong>OK<\/strong>, then click <strong>Commit<\/strong> in the top right to apply changes.<\/li>\n<\/ol>\n<h2>CLI Section<\/h2>\n<p>The PAN-OS command-line interface provides real-time state verification and operation metrics for User-ID components.<\/p>\n<p>To verify that the firewall is parsing active login events from Domain Controllers and populating its IP-to-User mapping table, run:<\/p>\n<pre><code>show user ip-user-mapping all<\/code><\/pre>\n<p>To view mappings for a specific IP address:<\/p>\n<pre><code>show user ip-user-mapping ip 10.0.200.15<\/code><\/pre>\n<p>To inspect current connection status with Domain Controllers monitored by agentless User-ID:<\/p>\n<pre><code>show user server-monitor state all<\/code><\/pre>\n<p>To confirm that LDAP group memberships are synchronized and resolved correctly:<\/p>\n<pre><code>show user group name \"cn=grp-finance,ou=groups,dc=corp,dc=lab\"<\/code><\/pre>\n<p>To list all AD groups synchronized into local storage:<\/p>\n<pre><code>show user group list<\/code><\/pre>\n<p>If group memberships were updated in Active Directory and require an immediate update on the firewall, refresh the group mapping cache:<\/p>\n<pre><code>debug user-id refresh group-mapping all<\/code><\/pre>\n<div class=\"caution\">\n<p><strong>CAUTION:<\/strong> Clearing or force-refreshing global user mappings during production hours may transiently impact active policy enforcement. Use targeted CLI commands or test during maintenance windows.<\/p>\n<\/div>\n<p>To clear the IP-to-user mapping table (forces re-discovery):<\/p>\n<pre><code>clear user ip-user-mapping all<\/code><\/pre>\n<h2>How the Traffic Flows<\/h2>\n<p>Understanding how Palo Alto Networks firewalls evaluate user identities during packet processing helps when building rules and troubleshooting.<\/p>\n<ol>\n<li><strong>Authentication Event:<\/strong> A user logs into a Windows client machine (<code>10.0.200.15<\/code>) authenticating against Domain Controller <code>DC01<\/code>. DC01 logs a successful logon event in its Windows Security Event log.<\/li>\n<li><strong>Event Fetching:<\/strong> The firewall reads this logon event via WinRM. It parses the username (<code>corp\\jdoe<\/code>) and matching IP address (<code>10.0.200.15<\/code>).<\/li>\n<li><strong>Mapping Table Update:<\/strong> The User-ID process updates its internal IP-to-User mapping table.<\/li>\n<li><strong>Group Resolution:<\/strong> In the background, the firewall matches <code>corp\\jdoe<\/code> against its local LDAP group database, determining that <code>corp\\jdoe<\/code> belongs to <code>cn=grp-finance,ou=groups,dc=corp,dc=lab<\/code>.<\/li>\n<li><strong>Packet Evaluation (SYN):<\/strong> The client sends an initial TCP SYN packet through the firewall toward a server.<\/li>\n<li><strong>Zone &amp; IP-to-User Lookup:<\/strong> The firewall receives the frame on an interface in the <code>Trust<\/code> zone. Because <strong>Enable User-ID<\/strong> is active on <code>Trust<\/code>, the dataplane queries the User-ID process using the source IP address (<code>10.0.200.15<\/code>).<\/li>\n<li><strong>Policy Matching:<\/strong> The firewall finds the user <code>corp\\jdoe<\/code> and group <code>grp-finance<\/code>. It evaluates the Security Policy top-to-bottom. It matches <code>Allow-Finance-Services<\/code> because the source zone, user group, destination address, and port criteria align.<\/li>\n<li><strong>Session Creation:<\/strong> The firewall creates a stateful session, records the identity in session details, and forwards the packet.<\/li>\n<\/ol>\n<h2>Verification<\/h2>\n<p>Follow these steps to confirm your setup works properly:<\/p>\n<h3>1. Confirm IP-to-User Mapping<\/h3>\n<p>Log in as a test user on a workstation. Open the firewall CLI and check if the user identity maps correctly:<\/p>\n<pre><code>admin@PA-FW&gt; show user ip-user-mapping ip 10.0.200.15\n\nIP              Vsys   From    User                             IdleTimeout(s) MaxTimeout(s)\n--------------- ------ ------- -------------------------------- -------------- -------------\n10.0.200.15     vsys1  UIA     corp\\jdoe                        2582           2582         \n<\/code><\/pre>\n<h3>2. Confirm DC Connection State<\/h3>\n<p>Verify that the firewall maintains an active monitoring session with your Domain Controller:<\/p>\n<pre><code>admin@PA-FW&gt; show user server-monitor state all\n\nActive Directory Domain Controller : DC01\n        Host: 10.0.100.10\n        Status: Connected\n        Type: WinRM\n<\/code><\/pre>\n<h3>3. Verify Group Resolution<\/h3>\n<p>Check that the firewall resolves the user account to the intended AD group:<\/p>\n<pre><code>admin@PA-FW&gt; show user group name \"cn=grp-finance,ou=groups,dc=corp,dc=lab\"\n\nGroup Name: cn=grp-finance,ou=groups,dc=corp,dc=lab\nSource Profile: AD-Group-Mapping\nMembers:\n    corp\\jdoe\n<\/code><\/pre>\n<h3>4. Verify Security Policy Log Details<\/h3>\n<p>Generate traffic from the client workstation to a permitted resource. Navigate to <strong>Monitor &gt; Logs &gt; Traffic<\/strong> in the GUI. Confirm that the <strong>Source User<\/strong> column correctly shows <code>corp\\jdoe<\/code> for the session.<\/p>\n<h2>Troubleshooting<\/h2>\n<p>When User-ID fails, systematically isolate the issue using these symptoms and checks:<\/p>\n<h3>Symptom 1: Source User is Listed as &#8220;Unknown&#8221; in Traffic Logs<\/h3>\n<ul>\n<li><strong>Check Zone Configuration:<\/strong> Go to <strong>Network &gt; Zones<\/strong> and ensure <strong>Enable User-ID<\/strong> is checked for the source zone.<\/li>\n<li><strong>Check IP Mapping Table:<\/strong> Run <code>show user ip-user-mapping all<\/code>. If the IP is missing, verify that the user generated an authentication event on the DC (Logoff\/logon cycle on client).<\/li>\n<li><strong>Check Server Monitor State:<\/strong> Run <code>show user server-monitor state all<\/code>. If status shows <code>Disconnected<\/code> or <code>Error<\/code>, check service account credentials and network firewall rules blocking TCP 5985\/5986 or 135\/445.<\/li>\n<\/ul>\n<h3>Symptom 2: User Identified, but Security Policy Rules Matching AD Groups Fail<\/h3>\n<ul>\n<li><strong>Domain Format Mismatch:<\/strong> Group mapping requires consistent domain formatting. If group mapping uses <code>corp.lab\\jdoe<\/code> while server monitoring produces <code>CORP\\jdoe<\/code>, the firewall cannot link the mapping to the group. Align the domain string in <strong>Group Mapping Settings<\/strong> and <strong>User Mapping<\/strong>.<\/li>\n<li><strong>LDAP Group Selection:<\/strong> Verify that the group is listed under the <strong>Group Include List<\/strong> in <strong>Device &gt; User Identification &gt; Group Mapping Settings<\/strong>. Unselected groups are ignored by PAN-OS.<\/li>\n<li><strong>Verify Group Cache:<\/strong> Query the group membership via CLI using <code>show user group name &lt;group_dn&gt;<\/code> to ensure LDAP mapping succeeded.<\/li>\n<\/ul>\n<h3>Symptom 3: Intermittent Missing Mappings on DHCP Networks<\/h3>\n<ul>\n<li><strong>Timeout Tuning:<\/strong> If IP addresses change quickly, stale IP-to-User mappings can send traffic under the wrong security profile. Check the IP mapping timeout settings under <strong>Device &gt; User Identification &gt; User Mapping &gt; Client Mapping<\/strong>. Adjust <em>User Identification Timeout<\/em> to match your local DHCP lease duration.<\/li>\n<\/ul>\n<h2>Common Mistakes<\/h2>\n<ul>\n<li><strong>Forgetting to Enable User-ID on Zones:<\/strong> Configuring profiles without enabling User-ID on the ingress security zone prevents identity discovery.<\/li>\n<li><strong>Importing Entire Active Directory Trees:<\/strong> Adding root organizational units to the <strong>Group Include List<\/strong> pulls unnecessary groups, exceeding object limits and causing high management plane CPU usage. Only select necessary operational groups.<\/li>\n<li><strong>Service Account Lockouts:<\/strong> Using service accounts subject to password expiration policies causes connection drops to Domain Controllers when passwords change.<\/li>\n<li><strong>Using Legacy WMI Instead of WinRM:<\/strong> WMI relies on dynamic RPC port allocation, making local DC host firewalls difficult to manage and causing unnecessary performance overhead. WinRM over port TCP 5985\/5986 provides reliable monitoring.<\/li>\n<li><strong>Ignoring NetBIOS vs. FQDN Domain Names:<\/strong> Misconfiguring the short NetBIOS domain name (e.g., <code>CORP<\/code>) vs the DNS FQDN domain name (e.g., <code>corp.lab<\/code>) leads to group-matching failures.<\/li>\n<\/ul>\n<h2>Production Considerations<\/h2>\n<ul>\n<li><strong>Architecture Scaling:<\/strong> For environments with more than 10 Domain Controllers or high login frequencies (&gt;100 logons\/sec), switch from integrated agentless monitoring to dedicated Windows User-ID Agents installed on standard domain member servers. This offloads Event Log parsing overhead from the firewall management plane.<\/li>\n<li><strong>Redundancy:<\/strong> Always define multiple Domain Controllers within LDAP Server Profiles and User Mapping Server Monitoring to preserve high availability during DC maintenance.<\/li>\n<li><strong>GlobalProtect and Terminal Services:<\/strong> Agentless DC monitoring cannot differentiate individual users behind shared IP environments like Citrix or Terminal Servers. Deploy the Palo Alto Networks Terminal Services (TS) Agent on multi-user servers for accurate user tracking.<\/li>\n<li><strong>Security Considerations:<\/strong> Encrypt LDAP traffic by selecting TCP 636 (LDAPS) or enabling StartTLS in the LDAP Server Profile. Secure WinRM communication using HTTPS (port 5986) or strong service account privileges.<\/li>\n<\/ul>\n<h2>Summary<\/h2>\n<p>Implementing a proper <strong>Palo Alto User-ID configuration<\/strong> converts identity data into enforceable network security policy. By integrating Active Directory via LDAP and agentless server monitoring, Palo Alto Networks firewalls replace static IP rules with identity-aware policies.<\/p>\n<p>To keep your implementation running smoothly, select explicit groups in your inclusion lists, ensure Domain Controller connectivity over modern transport protocols like WinRM, and verify that incoming security zones are enabled for identity lookup.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn Palo Alto User-ID configuration with a practical real-life example, step-by-step configuration, verification and troubleshooting.<\/p>","protected":false},"author":2,"featured_media":1644,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","rank_math_title":"","rank_math_description":"","rank_math_focus_keyword":"","_dpc-meta-title":"","_dpc-meta-description":"","_dpc-keyword":""},"categories":[5],"tags":[137,29,32,1191,31,1192],"class_list":["post-1645","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-palo","tag-advanced","tag-firewall-tutorial","tag-palo-alto-networks","tag-palo-alto-user-id-configuration","tag-pan-os","tag-user-id"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.2 (Yoast SEO v28.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Palo Alto User-ID Configuration Guide<\/title>\n<meta name=\"description\" content=\"Learn Palo Alto User-ID configuration with a practical real-life example, step-by-step configuration, verification and troubleshooting.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/networkfix.in\/en\/tutorials\/palo\/palo-alto-user-id-configuration\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Palo Alto User-ID Configuration with an Active Directory Example\" \/>\n<meta property=\"og:description\" content=\"Learn Palo Alto User-ID configuration with a practical real-life example, step-by-step configuration, verification and troubleshooting.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/networkfix.in\/en\/tutorials\/palo\/palo-alto-user-id-configuration\/\" \/>\n<meta property=\"og:site_name\" content=\"NetworkFix\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-11T11:02:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mlwonxngeomz.i.optimole.com\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/networkfix.in\/wp-content\/uploads\/2026\/10\/palo-alto-user-id-configuration-with-an-active-directory-example-featured.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Ajay Yadav\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ajay Yadav\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"12 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/networkfix.in\\\/tutorials\\\/palo\\\/palo-alto-user-id-configuration\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/networkfix.in\\\/tutorials\\\/palo\\\/palo-alto-user-id-configuration\\\/\"},\"author\":{\"name\":\"Ajay Yadav\",\"@id\":\"https:\\\/\\\/networkfix.in\\\/#\\\/schema\\\/person\\\/dac05d268c126277e74b684c5239d344\"},\"headline\":\"Palo Alto User-ID Configuration with an Active Directory Example\",\"datePublished\":\"2026-10-11T11:02:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/networkfix.in\\\/tutorials\\\/palo\\\/palo-alto-user-id-configuration\\\/\"},\"wordCount\":2079,\"publisher\":{\"@id\":\"https:\\\/\\\/networkfix.in\\\/#\\\/schema\\\/person\\\/28c6fb08b80eeae506b96250db4f30f0\"},\"image\":{\"@id\":\"https:\\\/\\\/networkfix.in\\\/tutorials\\\/palo\\\/palo-alto-user-id-configuration\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/networkfix.in\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/palo-alto-user-id-configuration-with-an-active-directory-example-featured.jpg\",\"keywords\":[\"Advanced\",\"Firewall Tutorial\",\"Palo Alto Networks\",\"Palo Alto User-ID configuration\",\"PAN-OS\",\"User-ID\"],\"articleSection\":[\"Palo Alto\"],\"inLanguage\":\"en\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/networkfix.in\\\/tutorials\\\/palo\\\/palo-alto-user-id-configuration\\\/\",\"url\":\"https:\\\/\\\/networkfix.in\\\/tutorials\\\/palo\\\/palo-alto-user-id-configuration\\\/\",\"name\":\"Palo Alto User-ID Configuration Guide\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/networkfix.in\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/networkfix.in\\\/tutorials\\\/palo\\\/palo-alto-user-id-configuration\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/networkfix.in\\\/tutorials\\\/palo\\\/palo-alto-user-id-configuration\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/networkfix.in\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/palo-alto-user-id-configuration-with-an-active-directory-example-featured.jpg\",\"datePublished\":\"2026-10-11T11:02:21+00:00\",\"description\":\"Learn Palo Alto User-ID configuration with a practical real-life example, step-by-step configuration, verification and troubleshooting.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/networkfix.in\\\/tutorials\\\/palo\\\/palo-alto-user-id-configuration\\\/#breadcrumb\"},\"inLanguage\":\"en\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/networkfix.in\\\/tutorials\\\/palo\\\/palo-alto-user-id-configuration\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\\\/\\\/networkfix.in\\\/tutorials\\\/palo\\\/palo-alto-user-id-configuration\\\/#primaryimage\",\"url\":\"https:\\\/\\\/networkfix.in\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/palo-alto-user-id-configuration-with-an-active-directory-example-featured.jpg\",\"contentUrl\":\"https:\\\/\\\/networkfix.in\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/palo-alto-user-id-configuration-with-an-active-directory-example-featured.jpg\",\"width\":1200,\"height\":630,\"caption\":\"Palo Alto User-ID Configuration with an Active Directory Example\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/networkfix.in\\\/tutorials\\\/palo\\\/palo-alto-user-id-configuration\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/networkfix.in\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Palo Alto User-ID Configuration with an Active Directory Example\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/networkfix.in\\\/#website\",\"url\":\"https:\\\/\\\/networkfix.in\\\/\",\"name\":\"NetworkFix\",\"description\":\"Practical Network Security &amp; Firewall Guides\",\"publisher\":{\"@id\":\"https:\\\/\\\/networkfix.in\\\/#\\\/schema\\\/person\\\/28c6fb08b80eeae506b96250db4f30f0\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/networkfix.in\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/networkfix.in\\\/#\\\/schema\\\/person\\\/28c6fb08b80eeae506b96250db4f30f0\",\"name\":\"networkfix\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\\\/\\\/networkfix.in\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/cropped-cc164cd4-f7b0-4c85-889e-8a89500fc258-2026-06-25.png\",\"url\":\"https:\\\/\\\/networkfix.in\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/cropped-cc164cd4-f7b0-4c85-889e-8a89500fc258-2026-06-25.png\",\"contentUrl\":\"https:\\\/\\\/networkfix.in\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/cropped-cc164cd4-f7b0-4c85-889e-8a89500fc258-2026-06-25.png\",\"width\":737,\"height\":591,\"caption\":\"networkfix\"},\"logo\":{\"@id\":\"https:\\\/\\\/networkfix.in\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/cropped-cc164cd4-f7b0-4c85-889e-8a89500fc258-2026-06-25.png\"},\"sameAs\":[\"http:\\\/\\\/networkfix.in\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/networkfix.in\\\/#\\\/schema\\\/person\\\/dac05d268c126277e74b684c5239d344\",\"name\":\"Ajay Yadav\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/54c192b947be1e6f455c98ef8939f3bb3eb1a73fc8fd2814579cf29f4c581518?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/54c192b947be1e6f455c98ef8939f3bb3eb1a73fc8fd2814579cf29f4c581518?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/54c192b947be1e6f455c98ef8939f3bb3eb1a73fc8fd2814579cf29f4c581518?s=96&d=mm&r=g\",\"caption\":\"Ajay Yadav\"},\"url\":\"https:\\\/\\\/networkfix.in\\\/en\\\/author\\\/networkfix-news-bot\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Palo Alto User-ID Configuration Guide","description":"Learn Palo Alto User-ID configuration with a practical real-life example, step-by-step configuration, verification and troubleshooting.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/networkfix.in\/en\/tutorials\/palo\/palo-alto-user-id-configuration\/","og_locale":"en_US","og_type":"article","og_title":"Palo Alto User-ID Configuration with an Active Directory Example","og_description":"Learn Palo Alto User-ID configuration with a practical real-life example, step-by-step configuration, verification and troubleshooting.","og_url":"https:\/\/networkfix.in\/en\/tutorials\/palo\/palo-alto-user-id-configuration\/","og_site_name":"NetworkFix","article_published_time":"2026-10-11T11:02:21+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/mlwonxngeomz.i.optimole.com\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/networkfix.in\/wp-content\/uploads\/2026\/10\/palo-alto-user-id-configuration-with-an-active-directory-example-featured.jpg","type":"image\/jpeg"}],"author":"Ajay Yadav","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Ajay Yadav","Est. reading time":"12 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/networkfix.in\/tutorials\/palo\/palo-alto-user-id-configuration\/#article","isPartOf":{"@id":"https:\/\/networkfix.in\/tutorials\/palo\/palo-alto-user-id-configuration\/"},"author":{"name":"Ajay Yadav","@id":"https:\/\/networkfix.in\/#\/schema\/person\/dac05d268c126277e74b684c5239d344"},"headline":"Palo Alto User-ID Configuration with an Active Directory Example","datePublished":"2026-10-11T11:02:21+00:00","mainEntityOfPage":{"@id":"https:\/\/networkfix.in\/tutorials\/palo\/palo-alto-user-id-configuration\/"},"wordCount":2079,"publisher":{"@id":"https:\/\/networkfix.in\/#\/schema\/person\/28c6fb08b80eeae506b96250db4f30f0"},"image":{"@id":"https:\/\/networkfix.in\/tutorials\/palo\/palo-alto-user-id-configuration\/#primaryimage"},"thumbnailUrl":"https:\/\/mlwonxngeomz.i.optimole.com\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/networkfix.in\/wp-content\/uploads\/2026\/10\/palo-alto-user-id-configuration-with-an-active-directory-example-featured.jpg","keywords":["Advanced","Firewall Tutorial","Palo Alto Networks","Palo Alto User-ID configuration","PAN-OS","User-ID"],"articleSection":["Palo Alto"],"inLanguage":"en"},{"@type":"WebPage","@id":"https:\/\/networkfix.in\/tutorials\/palo\/palo-alto-user-id-configuration\/","url":"https:\/\/networkfix.in\/tutorials\/palo\/palo-alto-user-id-configuration\/","name":"Palo Alto User-ID Configuration Guide","isPartOf":{"@id":"https:\/\/networkfix.in\/#website"},"primaryImageOfPage":{"@id":"https:\/\/networkfix.in\/tutorials\/palo\/palo-alto-user-id-configuration\/#primaryimage"},"image":{"@id":"https:\/\/networkfix.in\/tutorials\/palo\/palo-alto-user-id-configuration\/#primaryimage"},"thumbnailUrl":"https:\/\/mlwonxngeomz.i.optimole.com\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/networkfix.in\/wp-content\/uploads\/2026\/10\/palo-alto-user-id-configuration-with-an-active-directory-example-featured.jpg","datePublished":"2026-10-11T11:02:21+00:00","description":"Learn Palo Alto User-ID configuration with a practical real-life example, step-by-step configuration, verification and troubleshooting.","breadcrumb":{"@id":"https:\/\/networkfix.in\/tutorials\/palo\/palo-alto-user-id-configuration\/#breadcrumb"},"inLanguage":"en","potentialAction":[{"@type":"ReadAction","target":["https:\/\/networkfix.in\/tutorials\/palo\/palo-alto-user-id-configuration\/"]}]},{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/networkfix.in\/tutorials\/palo\/palo-alto-user-id-configuration\/#primaryimage","url":"https:\/\/mlwonxngeomz.i.optimole.com\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/networkfix.in\/wp-content\/uploads\/2026\/10\/palo-alto-user-id-configuration-with-an-active-directory-example-featured.jpg","contentUrl":"https:\/\/mlwonxngeomz.i.optimole.com\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/networkfix.in\/wp-content\/uploads\/2026\/10\/palo-alto-user-id-configuration-with-an-active-directory-example-featured.jpg","width":1200,"height":630,"caption":"Palo Alto User-ID Configuration with an Active Directory Example"},{"@type":"BreadcrumbList","@id":"https:\/\/networkfix.in\/tutorials\/palo\/palo-alto-user-id-configuration\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/networkfix.in\/"},{"@type":"ListItem","position":2,"name":"Palo Alto User-ID Configuration with an Active Directory Example"}]},{"@type":"WebSite","@id":"https:\/\/networkfix.in\/#website","url":"https:\/\/networkfix.in\/","name":"NetworkFix","description":"Practical Network Security &amp; Firewall Guides","publisher":{"@id":"https:\/\/networkfix.in\/#\/schema\/person\/28c6fb08b80eeae506b96250db4f30f0"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/networkfix.in\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en"},{"@type":["Person","Organization"],"@id":"https:\/\/networkfix.in\/#\/schema\/person\/28c6fb08b80eeae506b96250db4f30f0","name":"networkfix","image":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/mlwonxngeomz.i.optimole.com\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/networkfix.in\/wp-content\/uploads\/2026\/06\/cropped-cc164cd4-f7b0-4c85-889e-8a89500fc258-2026-06-25.png","url":"https:\/\/mlwonxngeomz.i.optimole.com\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/networkfix.in\/wp-content\/uploads\/2026\/06\/cropped-cc164cd4-f7b0-4c85-889e-8a89500fc258-2026-06-25.png","contentUrl":"https:\/\/mlwonxngeomz.i.optimole.com\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/networkfix.in\/wp-content\/uploads\/2026\/06\/cropped-cc164cd4-f7b0-4c85-889e-8a89500fc258-2026-06-25.png","width":737,"height":591,"caption":"networkfix"},"logo":{"@id":"https:\/\/mlwonxngeomz.i.optimole.com\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/networkfix.in\/wp-content\/uploads\/2026\/06\/cropped-cc164cd4-f7b0-4c85-889e-8a89500fc258-2026-06-25.png"},"sameAs":["http:\/\/networkfix.in"]},{"@type":"Person","@id":"https:\/\/networkfix.in\/#\/schema\/person\/dac05d268c126277e74b684c5239d344","name":"Ajay Yadav","image":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/secure.gravatar.com\/avatar\/54c192b947be1e6f455c98ef8939f3bb3eb1a73fc8fd2814579cf29f4c581518?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/54c192b947be1e6f455c98ef8939f3bb3eb1a73fc8fd2814579cf29f4c581518?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/54c192b947be1e6f455c98ef8939f3bb3eb1a73fc8fd2814579cf29f4c581518?s=96&d=mm&r=g","caption":"Ajay Yadav"},"url":"https:\/\/networkfix.in\/en\/author\/networkfix-news-bot\/"}]}},"_links":{"self":[{"href":"https:\/\/networkfix.in\/en\/wp-json\/wp\/v2\/posts\/1645","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/networkfix.in\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/networkfix.in\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/networkfix.in\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/networkfix.in\/en\/wp-json\/wp\/v2\/comments?post=1645"}],"version-history":[{"count":0,"href":"https:\/\/networkfix.in\/en\/wp-json\/wp\/v2\/posts\/1645\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/networkfix.in\/en\/wp-json\/wp\/v2\/media\/1644"}],"wp:attachment":[{"href":"https:\/\/networkfix.in\/en\/wp-json\/wp\/v2\/media?parent=1645"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/networkfix.in\/en\/wp-json\/wp\/v2\/categories?post=1645"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/networkfix.in\/en\/wp-json\/wp\/v2\/tags?post=1645"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}