- 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,