Azure / Azure/WellArchitected-Tools

Does not support Azure Machine Learning Assessments correctly

Open
#65 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
159
Forks
109
PR merge metrics
No merged PRs in 30d

Description

Script has issues with Azure Machine Learning workloads.

Basically the csv export from Services Hub as categories such as

Cost Optimization - Azure Machine Learning
Reliability - Azure Machine Learning
...

This fails when creating the output csv used for reports due to line 245 in GenerateAssessmentReport.ps1 that is -

$data = $importdata #| where {$_.Category -in $filteredPillars}

The filteredPillars is checking for exact match on the WAF pillars which dont include ' - Azure Machine Learning', this then results in an empty CSV (before this line the csv had entries).

Other aspects of code have similar logic lately so report has sub headings with the correct scores but none of the additional pages and recommendations.

A workaround for anyone encountering the same issue is to open the original export csv from services hub and remove ' - Azure Machine Learning' from all the entries in Col 1. Just to generate the report.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in GenerateAssessmentReport.ps1 around line 245 and inspect how filteredPillars is applied to the Services Hub CSV categories. Reproduce the issue with entries such as “Cost Optimization - Azure Machine Learning,” then verify that the generated output CSV retains the workload data and that the report includes its additional pages and recommendations.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, machine-learning, powershell
Domain
machine-learning, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.