MethodsAndPractices / vsteam

PowerShell module for accessing Azure DevOps Services and Azure DevOps Server (formerly VSTS or TFS)
https://methodsandpractices.github.io/vsteam-docs/
MIT License
445 stars 155 forks source link

Get-VSTeamAgent doesn't return the ID of the agents #337

Closed okamilobo closed 4 years ago

okamilobo commented 4 years ago

Steps to reproduce


Set-VSTeamAccount -Account https://dev.azure.com/<org> -Token <token with full access to org>
Get-VSTeamAgent -PoolId <pool  Id>

Agent ID needed for subsequent calls.  

Expected behavior

A list of the agents registered in the pool with all of the columns including Id populated with values.

Actual behavior

A list of the agents registered in the pool with all of the columns populated with values EXCEPT Id .

Environment data

OS

Server

empty

Get-VSTeamAPIVersion

Name Value


Release 5.1-preview Version VSTS MemberEntitlementManagement 5.1-preview TaskGroups 5.1-preview.1 DistributedTask 5.0-preview Core 5.0 Packaging 5.1-preview ServiceFabricEndpoint 5.0-preview VariableGroups 5.0-preview.1 Build 5.1-preview Git 5.1-preview ExtensionsManagement 5.1-preview Graph 5.1-preview Policy 5.1 Tfvc 5.0

$PSVersionTable

Name Value


PSVersion 5.1.18362.752 PSEdition Desktop PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} BuildVersion 10.0.18362.752 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1

okamilobo commented 4 years ago

No Id

SebastianSchuetze commented 4 years ago

Thanks! We will check.

DarqueWarrior commented 4 years ago

Looking at it now.

DarqueWarrior commented 4 years ago

will be fixed in 6.5.1. Thanks so much for reporting this.

DarqueWarrior commented 4 years ago

Fix will be in 6.5.1