We’re encountering issues pulling PSCredential
objects from the PSU vault-type database. Specifically, when testing in a script running under an admin account, the $userName = $Secret:Cred.UserName
variable returns empty.
We’ve also tested adding Connect-PSUServer -AppToken
, but it hasn’t made a difference. The appsettings.json
file is configured with Data Source=
.
Any assistance would be greatly appreciated.