How do you "registerStorageConfiguration" with a VM?

Craig 1 Reputation point
2022-06-16T13:32:17.963+00:00

Getting an intermittent issue an VM, recently was able to get information linking it to a configuration issue.

Was directed to the url, https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/vm-inspector-error-messages. Unable to find a document on how to invoke "registerStorageConfiguration" to add a new storage configuration.

Any help is welcome.

Thanks,
Craig

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

1 answer

Sort by: Most helpful
  1. deherman-MSFT 37,846 Reputation points Microsoft Employee
    2022-06-16T22:47:08.667+00:00

    @Craig
    I understand you are receiving the above error message. I confirmed that this is caused by VM Inspector not having the Storage Account set. The registerStorageConfiguration is part of the API process to set this. You can also easily do this in the portal by selecting Settings and selecting the storage account.

    212263-image.png

    We are working to improve the clarity of this in the documentation. Hope this helps. Let me know if you have further questions or issues.

    -------------------------------

    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


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.