Posted on 06-21-2023 08:13 AM
Hello, Is there an API command to install an app that is configured for Self Service?
Posted on 06-21-2023 10:00 AM
You cant run terminal commands on mobile devices. You could run an API command from a PC or Mac, to add a device to a group that is scoped to automatically install an App if you were so inclined.
Posted on 06-21-2023 10:50 AM
Thanks, I know you cant run Terminal commands. I was referring to the REST API, I should have been more clear. I want to leave the app in the SelfService as a user install but there will be instances where I need to push the app.
Posted on 06-22-2023 08:44 AM
There is Self Service URL schemes which can be used for one or multiple app installs on macOS / iOS. A few other actions available as well.
eg. jamfselfservice://content?entity=<content_type>&id=<content_id>&action=execute
Posted on 06-22-2023 08:58 AM
This might work, I will play with this. Thank you!
Posted on 06-22-2023 09:06 AM
No problem, hope it helps. I've used for iOS, installing all the Office apps in the form of a webclip on the home screen with an icon. One press after enrolment which is easy for end user and leaves it in their hands.
selfserviceios://appInstall?apps=com.microsoft.Office.Word,com.microsoft.Office.Powerpoint,com.microsoft.Office.Excel,com.microsoft.onenote
Posted on 07-13-2023 10:56 AM
Hi @Bol - We are looking to do this, however all we are seeing it opens Self Service and a pop up with "App Installation in Progress - Apps are being installed on your device. This process may take a few minutes"....nothing happens, even hours later. This is for Internal apps (IPA File). Do you do anything different?
Posted on 07-13-2023 09:22 PM
I haven't tried with in house apps but I would assume if they are already deploying correctly with an app item scoped to the device, there shouldn't be an issue.
Do you see mdm commands 'Installing app' for that device show up in the Management History? If no check the url, if yes there's a Jamf issue possibly.
Check the known issues, there's currently one I hadn't seen before;
When utilizing the URL app install schema "selfserviceios://appInstall?apps=listOfApps", Self Service fails to install the correct apps if there are multiple listed and instead installs a random app that is available in Self Service.