Azure Active Directory users - Incorrect padding

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

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,

0 REPLIES 0
  • 106 Views
  • 0 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!