keyvault extension is not pulling the certificate. do you know where do i check the logs?

Anand Rathi 96 Reputation points
2020-08-11T08:31:50.003+00:00

keyvault extension is not pulling the certificate. do you know where do i check the logs?

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,145 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Anand Rathi 96 Reputation points
    2020-08-11T14:23:12.97+00:00

    As per the documentation logs are found at %windrive%\WindowsAzure\Logs\Plugins\Microsoft.Azure.KeyVault.KeyVaultForWindows\<version>\akvvm_service_<date>.log

    But i am unable to finc any logs. any idea what is that i am missing

    0 comments No comments

  2. JamesTran-MSFT 36,476 Reputation points Microsoft Employee
    2020-08-12T21:15:29.5+00:00

    @Anand Rathi
    Thank you for your time over the call today. I was able to look into your issue and will post my findings below.

    Issue: When you installed the extension on a single VM, you are able to find the logs within the documented folder path. However, when installing the extension on a VMSS you weren't able to find any log files.

    Findings:
    Before I installed the extension I only had one instance of a VMSS running:
    17160-beforeinstall.jpg

    Installed extension - afterwards I restarted the VM, and wasn't able to find the logs:
    17275-extinstall.jpg
    17208-nologs.jpg

    I provisioned another instance of my VMSS and found the log files:
    17291-newvm.jpg17039-newvmlogs.jpg

    I then noticed that my original VM wasn't upgraded to the latest model, while my newly provisioned VM was. Therefore, I upgraded my VM and was able to find the log files.
    17168-latestmodel.jpg
    17227-upgradevm.jpg
    17276-latesmodel2.jpg
    17226-upgradelogs.jpg

    If you have any other questions, please let me know.
    Thank you again for your time and patience throughout this issue.