Azure Automation / State Configuration Credential issue #16574
-
Hi all, I've got 2 Key vault secrets: And I am trying to create Automation Account Credential using secret 'Admin': $AutomationAccountName = '...' $Password = Get-AzKeyVaultSecret -VaultName $VaultName -Name Admin New-AzAutomationCredential -AutomationAccountName $AutomationAccountName That works as expected and it pulls Key vault secret (password) and creates Automation Account Credentials with required user name (and I hope) Key vault secret as a password: Then I have DSC configuration which should, as a first step, change local admin password (Superman) to the one stored in Automation Account Credentials: All seems to be working, but once I run this DSC config, it resets the password (to something 'unknown') and I am not ale to get into my VM... User [string] #ResourceName Anyone any idea how to get it working? Thanks much, Tomas |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
As exptected - don't ask me how, but suddenly it's working...investigating :) |
Beta Was this translation helpful? Give feedback.
As exptected - don't ask me how, but suddenly it's working...investigating :)