virtual machine is unavailable

Nikos Sotiriadis 40 Reputation points
2025-01-20T08:35:42.6966667+00:00

Hello all,

On an Azure vm i see an alert which is repeated every 2 3 days . Resource health writes this event "Your virtual machine is unavailable at the moment. Please check back in a few minutes for any updates we find on the source of the unavailability of this VM. No additional action is required from you at this time"

this event may happen during weekends or random time at night where no one uses this system

Event show ID 41 The system has rebooted without cleanly shutting down first with 0 in bug check

Vm size is large enough to handle several operations (E8as v5)

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,360 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Srinud 3,840 Reputation points Microsoft Vendor
    2025-01-20T14:34:28.02+00:00

    Hi Nikos Sotiriadis,
    Welcome to Microsoft Q&A Platform, thanks for posting your query here.

    Based on the information provided, it appears that your virtual machine is currently unavailable due to unexpected system reboots or shutdowns without following a proper shutdown process. Event ID 41 typically occurs when the system crashes or experiences sudden power loss, leading to a restart without the operating system shutting down correctly.

    Event ID 41 may not be recorded, or the bug check code might be zero, which could indicate a power supply issue. If the computer's power is interrupted, it may shut down without generating a Stop error. In such cases, the Stop error may not complete writing the error codes to disk.
    Consequently, when the computer restarts, Event ID 41 may not be logged, or the bug check code may be zero. For portable computers, this could be due to a removed or fully drained battery. For desktop computers, it could be caused by being unplugged or experiencing a power outage. Additionally, the power supply unit may be underpowered or faulty.

    Please find the below document for more information:
    Advanced troubleshooting for Event ID 41: "The system has rebooted without cleanly shutting down first"

    If the information is helpful, please consider by clicking the "Accept answer and Upvote" on the post.

    If you have any further queries, please let us know in the comment. We are glad to help you.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.