SCVMM: No Run As account is associated with the host

If you get this error then trying to add Resources to a host or cluter in SCVMM it’s probably because as the warning describes because no run as account is set for the host. Remeber this account cannot be the same as the scvmm service account.

RunAsProfile

1. Navigate to: Settings > Run As Accounts

RunAsProfile_Create

2. Associate the run as account with the host by using PowerShell:

$Cluster = Get-SCVMHostCluster -Name CLUSTER-NAME
$RunAsAccount = Get-SCRunAsAccount -Name "RUNASACCOUNT"
Set-SCVmHostCluster -VMHostCluster $Cluster -VMHostManagementCredential $RunAsAccount

 

 

Leave a Reply

Your email address will not be published.