Using Microsoft Intune actions in action flows

By connecting theaction builderto external systems, such as Microsoft Intune, admins can integrate Zendesk with external systems in automated workflows, improving collaboration and maintaining a seamless experience across multiple platforms.


What's my plan?







All Suites

Growth, Professional, Enterprise, or Enterprise Plus










Support

Team, Professional, or Enterprise







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.





The Microsoft Intune connector for action builder is available to
accounts that have turned on IT asset management.
By connecting the action builder to external systems, such as Microsoft
Intune, admins can integrate Zendesk with external systems in automated workflows,
improving collaboration and maintaining a seamless experience across multiple
platforms.
This article contains the following topics:
Connecting Microsoft Intune to action builder
Using Microsoft Intune actions in action flows
Using templated action flows to synchronize assets with Microsoft Intune



Note: Use of this application does not remove the need for users to maintain a valid license
for Microsoft Intune® service. Microsoft Intune® App Protection
Policies.


Connecting Microsoft Intune to action builder

Before you can include external actions in your action flows, you must connect the
action builder to the external system.
When connecting to external systems for use in action flows, the following best practices are recommended:
All external actions performed by an action flow are attributed to the user who connected the
external system. Therefore, it's a best practice to use a dedicated service
account rather than personal credentials when connecting to each external
system.
All integrations request access to necessary scopes. However, it's important that you review and validate the scopes before authorizing the connection to the external system.
When managing credentials for API key-based tools, such as OpenAI, it's best to store keys in a secure vault or credential manager.


After you connect to the system, you’ll see an indicator showing the connection status,
details about the connection, and the actions available for
Microsoft Intune.
Note: All external actions performed by an action flow are
attributed to the user who connected the external system. Therefore, it's a
best practice to use a dedicated service account rather than personal
credentials when connecting to each external system.


To connect action builder to Microsoft Intune from the ITAM Overview page
In Admin Center, click
IT assets in the sidebar, then select Assets > Overview.
Click Sync data from Microsoft Intune. An authentication modal
opens.

Click Allow connection.
Use Microsoft to authenticate the account with the email address for your
tenant.



To connect action builder to Microsoft Intune in action builder
In Admin Center, click
Apps and integrations in the sidebar, then select Actions > Action
flows.

Create or edit an action flow.
Open the step sidebar.
Under External actions, click Microsoft Intune.
Click Connect.
Use Microsoft to authenticate the account. The service account used to
connect to Microsoft Intune must be either:
A global admin in Microsoft Intune
A Microsoft Intune admin who has been assigned to the Microsoft
Intune action flow connection by a global admin. To do this, a
global admin must first authenticate the account in Action
Builder, then disconnect, and re-authenticate with the the
Microsoft Intune admin account.



Note: All external actions performed by an action flow are
attributed to the user who connected the external system. Therefore, it
is a best practice to use a dedicated service account rather than
personal credentials when connecting to each external
system.






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.
The following Intune actions are available:
List devices
Lock device
Restart device
Erase device



Note: The steps associated with external systems in action flows are referred to
collectively as external actions.


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

Use the Lock device action to lock a managed device remotely. When a
device is locked this way, Microsoft Intune automatically generates a
pin, stored in Microsoft Intune only, that must be used to
unlock the device.
Note: The 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









Using templated action flows to synchronize assets with Microsoft Intune

To make it as simple as possible to incorporate your IT asset data into your Zendesk
workflows, a pre-built but customizable action flow template is provided to help you
synchronize your asset data with Microsoft Intune.
Note: The action flow templates
described in this article describe the templates currently available. If you
activated the ITAM EAP templates, you must migrate to the new, generally
available templates by June 8, 2026.


To create a templated action flow
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

This action flow syncs Microsoft Intune device inventory data with Zendesk asset
records and is composed of the following steps:

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.







{
"@context": "https://schema.org",
"@type": "TechArticle",
"@id": "https://support.zendesk.com/hc/en-us/articles/10207241177882-Using-Microsoft-Intune-actions-in-action-flows",
"url": "https://support.zendesk.com/hc/en-us/articles/10207241177882-Using-Microsoft-Intune-actions-in-action-flows",
"headline": "Using Microsoft Intune actions in action flows",
"description": "You can connect an action builder to Microsoft Intune to automate IT asset management tasks such as listing, locking, restarting, and wiping devices through customizable action flows and templates.",
"articleSection": "Extending Zendesk",
"datePublished": "2026-01-22T16:36:46+00:00",
"dateModified": "2026-05-22T04:12:30.598742+00:00",
"inLanguage": "en-US",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https://support.zendesk.com/hc/en-us/articles/10207241177882-Using-Microsoft-Intune-actions-in-action-flows"