he Resource 'Microsoft.Compute/virtualMachines/my-vm' under resource group 'learn-a9717d7d-0a8b-4449-9e14-51c17a015c26' was not found

Jim 0 Reputation points
2023-02-07T02:35:50.74+00:00

I'm learning this course Exercise - Create an Azure Virtual Machine and doing follow step by step but it has this issue. Thanks for reading. ảnh

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

2 answers

Sort by: Most helpful
  1. risolis 8,701 Reputation points
    2023-02-07T03:21:43.6133333+00:00

    Hello @jim-4275

    Thank you for posting this concern on this community space.

    I was experiencing the same behavior but with other compute resource type, but this could be either an API version issue or you can simply redeploy/reapply your Virtual machine and then try it one more time.

    You can see the next outputs down below which were some deployment error messages:

    {"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"ResourceNotFound","message":"XXX peering with service key 'xxxxxxxxx-xxx-xxx-xxx-xxxxxxxxx' could not be found."}]}

    Deployment to resource group 'xxxx_xxxxxxx_xxxxx' failed.

    Additional details from the underlying API that might be helpful: At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.

    Let me know if that was useful but if not, I can keep assisting you further.

    Looking forward to your feedback,

    Cheers,

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


  2. risolis 8,701 Reputation points
    2023-02-09T02:58:45.5733333+00:00

    Hello @Jim-4275

    I hope you are doing fine.

    I wonder if you had any chance to check the last post made as well as if additional details are required.

    Looking forward to your reply back.

    Cheers!

    0 comments No comments