There are other bugs with this integration, one of them is strange, suddenly ClearPass does not send the XML-data to the vsys we have spesificed in our config, the quick-fix for that is to remove the &vsys=vsysX (in context server details) and add it again :-(
-------------------------------------------
Original Message:
Sent: May 05, 2026 12:32 PM
From: codye
Subject: ClearPass User Mapping to PaloAlto via XML API
Thanks for adding your potential workaround.
I upgraded to 6.12.7 which was supposed to resolve some of the Palo Alto xmlapi token issues:

However, I still see intermittent post failures in my event viewer:

While I believe some bugs were addressed, I believe there are others lingering.
Original Message:
Sent: May 05, 2026 04:33 AM
From: james.addison@sac.vic.edu.au
Subject: ClearPass User Mapping to PaloAlto via XML API
Not sure if this is still relevant for anyone, but I managed to get around the bug of no username being sent by changing the XML payload in clearpass to use SamAccountName rather than the {user} attribute. Assuming you are using local AD with Palo for user/groups and have your AD in as a source in clearpass.
You will need to ensure that sAMAccountName is in your ad source authentication filter in clearpass, then make a copy of the Palo Alto context server login/out actions and change the {user} to the sAMAccountName like below.
<uid-message><version>1.0</version><type>update</type><payload><login><entry name="%{Authorization:AD-Source:sAMAccountName}" ip="%{ip}"/></login></payload></uid-message>
I assume you could change this to any attribute to suit your environment.
Still have a bug that I haven't seen anyone mention yet - we see phantom IP addresses in the IP-TAG monitor from the XML-API source in Palo. We still see the correct IP assigning and unassigning from the devices however these can be sometimes accompanied by single or multiple IP addresses that are not even addressable on our network. They all seem to be typical home network ranges eg 192.168.0.0/16 (most common) and 10.0.0.0/8 and are always logout events.
Thanks
Original Message:
Sent: Sep 24, 2025 09:35 AM
From: codye
Subject: ClearPass User Mapping to PaloAlto via XML API
EDITED 9/29/25
Yea, from my experience with the Palo Alto XMLAPI integration, there have been multiple bugs (which depending on the bug, may or may not be related to one another). For example...
- there's the token refresh issue (CP-57023)
- the issue where usernames are not being sent in the XMLAPI calls to the Palo Alto
- an issue which caused Aruba to introduce the "Post-Authentication v2 Combine Session Notification Events to PAN" setting in cluster-wide parameters
- the above setting has its own bug in that when xmlapi payloads are combined, the resulting xmlapi call is improperly formatted and includes two <login></login> elements, when the Palo Altos are only expecting one pair (and only process the 1st pair, ignoring entries in the second pair)
- an issue which caused Aruba to introduce a CLI command (flush-postauth-cache -s) so you can set a daily cache flush
- others I may be missing
I am still waiting to hear if a hotfix will be released for the token refresh issue, since it didn't make it into 6.12.6; and I really hope I don't need to wait until 6.12.7.
Original Message:
Sent: Sep 24, 2025 02:14 AM
From: tobi.coonan
Subject: ClearPass User Mapping to PaloAlto via XML API
This sounds similar to an issue we found after upgrading from 6.11.10.260785 to 6.11.12.262976.
When running 6.11.12 there were a number of API XML events that did not contain the username, so were discarded by the firewall.
TAC support call including debug session
Issue:
- After upgrading to 6.11.12, it was observed that the user entry processed on Palo Alto is missing the username information.
Analysis:
- It has been observed that the data processed by Postauth does not include the username. Additionally, it was identified that the data retrieved by Postauth from Insight is also missing the username.
- While the data for the above user stored under Insight contains the username information, the field is missed out while it is processed for postauth.
- Since the issue is occurring post 6.11.12 update, server was rollback to 6.11.11 and the behaviour in 6.11.11 confirmed the issue is specific to 6.11.12 code.
This is a different bug that the auth token not renewing.
You may need to setup a debug session with TAC to confirm if this specific behaviour is also present in 6.12.
Original Message:
Sent: Sep 18, 2025 03:16 AM
From: Tom Norton
Subject: ClearPass User Mapping to PaloAlto via XML API
Current Setup:
2 x ClearPass Policy Manager 6.12.4.305024 on C3000V platform
2 x PaloAlto PA-3220 Appliances running in Active/Passive - PAN OS 11.1.10-h1
We have been trying to use the PaloAlto API XML to update Username and IP Address mappings from ClearPass. We have followed all of the documentation provided by Aruba, however we have found it very unreliable. It would appear that either ClearPass is not sending over 60%+ of the information, or the PaloAlto is ignoring it.
We have resorted to using the Syslog feature to update the details, however that isn't as quick as the API and quite limiting on what you can pass to the PaloAlto. It's getting us by at the moment, however there is a 30 second delay in authentication and the syslog sending the information to PaloAlto.
Has anyone else experienced issues with the API setup?
Thanks
Tom
-------------------------------------------