Skip to content

serial console blocked by read only resource lock #115

Open

Description

Hi,
it seems that currently the serial console and the boot diagnostics are not working when a resource is read-only locked.

Boot diagnostics is a read only operation on log data, I am unsure why that is blocked; serial console port is like an ethernet port, it should be working even in locked mode (at least from my point of view, could also be a documentation+better error message fix)

Current error messages in portal:
Boot diagnostics data:
Your virtual machine hasn't written anything to its serial port yet
Serial console:

The serial console connection to the VM encountered an error: 'ERR_BAD_REQUEST'
(409) - Request failed with status code 409

Activity

  1. mbifeld commented on Jun 10, 2025

    @mbifeld
    Collaborator

    Hi Klaas Weyermann (@Klaas-), thank you for reporting this issue and creating the related support ticket. This functionality is currently by design as the Serial Console service needs to write a connection string to the boot diagnostics storage account to set up the connection.

    Later this year (ETA November), we are planning to migrate Serial Console off the dependency on boot diagnostics storage accounts. So it will work with the lock in place on the storage account (or even no boot diagnostics storage account at all). I'll work on updating the documentation in the meantime.

    Note that the November change will just affect Serial Console, not serial logs.

  2. Klaas- commented on Feb 17, 2026

    @Klaas-
    Author
  3. mbifeld commented on Feb 17, 2026

    @mbifeld
    Collaborator

    Hi Klaas Weyermann (@Klaas-), my apologies for not providing an update here. The migration to remove Serial Console's dependency on boot diagnostics storage accounts was delayed to Q2 of CY 2026 (targeting April). A general notice in the docs is added here.

  4. simonaaaa commented on Oct 14, 2026

    @simonaaaa

    Any further updates Mitchell Bifeld (@mbifeld) on the migration to remove Serial Console's dependency on boot diagnostics storage account? Is it still planned for 2026?

  5. mbifeld commented on Oct 15, 2026

    @mbifeld
    Collaborator

    Hi Simon Clarke (@simonaaaa), here's the current status on the migration:

    By end of 2026, Serial Console will not use the storage account for connections. A boot diagnostics storage account will still be needed, but Serial Console won't be reading/writing to it to connect to the VM. This is already the case for ~90% of VMs today; the end of year target is for 100%.
    By end of Q1 of CY2027 (i.e. ~March), Serial Console will work on VMs that don't have a boot diagnostics storage account.

    Apologies for the delays. Please let me know if you have any questions!

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions