Error running profiles command through terminal

bbot
Contributor

Hello,

I'm running into an error running a script to install a mobileconfig profile using the /usr/bin/profiles -I -F command. The mobileconfig is configured to pull certificates to connect to our 802-1x authenticated. The error returns "returned 102 (The operation couldn’t be completed. (CPFAccess error 102.))" or "(The 'Active Directory Certificate' payload could not be installed. The certificate request failed.)"

I am able to double click the .mobileconfig file and it works fine 100% of the time.

It seems to be hit or miss. It works for some people and not for others. Sometimes doing a restart of the machine allows it to work.

1 REPLY 1

bbot
Contributor

Nevermind. I specified the user using the -U switch and that seemed to have fix it.