"TypeError: Cannot read properties of undefined (reading 'enabled')" when trying to remediate hosts
search cancel

"TypeError: Cannot read properties of undefined (reading 'enabled')" when trying to remediate hosts

book

Article ID: 375675

calendar_today

Updated On:

Products

VMware vCenter Server 7.0

Issue/Introduction

Attempting to remediate ESXi hosts against a baseline fails returning the error "TypeError: Cannot read properties of undefined (reading 'enabled')"

Cause

The account performing the remediation operation only has permissions assigned at the Datacenter level or lower in the vCenter inventory tree.

Resolution

In addition to the account's current permissions assigned at the Datacenter or lower levels, the account requires the privileges outlined in Privileges for Using vSphere Lifecycle Manager Images and Baselines also be given at the vCenter level.   The vCenter level permissions do not need to be propagated.

Or use the default [email protected] account to remediate.