What's my plan?
All Suites Growth, Professional, Enterprise, or Enterprise Plus
Support Team, Professional, or Enterprise
The Microsoft Intune connector for action builder is available as part of the IT Asset Management EAP.

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.
To connect action builder to Microsoft Intune
  1. In Microsoft Entra, register a new app with the following details:
    • Set the Redirect URI to https://zis.#%7Baccount%7D.zendesk.com/api/services/zis/connections/oauth/callback" format="html" scope="external.
    • Add the following API scopes:
      • https://graph.microsoft.com/DeviceManagementManagedDevices.Read.All"
      • https://graph.microsoft.com/User.Read.All offline_access
  2. In Admin Center, click Apps and integrations in the sidebar, then select Actions > Action flows.
  3. Create or edit an action flow.
  4. Open the step sidebar.
  5. Under External actions, click Microsoft Intune.
  6. Click Connect.
  7. Use Microsoft to authenticate the account.

    Use the email address for your tenant to connect using OAuth.

    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.

After you've connected to the system, you'll see an indicator that it's connected and details about the instance you're connected to, as well as the actions available for Microsoft Intune.

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
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

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 steps required to perform data synchronization with Jamf Pro are only available through these templates during the EAP. You must connect your Microsoft Intune account to action builder to access the templates.
To create a templated action flow
  1. In Admin Center, click IT assets in the sidebar, then select Assets > Overview.
  2. Select the Microsoft Intune template.

    An action flow is created with pre-populated steps and values.

  3. Connect your Microsoft Intune account.
  4. Activate the templated action flow.

Template: Microsoft Intune

This workflow syncs Microsoft Intune device and user data to Zendesk IT assets.

The action flow template for synchronizing computer asset data with Microsoft Intune consists of the following steps:
  1. 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.

  2. Utility: Repeat while conditions are met. A looping step configured to repeat the following actions while there are additional pages of devices:
    1. External actions: Microsoft Intune: Fetch devices.

      Fetches computer device data from Microsoft Intune.

    2. Utility: Repeat for each. A looping step configured to repeat the following actions for each device asset returned by the Fetch devices step.
      1. Utility: Custom code. Custom JavaScript that maps the Microsoft Intune device data to the appropriate asset type and status in Zendesk.

        If the device is assigned to a user, the Zendesk asset status is In use; otherwise, the status is Available.

        Note: Validate and customize the pre-defined JavaScript as needed.
      2. Zendesk actions: Create or update user. A step that checks whether the device's assigned user in Microsoft Intune matches a Zendesk user record, and creates the user's record in Zendesk if it doesn't exist.
      3. Zendesk actions: Import assets. Creates or updates asset records in Zendesk and automatically maps Microsoft Intune device details to asset fields.
Powered by Zendesk