Repository navigation
Jamf API Permissions
Magic Toolbox works with either a Jamf Pro API client (recommended) or a Jamf Pro user account. Give the account only the privileges for the tools you use.
At the start of each session, the app shows which privileges are Allowed and which are Denied. Usually you can click Proceed Anyway → if something is missing, but any action that needs it will fail. There are two exceptions:
- If the app can't read the account's own privileges (see below), you have to fix that first. You go back to the Connect step with a message that names the missing privilege.
- Profile uploads stop if Create macOS Configuration Profiles is missing, or if the app can't read the account's privileges.
Privilege names below match the ones in Jamf Pro → Settings → System → API Roles and Clients. Jamf sometimes renames privileges between versions. If a name doesn't match exactly, pick the nearest one.
To show you the permission check, and before every profile upload, Magic Toolbox reads the account's own privileges. That needs:
| Account type | Extra privilege needed |
|---|---|
| API client | Read API Integrations and Read API Roles |
| Username & password | Read Accounts |
For an API client, the app finds the API client whose Client ID matches yours, then collects the privileges from every API role assigned to it. For a username and password, it finds the account with that username and reads its privileges.
If these privileges are missing, the app tells you which privilege to add and where to find it in Jamf Pro.
Username & password accounts: the check reads privileges assigned to the account directly. Privileges that come only from a Jamf Pro group the account belongs to may show as Denied, even though they work. Profile uploads can't skip this check, so they're refused. An API client avoids this.
The Compare tool is an exception. It tests access by making a read request to each endpoint it uses, so it doesn't need the extra privileges above. In Instances mode it only tests the first server.
| Tool | Privileges |
|---|---|
| Compare: Computers mode | Read Computers, Read Policies, Read macOS Configuration Profiles, Read Smart Computer Groups, Read Static Computer Groups |
| Compare: Instances mode | Read Policies, Read macOS Configuration Profiles, Read Smart Computer Groups, Read Static Computer Groups, Read Scripts, Read Computer Extension Attributes, Read Packages (on each server) |
| Profile Conflicts | Read macOS Configuration Profiles, Read iOS Configuration Profiles |
| Smart Group Audit | Read Smart Computer Groups, Read Smart Mobile Device Groups |
| Downloader | Read Scripts, Read Computer Extension Attributes, Read Mobile Device Extension Attributes, Read macOS Configuration Profiles, Read iOS Configuration Profiles, Read Packages. To download package files from Jamf Cloud: Read Jamf Cloud Distribution Service Files |
| Icons: scan | Read Policies. Optional: read access to Self Service branding and Enrollment Customizations to include branding images |
| Tool | Privileges |
|---|---|
| Clone: source server | Read for every object type you clone. The check lists all 18 types, so you can ignore Denied rows for types you don't clone |
| Clone: destination server(s) | Read, Create, Update for every object type you clone, plus Create for Categories, Scripts and Extension Attributes (created automatically as dependencies), Read Packages (to check for missing packages) and icon upload access (to copy Self Service icons) |
| Wipe | Read, Delete for every object type you plan to wipe. The check lists every type. The Computer Groups and Mobile Device Groups rows check the Smart group privileges only, so add the matching Static group privileges too if you wipe static groups. The App Installers row checks the Mac Applications privileges |
| Restore | Read, Create for every object type in the backup |
| Unused | Read for each category you scan: Packages, Scripts, Policies, macOS Configuration Profiles, Smart Computer Groups. Scanning Packages or Scripts also reads every policy, so it needs Read Policies too. Packages also checks patch policies. If the account can't read them, that step is skipped quietly, and packages used only by patch policies show as unused. Delete for the same, only if you delete items from the results. The smart group row can show Denied even when the privilege is there. If so, use Proceed Anyway → |
PPPC Analyser, System Extensions, Web Content Filter, Notifications and Login Item Profiles only talk to Jamf Pro when you click Upload. They need:
- Create macOS Configuration Profiles
- Read macOS Configuration Profiles and Update macOS Configuration Profiles (used when a profile with the same name already exists and gets updated)
- the privileges to read the account's own permissions (see above). The upload checks for Create macOS Configuration Profiles first, and stops if it can't read the account's privileges.
The Extract from .app feature in Icons needs permission to upload icons. Attach to a Policy… also needs Read Policies and Update Policies.
Inspector runs entirely on your Mac. So does the analysis part of every profile builder.
| Object type | Clone | Wipe | Restore |
|---|---|---|---|
| Categories | ✅ | ✅ | ✅ |
| Buildings | ✅ | ✅ | ✅ |
| Departments | ✅ | ✅ | ✅ |
| Sites | ✅ | ||
| Network Segments | ✅ | ||
| Scripts | ✅ | ✅ | ✅ |
| Computer Extension Attributes | ✅ | ✅ | ✅ |
| Mobile Device Extension Attributes | ✅ | ✅ | ✅ |
| Smart / Static Computer Groups | ✅ | ✅ | ✅ |
| Smart / Static Mobile Device Groups | ✅ | ✅ | ✅ |
| Policies | ✅ | ✅ | ✅ |
| macOS Configuration Profiles | ✅ | ✅ | ✅ |
| iOS (Mobile Device) Configuration Profiles | ✅ | ✅ | ✅ |
| Mac Applications (Mac App Store apps) | ✅ | ✅ | ✅ |
| Mobile Device Applications | ✅ | ✅ | ✅ |
| Restricted Software | ✅ | ✅ | ✅ |
| Advanced Computer Searches | ✅ | ✅ | |
| Advanced Mobile Device Searches | ✅ | ✅ | |
| Packages (records only) | ✅ | ✅ | |
| Computer PreStage Enrollments | ✅ | ✅ | |
| Mobile Device PreStage Enrollments | ✅ | ✅ | |
| API Integrations | ✅ | ✅ | |
| API Roles | ✅ | ✅ | |
| App Installers | ✅ | ❌ (can't be backed up) |
| Role | Use for | Privileges |
|---|---|---|
| Magic Toolbox – Audit | Compare, Profile Conflicts, Smart Group Audit, Downloader, Icons, Unused (scan only) | All the Read privileges above, plus Read API Integrations and Read API Roles |
| Magic Toolbox – Profiles | Uploads from the profile builders | Read, Create and Update macOS Configuration Profiles, plus Read API Integrations and Read API Roles |
| Magic Toolbox – Admin | Clone destinations, Restore | Audit role, plus Create and Update for the object types you copy |
| Magic Toolbox – DEV Wipe | Wipe, on DEV/TEST servers only | Read and Delete for the types you wipe. Never give this role to a client on a production server. |
Magic Toolbox © MDM Magic · mdmmagic.au · Releases · Report an issue
Getting started
Deployment
Jamf Pro Tools
- Clone
- Compare
- Wipe
- Restore
- Disable
- Create
- Command
- Broadcast Command
- Device Logs
- LAPS
- MDM Command Queue
- Redeploy
- Webhook Manager
- Self Service Descriptions
Audit & Health Check
- Profile Conflicts
- Smart Group Audit
- Account Audit
- Cert & Token Expiry
- Unused
- Network Check
- Script Auditor
- Fleet Health
- Extension Attributes
- Self Service Audit
- Stale Devices
- Profile Drift
- Policy Audit
- Patch Compliance
- Conditional Access
- Category Audit
- Pre-stage Audit
- Enrolment Funnel
Profile Builders
- PPPC Analyser
- System Extensions
- Web Content Filter
- Notifications
- Login Item Profiles
- Profile Signer
- Profile Unsigner
- Profile Inspector
- Uploading Profiles
Content & Packages
Reference