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

⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
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?
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.

However, no boot diagnostics is set for the VM.

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 ?
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?

@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.