<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic USER-ID XML API Include Network in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/user-id-xml-api-include-network/m-p/468200#M2944</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using two PA-850 in HA, Software Version 8.1.21&lt;/P&gt;&lt;P&gt;For our Wifi, we have a Clearpass server sending XML-API commands to our PaloAlto, to do IP/User Mapping, but the mapping doesn't work.&lt;/P&gt;&lt;P&gt;If I try to call the API directly (using &lt;A href="https://myfirewall.com/api" target="_blank"&gt;https://myfirewall.com/api&lt;/A&gt;), I can send commands this way, and see the result.&lt;/P&gt;&lt;P&gt;Sending In API-&amp;gt; User-id this xml command, to login :&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;lt;uid-message&amp;gt;&lt;BR /&gt;&amp;lt;version&amp;gt;2.0&amp;lt;/version&amp;gt;&lt;BR /&gt;&amp;lt;type&amp;gt;update&amp;lt;/type&amp;gt;&lt;BR /&gt;&amp;lt;payload&amp;gt;&lt;BR /&gt;&amp;lt;login&amp;gt;&lt;BR /&gt;&amp;lt;entry name="MyDomain\user" ip="10.0.1.1" timeout="0"/&amp;gt;&lt;BR /&gt;&amp;lt;/login&amp;gt;&lt;BR /&gt;&amp;lt;/payload&amp;gt;&lt;BR /&gt;&amp;lt;/uid-message&amp;gt;&lt;/P&gt;&lt;P&gt;I get this Error in return :&lt;/P&gt;&lt;P&gt;&amp;lt;response status="error"&amp;gt;&lt;BR /&gt;&amp;lt;msg&amp;gt;&lt;BR /&gt;&amp;lt;line&amp;gt;&lt;BR /&gt;&amp;lt;uid-response&amp;gt;&lt;BR /&gt;&amp;lt;version&amp;gt;2.0&amp;lt;/version&amp;gt;&lt;BR /&gt;&amp;lt;payload&amp;gt;&lt;BR /&gt;&amp;lt;login&amp;gt;&lt;BR /&gt;&amp;lt;entry name="MyDomain\user" ip="10.0.1.1" message="IP 10.0.1.1 &lt;STRONG&gt;is not in include network&lt;/STRONG&gt;"/&amp;gt;&lt;BR /&gt;&amp;lt;/login&amp;gt;&lt;BR /&gt;&amp;lt;/payload&amp;gt;&lt;BR /&gt;&amp;lt;/uid-response&amp;gt;&lt;BR /&gt;&amp;lt;/line&amp;gt;&lt;BR /&gt;&amp;lt;/msg&amp;gt;&lt;BR /&gt;&amp;lt;/response&amp;gt;&lt;/P&gt;&lt;P&gt;While This IP is clearly in a Zone where User-Id is enabled.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For a user already logged (by ActiveDirectory, via the User Agent)&lt;BR /&gt;If I try a Logout command :&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;lt;uid-message&amp;gt;&lt;BR /&gt;&amp;lt;version&amp;gt;2.0&amp;lt;/version&amp;gt;&lt;BR /&gt;&amp;lt;type&amp;gt;update&amp;lt;/type&amp;gt;&lt;BR /&gt;&amp;lt;payload&amp;gt;&lt;BR /&gt;&amp;lt;logout&amp;gt;&lt;BR /&gt;&amp;lt;entry name="MyDomain\User" ip="10.0.1.12"/&amp;gt;&lt;BR /&gt;&amp;lt;/logout&amp;gt;&lt;BR /&gt;&amp;lt;/payload&amp;gt;&lt;BR /&gt;&amp;lt;/uid-message&amp;gt;&lt;/P&gt;&lt;P&gt;No problem, I get this answer :&lt;/P&gt;&lt;P&gt;&amp;lt;response status="success"&amp;gt;&lt;BR /&gt;&amp;lt;result&amp;gt;&lt;BR /&gt;&amp;lt;uid-response&amp;gt;&lt;BR /&gt;&amp;lt;version&amp;gt;2.0&amp;lt;/version&amp;gt;&lt;BR /&gt;&amp;lt;payload&amp;gt;&lt;BR /&gt;&amp;lt;logout&amp;gt; &amp;lt;/logout&amp;gt;&lt;BR /&gt;&amp;lt;/payload&amp;gt;&lt;BR /&gt;&amp;lt;/uid-response&amp;gt;&lt;BR /&gt;&amp;lt;/result&amp;gt;&lt;BR /&gt;&amp;lt;/response&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So, did I miss something in my settings, or could this be a bug ?&lt;BR /&gt;And If so, should I update to a latest version ?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks by advance for your answers.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Michael&lt;/P&gt;</description>
    <pubDate>Thu, 24 Feb 2022 14:39:14 GMT</pubDate>
    <dc:creator>rats</dc:creator>
    <dc:date>2022-02-24T14:39:14Z</dc:date>
    <item>
      <title>USER-ID XML API Include Network</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/user-id-xml-api-include-network/m-p/468200#M2944</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using two PA-850 in HA, Software Version 8.1.21&lt;/P&gt;&lt;P&gt;For our Wifi, we have a Clearpass server sending XML-API commands to our PaloAlto, to do IP/User Mapping, but the mapping doesn't work.&lt;/P&gt;&lt;P&gt;If I try to call the API directly (using &lt;A href="https://myfirewall.com/api" target="_blank"&gt;https://myfirewall.com/api&lt;/A&gt;), I can send commands this way, and see the result.&lt;/P&gt;&lt;P&gt;Sending In API-&amp;gt; User-id this xml command, to login :&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;lt;uid-message&amp;gt;&lt;BR /&gt;&amp;lt;version&amp;gt;2.0&amp;lt;/version&amp;gt;&lt;BR /&gt;&amp;lt;type&amp;gt;update&amp;lt;/type&amp;gt;&lt;BR /&gt;&amp;lt;payload&amp;gt;&lt;BR /&gt;&amp;lt;login&amp;gt;&lt;BR /&gt;&amp;lt;entry name="MyDomain\user" ip="10.0.1.1" timeout="0"/&amp;gt;&lt;BR /&gt;&amp;lt;/login&amp;gt;&lt;BR /&gt;&amp;lt;/payload&amp;gt;&lt;BR /&gt;&amp;lt;/uid-message&amp;gt;&lt;/P&gt;&lt;P&gt;I get this Error in return :&lt;/P&gt;&lt;P&gt;&amp;lt;response status="error"&amp;gt;&lt;BR /&gt;&amp;lt;msg&amp;gt;&lt;BR /&gt;&amp;lt;line&amp;gt;&lt;BR /&gt;&amp;lt;uid-response&amp;gt;&lt;BR /&gt;&amp;lt;version&amp;gt;2.0&amp;lt;/version&amp;gt;&lt;BR /&gt;&amp;lt;payload&amp;gt;&lt;BR /&gt;&amp;lt;login&amp;gt;&lt;BR /&gt;&amp;lt;entry name="MyDomain\user" ip="10.0.1.1" message="IP 10.0.1.1 &lt;STRONG&gt;is not in include network&lt;/STRONG&gt;"/&amp;gt;&lt;BR /&gt;&amp;lt;/login&amp;gt;&lt;BR /&gt;&amp;lt;/payload&amp;gt;&lt;BR /&gt;&amp;lt;/uid-response&amp;gt;&lt;BR /&gt;&amp;lt;/line&amp;gt;&lt;BR /&gt;&amp;lt;/msg&amp;gt;&lt;BR /&gt;&amp;lt;/response&amp;gt;&lt;/P&gt;&lt;P&gt;While This IP is clearly in a Zone where User-Id is enabled.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For a user already logged (by ActiveDirectory, via the User Agent)&lt;BR /&gt;If I try a Logout command :&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;lt;uid-message&amp;gt;&lt;BR /&gt;&amp;lt;version&amp;gt;2.0&amp;lt;/version&amp;gt;&lt;BR /&gt;&amp;lt;type&amp;gt;update&amp;lt;/type&amp;gt;&lt;BR /&gt;&amp;lt;payload&amp;gt;&lt;BR /&gt;&amp;lt;logout&amp;gt;&lt;BR /&gt;&amp;lt;entry name="MyDomain\User" ip="10.0.1.12"/&amp;gt;&lt;BR /&gt;&amp;lt;/logout&amp;gt;&lt;BR /&gt;&amp;lt;/payload&amp;gt;&lt;BR /&gt;&amp;lt;/uid-message&amp;gt;&lt;/P&gt;&lt;P&gt;No problem, I get this answer :&lt;/P&gt;&lt;P&gt;&amp;lt;response status="success"&amp;gt;&lt;BR /&gt;&amp;lt;result&amp;gt;&lt;BR /&gt;&amp;lt;uid-response&amp;gt;&lt;BR /&gt;&amp;lt;version&amp;gt;2.0&amp;lt;/version&amp;gt;&lt;BR /&gt;&amp;lt;payload&amp;gt;&lt;BR /&gt;&amp;lt;logout&amp;gt; &amp;lt;/logout&amp;gt;&lt;BR /&gt;&amp;lt;/payload&amp;gt;&lt;BR /&gt;&amp;lt;/uid-response&amp;gt;&lt;BR /&gt;&amp;lt;/result&amp;gt;&lt;BR /&gt;&amp;lt;/response&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So, did I miss something in my settings, or could this be a bug ?&lt;BR /&gt;And If so, should I update to a latest version ?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks by advance for your answers.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Michael&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 14:39:14 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/user-id-xml-api-include-network/m-p/468200#M2944</guid>
      <dc:creator>rats</dc:creator>
      <dc:date>2022-02-24T14:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: USER-ID XML API Include Network</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/user-id-xml-api-include-network/m-p/468215#M2945</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/58015"&gt;@rats&lt;/a&gt;, the error refers to the "&lt;SPAN&gt;include network" and says&amp;nbsp;10.0.1.1 is not within this network. How is your include/exclude configured at the moment?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2022-02-24 at 14.48.50.png" style="width: 999px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/39312i60195574310DE8EC/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2022-02-24 at 14.48.50.png" alt="Screenshot 2022-02-24 at 14.48.50.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 14:50:59 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/user-id-xml-api-include-network/m-p/468215#M2945</guid>
      <dc:creator>JimmyHolland</dc:creator>
      <dc:date>2022-02-24T14:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: USER-ID XML API Include Network</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/user-id-xml-api-include-network/m-p/468239#M2946</link>
      <description>&lt;P&gt;Hi Jimmy,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have only a subnetwork In exclude mode, nothing else.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 15:25:33 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/user-id-xml-api-include-network/m-p/468239#M2946</guid>
      <dc:creator>rats</dc:creator>
      <dc:date>2022-02-24T15:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: USER-ID XML API Include Network</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/user-id-xml-api-include-network/m-p/468258#M2947</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/58015"&gt;@rats&lt;/a&gt;, if the IP address you are trying to register is outside of the exclude network(s), and/or inside of the include networks, as defined in the User-ID settings and the zone settings too (they also have include/exclude configuration) then this is not expected behaviour. I would suggest raising a case/ticket to have this investigated further, as sharing more details of your specific configuration in a public forum is not advised.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 16:06:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/user-id-xml-api-include-network/m-p/468258#M2947</guid>
      <dc:creator>JimmyHolland</dc:creator>
      <dc:date>2022-02-24T16:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: USER-ID XML API Include Network</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/user-id-xml-api-include-network/m-p/468496#M2950</link>
      <description>&lt;P&gt;Hi Jimmy,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll raise a ticket for this issue, thanks the answers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 07:27:10 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/user-id-xml-api-include-network/m-p/468496#M2950</guid>
      <dc:creator>rats</dc:creator>
      <dc:date>2022-02-25T07:27:10Z</dc:date>
    </item>
  </channel>
</rss>

