Azure-docs: Boot diagnostics configuration missing

Created on 25 Jan 2020  Â·  11Comments  Â·  Source: MicrosoftDocs/azure-docs

How could one enable Boot diagnostics thru the Sample diagnostics configuration?

image


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri2 cost-management-billinsvc cxp product-question triaged virtual-machines-windowsvc

All 11 comments

Hello @Ayanmullick ,

Thank you for your feedback! We will review and provide an update as appropriate.

@Ayanmullick , Can you try using the below command to enable boot diagnostics?

https://docs.microsoft.com/en-us/powershell/module/azurerm.compute/set-azurermvmbootdiagnostics?view=azurermps-6.13.0

For boot diagnostics you don't need to use sample diag config.

@Ayanmullick , Do you have any update on this issue?

Please tag me if you have any further questions.

@msrini-MSFT, Thanks for following up. The PowerShell cmdlet runs without error.

image

However, no boot diagnostics is set for the VM.

image

The Sample config should have a line to turn boot diagnostics on or off.

@MohitVerma-MSFT, Please reopen.

@Ayanmullick , Seems like the command Set-AzVMDiagnostic is broken. Can you please raise an issue in Power-shell repo ?

https://github.com/Azure/azure-powershell/issues

No @msrini-MSFT. I don't think PowerShell is broken. It could, potentially, be a bug with the Az.Compute module. @SteveL-MSFT, could you confirm?

@msrini-MSFT , Having said that, the sample diagnostics config file must be capable of handling boot diagnostics configuration.

This doesn't look like an issue in PowerShell itself, but in the Set-AzVMBootDiagnostic cmdlet. As @msrini-MSFT noted, please open an issue in the Azure PowerShell repo: https://github.com/Azure/azure-powershell/issues

i have confirmed that the instructions provided here do not - turn on boot diagnostics if they are already off - https://docs.microsoft.com/en-us/powershell/module/az.compute/set-azvmbootdiagnostic?view=azps-3.3.0#examples

Thanks @SteveL-MSFT , for confirming. The potential bug with the Az.Compute module is being worked on thru 120012724002410.
@msrini-MSFT , Microsoft should document why the sample config file is capable of configuring all settings on this page but not the boot diagnostics settings?

image

@msrini-MSFT , Set-AzureRmVMBootDiagnostics can't point to a storage account in a different subscription for boot diagnostics. Microsoft should provide the appendix of all things one can configure thru the config file; not just a sample.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ianpowell2017 picture ianpowell2017  Â·  3Comments

Favna picture Favna  Â·  3Comments

spottedmahn picture spottedmahn  Â·  3Comments

jebeld17 picture jebeld17  Â·  3Comments

monteledwards picture monteledwards  Â·  3Comments