Enable failed with exit code 53 Installation failed due to incorrect workspace key

Gabriel Hurtado 1 Reputation point
2020-11-12T20:59:36.007+00:00

I was trying to enable a log analytic workspace in a VM, but i received the error "Enable failed with exit code 53 Installation failed due to incorrect workspace key". Does anyone knows what could be happening here? Thanks.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,196 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ketan Ghelani 1 Reputation point Microsoft Employee
    2020-11-13T00:10:50.967+00:00

    We throw this error when a workspace key isn’t specified in the command. You can get the workspace key is in the Advanced settings.

    setup.exe /qn NOAPM=1 ADD_OPINSIGHTS_WORKSPACE=1 OPINSIGHTS_WORKSPACE_AZURE_CLOUD_TYPE=0 OPINSIGHTS_WORKSPACE_ID="<your workspace ID>" OPINSIGHTS_WORKSPACE_KEY="<your workspace key>" AcceptEndUserLicenseAgreement=1


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.