- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
04-07-2025
08:02 AM
- last edited on
04-07-2025
10:39 AM
by
banand
I am trying to connect an Azure AD (EntraID) to Cortex XSOAR so that I can use the user-disable playbooks. However, each time I try to authenticate i get the below error
Error in Microsoft authorization: Incorrect padding Please check authentication related parameters. Traceback (most recent call last): File "<MicrosoftApiModule>", 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)
I am using the Client_ID, Tenant ID, and Client Secret. The same settings work in postman and in the Cortex XDR office 365 integration, so I am pretty sure the client_id, secret, and permissions are correct.
I also have a Demo Azure environment that is working fine using the same setup.
Any Ideas on what may be happening?
Thanks,
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!