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:
- 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
- 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
Other posts on Azure DevTestLabs
You might find these other posts on Azure DevTestLabs useful.
- Deploy new VM in an existing AzureDevTestLab using VSTS
- Copy custom images (VHD) between AzureDevTestLabs
- Configure WinRm with ARM template using PowerShell artifact
- Continuous Deployment with AzureDevTestLabs
I hope you find this useful.