PowerShell Script Execution in Workflows does not execute AD commands present in the PS script

Hi @SoumyaVaramballi ,

Did you manage to resolve this issue? I’ve managed to authenticate using Kerberos. This discussion has some info on this topic, my issue was that the username contained AD domain.

I did run into another issue that executing powershell commands doesn’t work unless the credentials of the authenticated user are passed in the AD command (e.g. get-ADUsers Get-ADUser -Identity $user -credentials $cred).

Does anybody have some idea what additional configuration is required to achieve this without passing the credentials in the script?