Unable to perform Cross vCenter migration due to "Compatibility TypeError: Cannot read properties of null (reading 'type')"
search cancel

Unable to perform Cross vCenter migration due to "Compatibility TypeError: Cannot read properties of null (reading 'type')"

book

Article ID: 421687

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  • You are trying to perform a Cross vCenter migration with a non administrator account
  • While selecting the networksm the VM source network is blank and the comptatibilty window shows the following error.

 "Compatibility TypeError: Cannot read properties of null (reading 'type')" 

Environment

  • vCenter Server 8.x 

Cause

This issue arises when the user performing the migration does not have enough permission on the VM source portgroup

Resolution

  • Add read-only (at least) permission on the VM portgroup or its parent folder or parent datacenter for the user performing the migration task.  


VCenter Hierarchical Inheritance of Permissions

Most inventory objects inherit permissions from a single parent object in the hierarchy.

Distributed portgroup inherit from parent network folder which inherits from parent datacenter.