Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

avdMonitoring.bicep #715

Open
CraigGardinerDXC opened this issue Nov 18, 2024 · 2 comments
Open

avdMonitoring.bicep #715

CraigGardinerDXC opened this issue Nov 18, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@CraigGardinerDXC
Copy link

What happened? Provide a clear and concise description of the bug, including deployment details.

When deploying the AVD Diagnostic policies using the file "avdMonitoring.bicep" I'm receiving the following error:
{
"code": "DeploymentFailed",
"target": "/subscriptions//providers/Microsoft.Resources/deployments/Policy-Set-Definition-20241118T122809Z",
"message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.",
"details": [
{
"code": "InvalidRequestContent",
"message": "The request content was invalid and could not be deserialized: 'Error converting value "/subscriptions//resourceGroups//providers/Microsoft.OperationalInsights/workspaces/" to type 'Microsoft.WindowsAzure.Governance.PolicyService.Models.Policy.PolicyParameterDefinition'. Path 'properties.parameters.logAnalytics', line 1, position 581.'."
}
]
}

Please provide the correlation id associated with your error or bug.

38988541-bce9-4fd2-8155-882bfd872687

What was the expected outcome?

The policy initiative would be created with the required parameters.

Relevant log output

{"code":"DeploymentFailed","target":"/subscriptions//providers/Microsoft.Resources/deployments/Policy-Set-Definition-20241118T122809Z","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"InvalidRequestContent","message":"The request content was invalid and could not be deserialized: 'Error converting value \"/subscriptions//resourceGroups/rg-avd-hisp-prd-uks-monitoring/providers/Microsoft.OperationalInsights/workspaces/logavdprduks\" to type 'Microsoft.WindowsAzure.Governance.PolicyService.Models.Policy.PolicyParameterDefinition'. Path 'properties.parameters.logAnalytics', line 1, position 581.'."}]}
@CraigGardinerDXC CraigGardinerDXC added the bug Something isn't working label Nov 18, 2024
@danycontre
Copy link
Collaborator

@CraigGardinerDXC thanks for your feedback we are reviewing.

@danycontre
Copy link
Collaborator

@CraigGardinerDXC please let us know if you are still having this issue? if so:

  • Are you using existing or new log analytics workspace?
  • Are you deploying to Azure public?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants