Automating JAMF administrative task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 04-03-2023 03:35 PM
Hello all, I've been assigned to look into if it's possible to create and automate the following repetitive task, which connects to JAMF, it would need to be able to create a user account, add the new user into a Static group or building or department, and also send the new user a self-enrollment link. Does anyone have any suggestions, would love to hear back?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 04-03-2023 07:06 PM
Depending on how comfortable you are with scripting, it should be pretty simple using the api. https://developer.jamf.com/jamf-pro/reference/classic-api

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 04-04-2023 05:28 AM
- Making the account can be done with a script, or a policy.
- Assigning group, building, and department membership can be done with API and another script. You probably want user popups to enter the information unless it is static. Though if you give put access with API users who miss-type or dont care will create new group, buildings and departments in your JAMF instance. Drop downs may be an option but I have never looked in to that.
- The self enrollment link I am not understanding, for the previous two steps the device would already need to be enrolled in JAMF.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 04-04-2023 06:29 AM
To add from AJPinto, 1. it can also be done via the modern API through the MDM framework
