When attempting to attach an existing Virtual Machine Disk (VMDK) to a Virtual Machine (VM), the operation fails immediately. The vSphere client returns a generic but critical error message that prevents the hardware reconfiguration from completing.
The Edit Settings task for the VM fails at 0% or shortly after clicking OK.
Error Message: Invalid Configuration
VMware vCenter server Appliance 7.0.x
VMware vCenter server Appliance 8.0.x
The primary cause of this error in this specific scenario is a lack of sufficient permissions for the user to manage the VMs.
To confirm the issue is permission-related, attempt the operation using the SSO Administrator account:
[email protected] (or your environment's equivalent SSO admin).Method 1 to remediate user permissions.Ensure the user account has the appropriate role assigned at the Datacenter or Cluster level.
Server > Administration > Roles.Virtual Machine > Configuration > Add existing diskVirtual Machine > Configuration > Change SettingsDatastore > Allocate space3. Re-attempt the disk attachment after refreshing the session.
If vCenter permissions cannot be modified immediately, bypass vCenter by connecting directly to the host managing the VM.
VMware Host Client (https://<ESXi_IP_or_FQDN>/ui) using root credentials.Edit Settings. Add Hard Disk > Existing Hard Disk..vmdk file.Save.