Closed msfreaks closed 3 years ago
You are using a deprecated property on line 1266 of said script:
$BekSecretBase64 = $BekSecret.SecretValueText
In newer versions of the az module this will return empty, resulting in the script failing to complete secret-copies successfully.
Change line 1266 into: $BekSecretBase64 = ($BekSecret.SecretValue | ConvertFrom-SecureString)
And it works like a charm
Hi @msfreaks
Thanks for this information. We were working on improving the entire script and have taken this change in as well.
You are using a deprecated property on line 1266 of said script:
$BekSecretBase64 = $BekSecret.SecretValueText
In newer versions of the az module this will return empty, resulting in the script failing to complete secret-copies successfully.
Change line 1266 into: $BekSecretBase64 = ($BekSecret.SecretValue | ConvertFrom-SecureString)
And it works like a charm