error: Virtual machine creation will fail as one or more artifact repositories have been disabled..

Defares, Monica 0 Reputation points
2023-05-08T14:30:17.0833333+00:00

Hi Team, our Lab users are getting this error when they want to create a personal virtual machine in Azure.

Error: 'Virtual machine creation will fail as one or more artifact repositories have been disabled for this lab's mandatory artifact(s). Please contact your lab admin to re-enable the repository and resolve the issue.'

How can I found out which artifact repositories have been disabled? where should I look for the details?

Azure Lab Services
Azure Lab Services
An Azure service that is used to set up labs for classrooms, trials, development and testing, and other scenarios.
282 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Prrudram-MSFT 22,576 Reputation points
    2023-05-09T07:46:49.64+00:00

    Hello @Defares, Monica

    Thank you for reaching out to the Microsoft Q&A platform.

    One or more artifact repositories have been disabled for the mandatory artifacts in your lab, which is causing the virtual machine creation to fail. To find out which artifact repositories have been disabled, you can follow these steps:

    1. Go to the Azure portal and navigate to your DevTest Lab.
    2. Click on the "Configuration and policies" option in the left navigation menu
    3. Click on the "Artifacts" option under "External resources".
    4. Check the "Enabled" column for each artifact repository to see if it is enabled or disabled.

    If an artifact repository is disabled, you can enable it by selecting the checkbox next to it and clicking on the "Enable" button in the top menu bar. Once you have enabled the necessary artifact repositories, your lab users should be able to create personal virtual machines without any issues.

    Please refer to the following document Troubleshoot issues applying artifacts on DevTest Labs virtual machines

    If you are still facing issues, please let me know and I'll be happy to help you further.

    Please don’t forget to Accept Answer and hit Yes for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members for remediation for similar issues.

    0 comments No comments