Summary: ◀▼
You can connect action flows to Microsoft Intune to automate IT asset management, syncing device and user data between systems. Use pre-built templates to schedule daily synchronization, fetch device data, and update asset records. This integration helps maintain accurate asset status and user assignments, improving workflow coordination and asset tracking across platforms.
A pre-built but customizable action flow template is provided to help you synchronize your asset data with Microsoft Intune.
- In Admin Center, click
IT assets in the sidebar, then select Assets > Overview. - Select the Microsoft Intune template.
An action flow is created with pre-populated steps and values.
- Connect your Microsoft Intune account.
- Activate the templated action flow.
Template: Microsoft Intune
-
Action flow trigger: Schedule. The action flow trigger, which
initiates the action flow on a daily basis.
A default time at which to initiate the action flow is preconfigured, but can be adjusted.
-
Utility: Repeat while conditions are met. A looping step configured
to repeat the following actions while there are additional pages of
devices:
-
External actions: Microsoft Intune: Fetch devices.
Fetches device data from Microsoft Intune.
- Utility: Update custom variable. Updates variables related to cursor pagination of the Microsoft Intune device data.
-
Utility: Custom code. Custom JavaScript that maps the
Microsoft Intune device data to the appropriate asset type and
status in Zendesk.
If the device ismanaged in Intune and assigned to a principal user (has a value for User Principal Name), the Zendesk asset status is In use; otherwise, the status is Available.
Note: Validate and customize the pre-defined JavaScript as needed. - Zendesk actions: Batch import assets. Creates or updates asset records and associated users in Zendesk and automatically maps Microsoft Intune device details to asset fields in Zendesk.
-
External actions: Microsoft Intune: Fetch devices.
Using Microsoft Intune actions in action flows
Microsoft Intune action steps can be used in action flows to streamline the management of IT assets between systems.
Listing devices
Use the List devices action to retrieve a list of IT assets.
This action has the following inputs and outputs:
| Variables | |
|---|---|
| Inputs | None |
| Output | Device identification, hardware, purchasing, location, and user assignment data |
Locking devices
pin, stored in Microsoft Intune only, that must be used to
unlock the device.pin value isn't stored in a visible
way. You must record it outside of Zendesk.This action has the following inputs and outputs:
| Variables | |
|---|---|
| Inputs | device_id |
| Output | Device and request details |
Restarting devices
Use the Restart device action to automatically restart a managed device remotely.
This action has the following inputs and outputs:
| Variables | |
|---|---|
| Inputs | device_id |
| Output | Device and request details |
Erasing devices
Use the Wipe device action to automatically wipe a managed device remotely.
This action has the following inputs and outputs:
| Variables | |
|---|---|
| Inputs |
device_id,
keep_enrollment_data,
keep_user_data
|
| Output | Device and request details |