Symptoms
Unable to uninstall Intelligent Hub from an unenrolled device. Device which was enrolled into Workspace ONE earlier and had a restriction to disable the uninstall option from the Intelligent Hub menu bar dropdown. The device is no longer enrolled but the Uninstall Intelligent Hub option is disabled.
Resolution
Resolution:
1. Open terminal and execute below command:
sudo sh /Library/Scripts/hubuninstaller.sh
For further cleanup:
2. You can also verify there are no leftover user profiles on the device with the following command:
sudo /usr/bin/profiles -P
3. If any profiles are present for a user, they can be removed from System Preferences > Profiles while logged into that user.
a. You can also execute the following command (using the profile identifier from the previous command):
sudo /usr/bin/profiles -R -p XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXX