Skip to content

Commit 1ac8e8f

Browse files
committed
resolve 85990
1 parent 531b88d commit 1ac8e8f

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

articles/virtual-machines/extensions/key-vault-windows.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -416,11 +416,8 @@ Use PowerShell to deploy the version 1.0 Key Vault VM extension to an existing V
416416
> [!WARNING]
417417
> PowerShell clients often prefix a quote mark `"` with a backslash `\` in the settings JSON file. The extraneous characters cause the akvvm_service to fail with the error, "[CertificateManagementConfiguration] Failed to parse the configuration settings with:not an object."
418418
>
419-
> You can see the supplied backslash `\` and quote `"` characters in the Azure portal. Check the contents of the settings JSON file under **Settings** > **Extensions + Applications**. To avoid the error, initialize the `$settings` property as a PowerShell `Hashtable` as follows:
420-
>
421-
> ```powershell
422-
> $settings = @{"secretsManagementSettings" = @{"pollingIntervalInS"="<pollingInterval>"; "certificateStoreName"="<certStoreName>";"certificateStoreLocation"="<certStoreLoc>";"observedCertificates"=@("<observedCert1>", "<observedCert2>")};"authenticationSettings"=@{"msiEndpoint"="<msiEndpoint>";"msiClientId"="<msiClientId>"} }
423-
> ```
419+
> You can see the supplied backslash `\` and quote `"` characters in the Azure portal under **Settings** > **Extensions + Applications**. To avoid the error, initialize the `$settings` property as a PowerShell `Hashtable`. Avoid using extra quote mark `"` characters, and ensure the variable types match. For more information, see [Everything you wanted to know about hashtables](/powershell/scripting/learn/deep-dives/everything-about-hashtable).
420+
>
424421
425422
#### Deploy on a VM
426423

0 commit comments

Comments
 (0)