Look up devices
Get Apple Device
Get Apple Device
@Get Apple DeviceInput fields:serial_number- the device’s serial number, 8 to 20 letters and digits. Lowercase is accepted.
found-falsewhen your Apple organization has no device with that serial, with amessageasking the agent to confirm the serial with the user.device-serial_number,model,product_family,product_type,status,order_number,order_date_time,purchase_source_type,purchase_source_id,added_to_org_date_time,released_from_org_date_time,is_mdm_migration_capable,mdm_migration_statusandmdm_migration_deadline_date_time.assigned_server- the MDM server’sid,nameandtype, ornullwhen the device is unassigned. When Apple can’t say which server, it’s left out andmessageasks to try again later. When the server’s details can’t be read, onlyidcomes back, withdetails_unavailable.
- Check which MDM server a new device is assigned to before it enrolls
- Confirm a serial number belongs to your organization
- Look up order details for a device
When someone says a new Apple device won't enroll, ask for its serial number and use @Get Apple Device to check which MDM server it's assigned to. If it's unassigned, tell them and escalate to IT.
Look up MDM servers and activities
List Apple MDM Servers
List Apple MDM Servers
@List Apple MDM ServersInput fields:offset(optional) - how many servers to skip, from a previous call’snext_offset. Defaults to 0.
servers- each server’sid,name,type(MDM,APPLE_CONFIGURATORorAPPLE_MDM),device_countandlast_connected_date_time.total,has_moreandnext_offset- whenhas_moreistrue, the agent calls again withoffsetset tonext_offset.
- Find an MDM server’s ID for the Assign Devices to MDM Server workflow action
- Check when an MDM server last connected to Apple
When an IT teammate asks which MDM servers we have in Apple, use @List Apple MDM Servers and reply with each server's name, type and device count.
Get Apple Device Activity
Get Apple Device Activity
@Get Apple Device ActivityInput fields:activity_id- the activity’s ID, from the Assign Devices to MDM Server workflow action’s Activity ID output or its failure message.
found-falsewhen Apple has no activity with that ID, for example after 30 days.status,sub_status,created_date_timeandcompleted_date_time.outcome- what the status means: completed for every device, completed for some and failed for others, failed, or still running.download_url- a link to Apple’s per-device results CSV. It comes back only when the requester is a workspace admin, and goes to them privately, never in a reply.
- Check whether a device assignment finished
- See which devices an assignment failed for
When someone asks whether a device assignment finished and gives an activity ID, use @Get Apple Device Activity and tell them the outcome.
Setup
Install the integration
Configure agent
Create rules
Test tools
Best practices
- Ask for the serial number.
@Get Apple Devicelooks up one device by serial, so have the agent ask for it first. - Keep it for teammates. The tools read org-wide inventory, so use them in rules for IT teammates or in runs no requester started.
- Follow up on assignments. Pass the activity ID from an Assign Devices to MDM Server step to
@Get Apple Device Activityto check per-device results.