Unable to proceed with VCF ESXi upgrade to 9.x as the bundle is grayed out.
The bundle is grayed out because one of the pre-requisites have not been met: which is to Transition to vSphere Lifecycle Manager (vLCM) Images using SDDC Manager.
While attemtping to follow steps from Transition to vSphere Lifecycle Manager Images Using the PowerShell Script Command-Line Interface it fails in step 1 itself.
It was validated that we are running the latest version of the script as per kb 385617.
However, it still fails to connect to powershell and fails with:
[ERROR] Error Message: {"errorCode":"TOKEN_BAD_REQUEST", "arguments": ["Password cannot be null"], "message":"Password cannot be null", "referenceToken":"######"}
It was also validated that SDDC is able to generate tokens sucessfully.
VCF 9.x
The PowerShell script fails to authenticate because of a name resolution or certificate mismatch issue when using the Fully Qualified Domain Name (FQDN) of the SDDC Manager.
This causes the credential object to be passed incorrectly to the API, resulting in a TOKEN_BAD_REQUEST error where the password is perceived as null.
Instead of using FQDN, please use the IP to connect to SDDC instead.
Post this, connection from powershell is successful.