Azure / Azure/azure-powershell

Get-AzVMBootDiagnosticsData cannot download data for "Managed Storage Account"

Open
#25,607 0 comments 0 reactions 0 assignees View on GitHub
customer-reported feature-request needs-triage
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
2d 17h
Merged PRs (30d)
51

Description

### Description of the new feature

If a Windows VM has boot diagnostic setting enabled with the "Managed Storage Account" option, then the command cannot download data and throw the error:

`The specified blob does not exist.`

If you grab the VM's `$VM.DiagnosticsProfile.BootDiagnostics`, the `StorageUri` is empty.

### Proposed implementation details (optional)

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by tracing the Get-AzVMBootDiagnosticsData command and how it reads VM.DiagnosticsProfile.BootDiagnostics.StorageUri. Reproduce the failure with a Windows VM using the Managed Storage Account setting, then verify that boot diagnostics data can be downloaded without relying on a populated StorageUri.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp, powershell
Domain
cli, cloud
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.