can't assign azure policy remediation to arc machines with MDE.Windows extensions i get error PolicyRemediationFailure

Micki Wulffeld 0 Reputation points
2024-07-05T12:06:15.05+00:00

Can't deploy azure policy remediation to arc machines with MDE.Windows extensions i get error PolicyRemediationFailure
The 'PUT' request failed with status code: 'BadRequest'. Inner Error: 'The resource with name 'HybridWorkerExtension' and type 'Microsoft.HybridCompute/machines/extensions' has incorrect segment lengths. A nested resource type must have identical number of segments as its resource name. A root resource type must have segment length one greater than its resource name. Please see https://aka.ms/arm-template/#resources for usage details

I just followed this MS article
https://learn.microsoft.com/en-us/azure/update-manager/periodic-assessment-at-scale

Azure Arc
Azure Arc
A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
440 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
924 questions
{count} votes

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.