Interesting that it works fine if you loop it and manages to remove the
profile. I still find it strange that the profile is causing an issue
for you; I wonder how yours differs from mine. Mine is computer level
rather than user level, maybe that mat...
This seems very similar to the script I posted earlier on this thread. I
might give those extension attributes a try though.I'm not sure why
you'd need to remove the config profile to uninstall it. I have the
profile scoped, with the full disk access...