I try to map network drive dynamically with credentials taken from orchestrator ( Get Credential activity ) for security purposes.
I have Invoke Power shell activity in Windows project
and put this inside
$driveLetter $drivePath and $userName are String
$password is SecureString
to help other:
I’ve created a ticket and this is a known issue by UiPath team.
Planned to be solved for the 2023.10 version of UiPath ( coming for october)