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

Policy: Deploy-Diagnostics-MlWorkspace doesnt work - BadRequest #893

Closed
jkorterink opened this issue Jan 18, 2022 · 1 comment · Fixed by #992
Closed

Policy: Deploy-Diagnostics-MlWorkspace doesnt work - BadRequest #893

jkorterink opened this issue Jan 18, 2022 · 1 comment · Fixed by #992
Assignees
Labels
bug Something isn't working policy Status: Fixed

Comments

@jkorterink
Copy link

Describe the bug

The policy Deploy-Diagnostics-MlWorkspace (part of Initiative Definition Deploy-Diagnostics-LogAnalytics) doesn't work. When a Machine Learning workspace is created/updated the DeployIfNotExists operation failed:

"properties": { "statusCode": "BadRequest", "serviceRequestId": "00000000-0000-0000-0000-000000000000", "statusMessage": "{\"code\":\"BadRequest\",\"message\":\"Metric category 'Run' is not supported, supported categories are: 'AllMetrics'.\"}", "eventCategory": "Administrative", "entity": "/subscriptions/xxx/resourcegroups/rg-machinelearning/providers/Microsoft.MachineLearningServices/workspaces/ml-diagdemo/providers/Microsoft.Insights/diagnosticSettings/setbypolicy", "message": "Microsoft.Insights/diagnosticSettings/write" }

Steps to reproduce

  1. Deploy and assign Initiative Definition "Deploy Diagnostic Settings to Azure Services"
  2. Deploy / update a Machine Learning workspace
  3. Wait till DeployIfNotExist action is running
  4. Error: Metric category 'Run' is not supported, supported categories are: 'AllMetrics'.

Screenshots

Deploy-Diagnostics-MlWorkspace

@jkorterink jkorterink added the bug Something isn't working label Jan 18, 2022
@ghost ghost added the Needs: Triage 🔍 Needs triaging by the team label Jan 18, 2022
@jtracey93
Copy link
Collaborator

Thanks @jkorterink for raising. Assigning this to @jfaurskov to triage and provide update 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.