Cannot run as alternate credentials in 2026.2.0

Cannot run as alternate credentials in 2026.2.0

avatar

Here are some comments received from the Discord thread.

Error executing job: Failed to login user (1326). System.ComponentModel.Win32Exception (1326): The user name or password is incorrect.

fyi I did validate that the username/password was correct for this.
And clicking on the variable in the job view where it says
"run manually by system in the pwsh environment as <variable> on <host>"
Validated that reverting back to 2026.1.7 fixed the run as issue.

Adam Driscoll
PowerShell Expert and Developer at Devolutions

All Comments (3)

avatar

What is your credential format? (e.g. user@domain, domain/user, ./user). Feel free to add that info to the issue.

My credential format was just user but i did try domain\user

avatar

I figured out the bug.

My name of the secret var was not matching the username of the cred.

The following would not work

When changing the UserName to be the same for "name" and 'User Name' it worked


dbfdf510-a30a-4490-a97b-32c16c1e433b.png

c7b13fea-26be-4775-9617-a9857106fc85.png

avatar

@michaelhanson1458 Thanks. I will try that.

Adam Driscoll
PowerShell Expert and Developer at Devolutions

Closed