Run/Install mobileconfig file via terminal
Hi all,
There is an option to run/Install mobileconfig file via terminal?
MacBook Air, macOS 12.6
Hi all,
There is an option to run/Install mobileconfig file via terminal?
MacBook Air, macOS 12.6
ZmiraMefei wrote:
There is an option to run/Install mobileconfig file via terminal?
No. Apple doesn’t provide a command-line means to install a mobile configuration profile, as it was abused.
Best: enroll the device into an MDM and use that. Or use System Preferences / System Settings to load the profile. The user has to be involved, or the device wholly supervised
Per the man page for the command: profiles is used to handle various profile types on macOS. Starting with macOS 11.0 (profiles tool 8.0 or later), this tool cannot be used to install configuration profiles. You should add your profiles using the System Preferences Profiles preference pane. Additionally, startup profiles are no longer supported.
ZmiraMefei wrote:
There is an option to run/Install mobileconfig file via terminal?
No. Apple doesn’t provide a command-line means to install a mobile configuration profile, as it was abused.
Best: enroll the device into an MDM and use that. Or use System Preferences / System Settings to load the profile. The user has to be involved, or the device wholly supervised
Per the man page for the command: profiles is used to handle various profile types on macOS. Starting with macOS 11.0 (profiles tool 8.0 or later), this tool cannot be used to install configuration profiles. You should add your profiles using the System Preferences Profiles preference pane. Additionally, startup profiles are no longer supported.
Run/Install mobileconfig file via terminal