How to tell whether a VM has been reimaged.

Anonymous
2021-07-27T02:12:40.437+00:00

Say I have a VMSS. I have a vm with id = 0 in this VMSS. Then I update the VMSS model. Now I know the VM has not been upgrade to the latest VMSS model through the field LatestModelApplied. Now I continue to upgrade the VM and reimage the VM. How can I know whether the VM has been reimaged? Any signals, similar to LatestModelApplied, that I can leverage?

Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
774 questions
0 comments No comments
{count} votes

Accepted answer
  1. prmanhas-MSFT 17,946 Reputation points Microsoft Employee Moderator
    2021-07-29T09:28:17.52+00:00

    @Anonymous Apologies for the delay in response and all the inconvenience caused because of the issue.

    I did some research and had internal discussion as well on same. Currently there is no Powershell command to actually tell you whether the image has been reimaged or not. You can check same on portal You can only see it in Activity Log of that VMSS Next to corresponding Resolved Logs says which instance is re imaged, Adding the screenshot for the same:

    118930-image.png

    118940-image.png

    Hope it helps!!!

    Please "Accept as Answer" if it helped so it can help others in community looking for help on similar topics.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

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.