Hi,
If we have multiple forest/domains based on a resource forest model :
… 6 resources forest for now …
Is-it possible to use different credential for each job ?
In that case, why it doesn’t work as expected ?
Error executing job: Failed to login user (1385). System.ComponentModel.Win32Exception (1385): Logon failure: the user has not been granted the requested logon type at this computer.
Believe me, the credentials are correct. I tried CONTOSO\samaccoutname
and UserPrincipalName
format to create PSCredential variables in my vault …
I’ve also tried to Get-Secret 'creds'
after trying to import the module Microsoft.PowerShell.SecretManagement
(which seems to be not possible) but, no luck
If you got some ideas …