We have a user level configuration profile created in the JSS that was locally installed on the machines using /usr/bin/profiles.
the removalDisallowed flag is set to True.
I've been trying to remove this from our machines but haven't had any luck. I've tried the following ran as root - /usr/bin/profiles -R -p UUID -U $user (Installing or removing to a device with a supplied user name is not supported)
/usr/bin/profiles -R -p UUID (unable to locate configuration profile)
su $user -c '/usr/bin/profiles -R -p UUID' (error reetrieving current directory. permission denied.)
Also tried copying the mobileconfig to the /tmp directory and doing profiles -R -F /tmp/nameof.mobileconfig with and without -U $user.