Upgrading SCVMM When TFS Lab Management is Connected
Fought with a good problem yesterday.
After upgrading my System Center Virtual Machine Manager to 2012 R2; I could not change the SCVMM Settings in Team Foundation Server 2012 Lab Management to point to the new SCVMM server. I could add the library share, but not the host group.
The error was very cryptic, but I could guess that some PowerShell was not happy from the reference to commandlets and Get-Help. The screen shot is above, error text is below for the search engines to index.
“VMM is unable to process one or more of the provided cmdlet parameters. Type Get-Help NO_PARAM -full to view a list of defined parameters and complete descriptions. Then try the operation again.”
I am not sure how I am supposed to type PowerShell into the Lab Management Settings window so now what? First a quick search online for “Lab Management Get-Help NO_PARAM” no hits, so drop the Lab Management and I find an old KB from SCVMM 2008; Virtual machines cannot migrate from a Windows Server 2008 stand-alone server to a Windows Server 2008 cluster after you upgrade to System Center Virtual Machine Manager 2008 R2 with a very long title.
Virtual machines cannot migrate from a Windows Server 2008 stand-alone server to a Windows Server 2008 cluster after you upgrade to System Center Virtual Machine Manager 2008 R2
Which even though the article is from an old version of SCVMM it lets me know that there may be an issue with the SCVMM agent/console version. When using Lab Management in TFS you have to install the SCVMM console on the TFS server so this makes sense.
SCVMM Console version is 3.1.6011.0
SCVMM Server version is 3.1.7200.0
So after uninstalling the SCVMM 2012SP1 console and installing the SCVMM 2012R2 console and a quick reboot on the TFS server all works.
There wasn”t much information on the error provided when the host group add fails so hopefully if anyone forgets the important step of upgrading the SCVMM console on the TFS server they will find this post and have the information to fix it.