Azure / Azure/azure-quickstart-templates

Facing issues while applying of OMS configurations with 201-oms-extension-windows-vm template

Open
#4,582 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Bicep
Stars
14.9k
Forks
16.2k
Avg merge
6d 21h
Merged PRs (30d)
6

Description

[Deployment of a Windows VM with OMS Extension](https://github.com/Azure/azure-quickstart-templates/tree/master/201-oms-extension-windows-vm)

### Issue Details

I am trying to deploy 201-oms-extension-windows-vm template from https://github.com/Azure/azure-quickstart-templates/tree/master/201-oms-extension-windows-vm url.

I keep getting the below error:
{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.","details":[{"code":"Conflict","message":"{\r\n \"status\": \"Failed\",\r\n \"error\": {\r\n \"code\": \"ResourceDeploymentFailure\",\r\n \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\",\r\n \"details\": [\r\n {\r\n \"code\": \"VMExtensionProvisioningError\",\r\n \"message\": \"VM has reported a failure when processing extension 'Microsoft.EnterpriseCloud.Monitoring'. Error message: \\\"Failed to apply configuration to Microsoft Monitoring Agent.\\\".\"\r\n }\r\n ]\r\n }\r\n}"}]}

I am able to log into the VM and then install the mobility services agent and configure it without any issues.

![image](https://user-images.githubusercontent.com/5864392/39202321-8fb7926c-47bf-11e8-8017-8184fb5d1c28.png)

Is this something with the configurations or with the template. Is this a common scenario. We have already looked at https://aka.ms/arm-debug for debug/troubleshooting info but couldn't find anything useful. What are the common areas we can look for to perform troubleshooting of this template?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the 201-oms-extension-windows-vm template linked in the issue and review the reported Microsoft.EnterpriseCloud.Monitoring extension failure alongside the ARM debug guidance. Reproduce the deployment and inspect its deployment operations and configuration values; done means identifying the cause and documenting or applying a confirmed fix for the failed OMS configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.