Hello Emilio,
Thank for your feedback, but this does not work:

------------------------------
benlinux
------------------------------
Original Message:
Sent: Tue December 05, 2023 03:27 AM
From: Emilio Andrés Fernández
Subject: LDAP and Active Directory Functions for SOAR - Issue with Toggle Access and Add Users
Hi Benjamin,
You have to use the DN instead of the samAccountName. You can use the search function filtering by samaccountname to obtain de DN.
------------------------------
Emilio Andrés Fernández
Original Message:
Sent: Fri December 01, 2023 05:38 PM
From: Benjamin Nworah
Subject: LDAP and Active Directory Functions for SOAR - Issue with Toggle Access and Add Users
Hello Experts,
I observed that the "LDAP utilities: Toggle Access" playbook (PB) does not enable/disable user on my Active directory server. For example the user test123 cannot be enable using the PB. This PB completes without any error. I am referring to the below application in IBM app exchange:
https://exchange.xforce.ibmcloud.com/hub/extension/72b8204066d3b290b68bae2eeb1942cd
Also, the "LDAP utilities: Add user" PB creates a logon name of alphanumeric string as shown below when it creates user..

Please assist.
------------------------------
Benjamin Nworah
------------------------------