Closed
Description
Steps to reproduce
Import-Module -Name VSTeam
I'm getting this error while importing the module on version 7.13.0
. Normally, I wouldn't even use the -Version
parameter when using Set-VSTeamAccount
cmdlet.
Expected behavior
The module would import without errors.
Actual behavior?
I see the following error displayed:
Set-VSTeamAccount: Cannot validate argument on parameter 'Version'. The argument "" does not belong to the set "TFS2017,TFS2018,AzD2019,VSTS,AzD,TFS2017U1,TFS2017U2,TFS2017U3,TFS2018U1,TFS2018U2,TFS2018U3,AzD2019U1" specified by the ValidateSet attribute. Supply an argument that is in the set and then try the command again.
On Which OS have you tried it?
Windows
What was your server version?
Azure DevOps Services
Other server version
No response
Log output of used API
Billing :
Build : 3.0
Core : 3.0
DistributedTask : 3.0-preview
DistributedTaskReleased :
ExtensionsManagement : 3.0-preview
Git : 3.0
Graph :
HierarchyQuery :
MemberEntitlementManagement :
Packaging : 3.0-preview
Pipelines :
Policy : 3.0
Processes :
Release : 3.0-preview
ServiceEndpoints : 3.0-preview
TaskGroups : 3.0-preview
Tfvc : 3.0
VariableGroups :
Version : TFS2017
Wiki :
WorkItemTracking : 3.0
Log output of $PSVersionTable
Name Value
---- -----
PSVersion 7.3.4
PSEdition Core
GitCommitId 7.3.4
OS Microsoft Windows 10.0.19045
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0