Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

irock101

macrumors 6502
Original poster
Jul 26, 2011
362
59
Hi,
I am trying to add a new mail account to the mail app but it won't let me add a new account.
Going to system preferences -> internet accounts -> and the 'add accounts' button is blurred out.

See screenshot

Any idea how I can resolve this?
 

Furka

macrumors regular
Dec 12, 2019
106
50
First time I saw this :confused: Try to run Onyx, restart and see if it is gone.
 

bogdanw

macrumors 603
Mar 10, 2009
6,118
3,029
  • Like
Reactions: irock101

irock101

macrumors 6502
Original poster
Jul 26, 2011
362
59
Thanks but it's my personal Macbook Air M2. I have no profiles setup.
 

bogdanw

macrumors 603
Mar 10, 2009
6,118
3,029
Try to access System Settings - Passwords, where you will be asked to enter your password, then open Internet Accounts.
 

irock101

macrumors 6502
Original poster
Jul 26, 2011
362
59
Try to access System Settings - Passwords, where you will be asked to enter your password, then open Internet Accounts.
Tried that, entered password but nothing changed. Any other ideas ?
 

irock101

macrumors 6502
Original poster
Jul 26, 2011
362
59
If I go to Mail -> Add account I get this pop-up.
AD6eSxi.png


But if i go to system settings and search for profile, then this comes up:

LSNXAqf.png
 

irock101

macrumors 6502
Original poster
Jul 26, 2011
362
59
is that for an icloud account? (judging from the apps listed). and have you rebooted your mac?
Trying to add a new gmail account. Worked as usual before (couple weeks ago) but last night I did the Sonoma update and today I am trying to add a new gmail account and see this.
I checked on my other macbook which uses the same icloud and apple id and i can add accounts there as usual. Did the same update as well. Pretty clueless on how to fix this now.
 

bogdanw

macrumors 603
Mar 10, 2009
6,118
3,029
Try from Terminal
Code:
profiles show
shows any profiles installed for the user

Code:
sudo profiles show
shows profiles installed for all users
 

irock101

macrumors 6502
Original poster
Jul 26, 2011
362
59
Try from Terminal
Code:
profiles show
shows any profiles installed for the user

Code:
sudo profiles show
shows profiles installed for all users

Profiles show -> There are 2 user configuration profiles installed for 'username'

sudo profiles show -> There are no configuration profiles installed in the system domain
 

bogdanw

macrumors 603
Mar 10, 2009
6,118
3,029
You can remove them from Terminal with
Code:
profiles remove -identifier=aaaa.bbbb.cccc.dddd
where aaaa.bbbb.cccc.dddd is the profileIdentifier value listed by profiles show
 

irock101

macrumors 6502
Original poster
Jul 26, 2011
362
59
You can remove them from Terminal with
Code:
profiles remove -identifier=aaaa.bbbb.cccc.dddd
where aaaa.bbbb.cccc.dddd is the profileIdentifier value listed by profiles show
Profile identifier shows as:

profileIdentifier: system.dateandtime.force_date_time_configuration_1313185527

So i put into terminal: profiles remove - system.dateandtime.force_date_time_configuration_1313185527
and the output i get is: profiles requires a file path or identifier to run this command.

xCdzSzC.png
 

bogdanw

macrumors 603
Mar 10, 2009
6,118
3,029
To remove it
Code:
profiles remove -identifier=system.dateandtime.force_date_time_configuration_1313185527
 
  • Like
Reactions: irock101

irock101

macrumors 6502
Original poster
Jul 26, 2011
362
59
To remove it
Code:
profiles remove -identifier=system.dateandtime.force_date_time_configuration_1313185527

Tried that and got the following output:

profiles remove for identifier:'system.dateandtime.force_date_time_configuration_1313185527' and user:'myusername' returned 101 (Profile is not removable.)
 

bogdanw

macrumors 603
Mar 10, 2009
6,118
3,029
Try with sudo
Code:
sudo profiles remove -identifier=system.dateandtime.force_date_time_configuration_1313185527
 

irock101

macrumors 6502
Original poster
Jul 26, 2011
362
59
Try with sudo
Code:
sudo profiles remove -identifier=system.dateandtime.force_date_time_configuration_1313185527
profiles remove for identifier:'system.dateandtime.force_date_time_configuration_1313185527' and user:'root' returned -205 (The operation couldn’t be completed. (CPProfileManager error -205.))

Thanks so much for your help btw!! hopefully we can figure this out :)
 

bogdanw

macrumors 603
Mar 10, 2009
6,118
3,029
It should be shown by the same profiles show command, but with a different profileIdentifier
 
  • Like
Reactions: irock101

irock101

macrumors 6502
Original poster
Jul 26, 2011
362
59
Try to remove the second profile.

sudo profiles remove -com.apple.applicationaccess.digital_health_restrictions.account.settings

Password:

profiles requires a file path or identifier to run this command. Use 'profiles help' for help.
 

irock101

macrumors 6502
Original poster
Jul 26, 2011
362
59
Profile identifier shows as:

profileIdentifier: system.dateandtime.force_date_time_configuration_1313185527

So i put into terminal: profiles remove - system.dateandtime.force_date_time_configuration_1313185527
and the output i get is: profiles requires a file path or identifier to run this command.

xCdzSzC.png
Those are the only 2 profiles
 

bogdanw

macrumors 603
Mar 10, 2009
6,118
3,029
Sorry, I didn't notice it in the image
Code:
profiles remove -identifier=com.apple.applicationaccess.digital_health_restrictions.account.settings
 

irock101

macrumors 6502
Original poster
Jul 26, 2011
362
59
Sorry, I didn't notice it in the image
Code:
profiles remove -identifier=com.apple.applicationaccess.digital_health_restrictions.account.settings
Thanks for your help mate but getting the same error again.


profiles remove -identifier=com.apple.applicationaccess.digital_health_restrictions.account.settings


profiles remove for identifier:'com.apple.applicationaccess.digital_health_restrictions.account.settings' and user:'myusername' returned -205 (The operation couldn’t be completed. (CPProfileManager error -205.))
 

irock101

macrumors 6502
Original poster
Jul 26, 2011
362
59
If I type in sudo profiles remove...

I get this output:
profiles remove for identifier:'com.apple.applicationaccess.digital_health_restrictions.account.settings' and user:'root' returned -205 (The operation couldn’t be completed. (CPProfileManager error -205.))
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.