cannot remove configuration profile

Our security application is flagging a configuration profile but I can't seem to remove it. I suspect it was added to allow an application to install but I can't identify what that application was.


sudo profiles list -all


_computerlevel[1] attribute: ***REDACTED***
justin[2] attribute: profileIdentifier: legacy.restrictions.apps.digital_health_restrictions.legacy.restrictions.apps
There are 2 configuration profiles installed


profiles -R -p legacy.restrictions.apps.digital_health_restrictions.legacy.restrictions.apps


profiles remove for identifier:'legacy.restrictions.apps.digital_health_restrictions.legacy.restrictions.apps' and user:'justin' returned 101 (Profile is not removable.)


sudo on the above does not work either. Everything I have found so far involves starting in safe mode and disabling SIP etc. but it seems a user profile should be removable.

MacBook Pro (M1, 2020)

Posted on Jul 19, 2023 12:53 PM

Reply
Question marked as Top-ranking reply

Posted on Jul 20, 2023 8:54 AM

sw308 wrote:

Turns out this was due to Screen Time / App Limits enabled even though no limits were set. Disabling those items and rebooting cleared the profile item.

Thanks Leroy for your responses.


Good computing sw308 thanks for the corroboration

Similar questions

9 replies

Jul 19, 2023 2:39 PM in response to sw308

sw308 wrote:

I don't have a path to whatever config created this.

profiles remove -identifier legacy.restrictions.apps.digital_health_restrictions.legacy.restrictions.apps

yields

profiles remove for identifier:'legacy.restrictions.apps.digital_health_restrictions.legacy.restrictions.apps' and user:'justin' returned 101 (Profile is not removable.)


What do you see in >System Settings>Profiles


Jul 19, 2023 2:54 PM in response to sw308

sw308 wrote:


Only the device level profile is listed. That is expected since we installed a company security profile. The user profile is not expected and what we are trying to remove.

data:image/png;base64,



Just a wild guess—


is there user set screen time


Set time limits for apps and websites in Screen Time on Mac - Apple Support


Change Content Restrictions settings in Screen Time on Mac - Apple Support



Jul 19, 2023 1:28 PM in response to sw308

sw308 wrote:

Our security application is flagging a configuration profile but I can't seem to remove it. I suspect it was added to allow an application to install but I can't identify what that application was.

sudo profiles list -all

_computerlevel[1] attribute: ***REDACTED***
justin[2] attribute: profileIdentifier: legacy.restrictions.apps.digital_health_restrictions.legacy.restrictions.apps
There are 2 configuration profiles installed

profiles -R -p legacy.restrictions.apps.digital_health_restrictions.legacy.restrictions.apps



ref:

Add or remove configuration profiles in Apple Configurator


Terminal—

man profiles | more



EXAMPLES

profiles remove -path /profiles/testfile2.mobileconfig

Removes the configuration profile file

'/profiles/testfile2.mobileconfig' into the current user.

Jul 19, 2023 2:24 PM in response to leroydouglas

I don't have a path to whatever config created this.


profiles remove -identifier legacy.restrictions.apps.digital_health_restrictions.legacy.restrictions.apps


yields


profiles remove for identifier:'legacy.restrictions.apps.digital_health_restrictions.legacy.restrictions.apps' and user:'justin' returned 101 (Profile is not removable.)

Jul 19, 2023 2:58 PM in response to sw308

sw308 wrote:

I found a reference to that in my searches to address this but thats not the case and the name doesn't with anything I recognize.


If your company IT department can not resolve you issue...



I would Call Customer Support  (800) MYAPPLE (800–692–7753)


or on line  https://getsupport.apple.com/



Outside the USA—Contact Apple for support and service by phone

See a list of Apple phone numbers around the world.

Contact Apple for support and service - Apple Support 


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

cannot remove configuration profile

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.