If there are multiple hosts configured across groups, there may be an issue while creating hierarchical groups in SAM. Delete the disjointed hosts from the topology and the current map console structure, and run the script.
If there are multiple hosts configured across groups, there may be an issue while creating hierarchical groups in SAM. Delete the disjointed hosts from the topology and the current map console structure, and run the script.