If you are using Azure DevTestLabs you are probably loving and leveraging the Public/Private artifact repository feature available in the labs. The feature is great but should the artifacts fail it’s not easy to get to the logs of the failure to diagnose the issue. In this blogpost I’ll show you the two available ways to see the artifact logs in Azure DevTestLabs.

Troubleshooting Artifacts in AzureDevTestLabs

To view the logs related to your custom artifact you have 2 options:

AzureDevTestLabs InfrastructureIsCode

  • Azure Portal: To view the artifact logs from the Azure Portal follow these steps,
    • In the Azure Portal from under dev test labs, click the virtual machine you want to investigate
    • For this virtual machine, from under the essential section click on the Resource Group for the virtual machine
    • From the resource group click on the virtual machine
    • From the settings blade select Extensions
    • This will show you the extensions installed or being installed on the VM
    • Click on the failed extension to see the detailed status

      AzureDevTestLabs InfrastructureIsCode

  • Logs on the VM: To view the artifact logs from with in the virtual machine follow these steps,
    • Log into the Virual Machine
    • Navigate to the folder C:\Packages\Plugins\Microsoft.Compute.CustomScriptExtension\1.8\Status\0.status

      AzureDevTestLabs InfrastructureIsCode

Other posts on Azure DevTestLabs

You might find these other posts on Azure DevTestLabs useful.

I hope you find this useful.

Happy troubleshooting!


About author
Tarun Arora
Tarun Arora
Tarun Arora is obsessed with high-quality working software, DevOps, Continuous Delivery and Agile. His core strengths are Azure, Azure DevOps, PowerShell, SQL and WPF. He is a Microsoft MVP in Visual Studio Development Tools and the author of 'DevOps & ALM with TFS 2015'.
We Are
  • onlyutkarsh
    Utkarsh Shigihalli
    Microsoft MVP, Technologist & DevOps Coach


  • arora_tarun
    Tarun Arora
    Microsoft MVP, Author & DevOps Coach at Avanade

Do you like our posts? Subscribe to our newsletter!
Our Book