VMware Cloud Community
luu621
Contributor
Contributor

Test-DeployRuleSetCompliance No sessionId found

I'm using auto-deploy to deploy my ESXi host. After upgrade vCenter to 8.0.2, I'm trying to use PowerCLI to upgrade my ESXi to 8.0.2. but when use Test-DeployRuleSetCompliance command to clean up old ESXi image, I got below error.

PS C:\Windows\system32> $tr = Test-DeployRuleSetCompliance $server
Test-DeployRuleSetCompliance : 2/2/2024 2:40:24 PM Test-DeployRuleSetCompliance No sessionId found
At line:1 char:7
+ $tr = Test-DeployRuleSetCompliance $server
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Test-DeployRuleSetCompliance], VimException
+ FullyQualifiedErrorId : Core_BaseCmdlet_UnknownError,VMware.DeployAutomation.Commands.TestDeployRuleSetCompliance

 

my upgrade is blocked.

0 Kudos
0 Replies