vSphere Configuration Profiles Error: "Unable to read the imported file"
search cancel

vSphere Configuration Profiles Error: "Unable to read the imported file"

book

Article ID: 383151

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

To simplify configuration consistency across ESXi hosts, we can use Configuration Management using
vSphere Configuration Profiles. When trying to import the JSON configuration file in the Configuration Profiles section under the cluster configuration we see the error:

"Unable to read the imported file".

This prevents the user from having an active configuration that can be applied to the hosts in the cluster.

Environment

vSphere 8.x

Cause

Corrupt JSON file or invalid context/formatting of the JSON file.

Resolution

Please follow the below resolution steps.

  1. Extract a new JSON (Configuration Profile) from a host in the cluster that is configured as required.
  2. Export the JSON file to your local computer.
  3. Manually edit the JSON file and verify that the JSON file is not corrupt and/or have invalid context/formatting of the JSON file.
  4. Import the edited and verified JSON file into the configuration profiles and remediate all the hosts.

Additional Information

Using vSphere Configuration Profiles to Manage Host Configuration at a Cluster Level:
Using vSphere Configuration Profiles to Manage Host Configuration at a Cluster Level