<?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 Re: Azure Active Directory users -  Incorrect padding in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/azure-active-directory-users-incorrect-padding/m-p/1235665#M4123</link>
    <description>&lt;P&gt;I have a similar problem, though with the Azure Active Directory Groups XSOAR integration.&lt;BR /&gt;&lt;BR /&gt;We have successfully configured Azure Active Directory Users XSOAR integration though. If I can discern the difference between the two, I'll post here with the solution.&lt;/P&gt;</description>
    <pubDate>Fri, 08 Aug 2025 04:26:23 GMT</pubDate>
    <dc:creator>mattem</dc:creator>
    <dc:date>2025-08-08T04:26:23Z</dc:date>
    <item>
      <title>Azure Active Directory users -  Incorrect padding</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/azure-active-directory-users-incorrect-padding/m-p/1225849#M3972</link>
      <description>&lt;P&gt;I am trying to connect an Azure AD (EntraID) to &lt;LI-PRODUCT title="Cortex XSOAR" id="Cortex_XSOAR"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp; so that I can use the user-disable playbooks. However, each time I try to authenticate i get the below error&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Error in Microsoft authorization: Incorrect padding Please check authentication related parameters. Traceback (most recent call last): File "&amp;lt;MicrosoftApiModule&amp;gt;", line 1358, in encrypt File "/usr/local/lib/python3.12/base64.py", line 88, in b64decode return binascii.a2b_base64(s, strict_mode=validate) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ binascii.Error: Incorrect padding (85)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I am using the Client_ID, Tenant ID, and Client Secret. The same settings work in postman and in the &lt;LI-PRODUCT title="Cortex XDR" id="Cortex_XDR"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp; office 365 integration, so I am pretty sure the client_id, secret, and permissions are correct.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also have a Demo Azure environment that is working fine using the same setup.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any Ideas on what may be happening?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 17:39:08 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/azure-active-directory-users-incorrect-padding/m-p/1225849#M3972</guid>
      <dc:creator>Matt-Thomas</dc:creator>
      <dc:date>2025-04-07T17:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Active Directory users -  Incorrect padding</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/azure-active-directory-users-incorrect-padding/m-p/1226457#M3979</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;The error of incorrect padding points me to thinking that there might be extra white spaces or unknown characters being passed on the credentials. Please double check this and if it still doesn't work then I recommend you create a case with our Support team.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2025 19:15:39 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/azure-active-directory-users-incorrect-padding/m-p/1226457#M3979</guid>
      <dc:creator>Ivetto</dc:creator>
      <dc:date>2025-04-14T19:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Active Directory users -  Incorrect padding</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/azure-active-directory-users-incorrect-padding/m-p/1235665#M4123</link>
      <description>&lt;P&gt;I have a similar problem, though with the Azure Active Directory Groups XSOAR integration.&lt;BR /&gt;&lt;BR /&gt;We have successfully configured Azure Active Directory Users XSOAR integration though. If I can discern the difference between the two, I'll post here with the solution.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Aug 2025 04:26:23 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/azure-active-directory-users-incorrect-padding/m-p/1235665#M4123</guid>
      <dc:creator>mattem</dc:creator>
      <dc:date>2025-08-08T04:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Active Directory users -  Incorrect padding</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/azure-active-directory-users-incorrect-padding/m-p/1236902#M4136</link>
      <description>&lt;P&gt;I fixed this by clicking the "&lt;SPAN&gt;Use a self-deployed Azure application" button&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Aug 2025 19:58:55 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/azure-active-directory-users-incorrect-padding/m-p/1236902#M4136</guid>
      <dc:creator>Matt-Thomas</dc:creator>
      <dc:date>2025-08-28T19:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Active Directory users -  Incorrect padding</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/azure-active-directory-users-incorrect-padding/m-p/1236911#M4137</link>
      <description>&lt;P&gt;Oops, I'd forgotten to post again once I found the solution.&lt;/P&gt;
&lt;P&gt;Just like Matt-Thomas, my integration config was successful after I checked the "Use a self-deployed Azure application" checkbox.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've noticed quite a bit of variation in terminology and layout in the XSOAR Integrations for Microsoft services, and I think XSOAR would benefit from having uniform terms and layout in the Integration, along with more specific language being used in the documentation.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Aug 2025 23:29:33 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/azure-active-directory-users-incorrect-padding/m-p/1236911#M4137</guid>
      <dc:creator>mattem</dc:creator>
      <dc:date>2025-08-28T23:29:33Z</dc:date>
    </item>
  </channel>
</rss>

