Azure / Azure/azure-devtestlab
Import module fails on Azure DevOps hosted Windows agent
- Dominant language
- PowerShell
- Stars
- 465
- Forks
- 595
- PR merge metrics
- No merged PRs in 30d
Description
Following error occurs when importing Az.DevTestLabs2.psm1 from a hosted Azure DevOps agent (Windows 2019):
`2020-07-21T20:00:11.7741278Z Unable to find type [Microsoft.Azure.Common.Authentication.AzureSession].
2020-07-21T20:00:11.7742175Z At D:\a\r1\a\Az.DevTestLabs2.psm1:41 char:1
2020-07-21T20:00:11.7750292Z + [Microsoft.Azure.Common.Authentication.AzureSession]::ClientFactory.A …
2020-07-21T20:00:11.7751075Z + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2020-07-21T20:00:11.7752103Z + CategoryInfo : InvalidOperation: (Microsoft.Azure.Com…cation.AzureSession:TypeName) [], ParentContainsErrorRecordException
2020-07-21T20:00:11.7753250Z + FullyQualifiedErrorId : TypeNotFound
`
It seems that the referenced library is not present on such agent VMs.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.