cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Who rated this post

Azure Active Directory users - Incorrect padding

L0 Member

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,

Who rated this post