Microsoft Intune

App · 25 actions

Read Intune device inventory, compliance, configurations and apps, and run device management commands.

Actions

ActionWhat it does
Delete managed deviceDelete managed device.
Get compliance overviewGet compliance overview.
Get compliance policyGet compliance policy.
Get detected appGet detected app.
Get device categoryGet device category.
Get device configurationGet device configuration.
Get enrollment configurationGet enrollment configuration.
Get managed deviceGet managed device.
Get mobile appGet mobile app.
List app assignmentsList app assignments.
List compliance policiesList compliance policies.
List detected appsList detected apps.
List device categoriesList device categories.
List device configuration statesList device configuration states.
List device configurationsList device configurations.
List device usersList device users.
List enrollment configurationsList enrollment configurations.
List managed app policiesList managed app policies.
List managed devicesList managed devices.
List mobile appsList mobile apps.
Restart deviceRestart device.
Retire deviceRetire device.
Sync deviceSync device.
Update managed deviceUpdate managed device.
Wipe deviceWipe device.

Delete managed device

Delete managed device. Returns the service response.

Inputs

IdidtextRequired
Id.

Outputs

datanull
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": null,
  "has_more": false,
  "next_cursor": "example"
}

Get compliance overview

Get compliance overview. Returns the service response.

Inputs

None.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {},
  "has_more": false,
  "next_cursor": "example"
}

Get compliance policy

Get compliance policy. Returns the service response.

Inputs

IdidtextRequired
Id.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {},
  "has_more": false,
  "next_cursor": "example"
}

Get detected app

Get detected app. Returns the service response.

Inputs

IdidtextRequired
Id.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {},
  "has_more": false,
  "next_cursor": "example"
}

Get device category

Get device category. Returns the service response.

Inputs

IdidtextRequired
Id.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {},
  "has_more": false,
  "next_cursor": "example"
}

Get device configuration

Get device configuration. Returns the service response.

Inputs

IdidtextRequired
Id.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {},
  "has_more": false,
  "next_cursor": "example"
}

Get enrollment configuration

Get enrollment configuration. Returns the service response.

Inputs

IdidtextRequired
Id.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {},
  "has_more": false,
  "next_cursor": "example"
}

Get managed device

Get managed device. Returns the service response.

Inputs

IdidtextRequired
Id.

Outputs

dataobject
The Intune managed device.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {
    "azureADDeviceId": "example",
    "complianceState": "example",
    "deviceName": "example",
    "emailAddress": "example",
    "enrolledDateTime": "2026-01-01T00:00:00Z",
    "id": "example",
    "isEncrypted": false,
    "lastSyncDateTime": "2026-01-01T00:00:00Z",
    "managedDeviceOwnerType": "example",
    "manufacturer": "example",
    "model": "example",
    "notes": "example",
    "operatingSystem": "example",
    "osVersion": "example",
    "serialNumber": "example",
    "userId": "example",
    "userPrincipalName": "example"
  },
  "has_more": false,
  "next_cursor": "example"
}

Get mobile app

Get mobile app. Returns the service response.

Inputs

IdidtextRequired
Id.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {},
  "has_more": false,
  "next_cursor": "example"
}

List app assignments

List app assignments. Returns one page; use the next page cursor to continue.

Inputs

IdidtextRequired
Id.
Next page cursorcursortext
Cursor.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {
    "@odata.nextLink": "example",
    "value": []
  },
  "has_more": false,
  "next_cursor": "example"
}

List compliance policies

List compliance policies. Returns one page; use the next page cursor to continue.

Inputs

Next page cursorcursortext
Next page cursor returned by an earlier list step.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {
    "@odata.nextLink": "example",
    "value": []
  },
  "has_more": false,
  "next_cursor": "example"
}

List detected apps

List detected apps. Returns one page; use the next page cursor to continue.

Inputs

Next page cursorcursortext
Next page cursor returned by an earlier list step.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {
    "@odata.nextLink": "example",
    "value": []
  },
  "has_more": false,
  "next_cursor": "example"
}

List device categories

List device categories. Returns one page; use the next page cursor to continue.

Inputs

Next page cursorcursortext
Next page cursor returned by an earlier list step.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {
    "@odata.nextLink": "example",
    "value": []
  },
  "has_more": false,
  "next_cursor": "example"
}

List device configuration states

List device configuration states. Returns one page; use the next page cursor to continue.

Inputs

IdidtextRequired
Id.
Next page cursorcursortext
Cursor.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {
    "@odata.nextLink": "example",
    "value": []
  },
  "has_more": false,
  "next_cursor": "example"
}

List device configurations

List device configurations. Returns one page; use the next page cursor to continue.

Inputs

Next page cursorcursortext
Next page cursor returned by an earlier list step.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {
    "@odata.nextLink": "example",
    "value": []
  },
  "has_more": false,
  "next_cursor": "example"
}

List device users

List device users. Returns one page; use the next page cursor to continue.

Inputs

IdidtextRequired
Id.
Next page cursorcursortext
Cursor.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {
    "@odata.nextLink": "example",
    "value": []
  },
  "has_more": false,
  "next_cursor": "example"
}

List enrollment configurations

List enrollment configurations. Returns one page; use the next page cursor to continue.

Inputs

Next page cursorcursortext
Next page cursor returned by an earlier list step.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {
    "@odata.nextLink": "example",
    "value": []
  },
  "has_more": false,
  "next_cursor": "example"
}

List managed app policies

List managed app policies. Returns one page; use the next page cursor to continue.

Inputs

Next page cursorcursortext
Cursor.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {
    "@odata.nextLink": "example",
    "value": []
  },
  "has_more": false,
  "next_cursor": "example"
}

List managed devices

List managed devices. Returns one page; use the next page cursor to continue.

Inputs

Next page cursorcursortext
Next page cursor returned by an earlier list step.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {
    "@odata.nextLink": "example",
    "value": []
  },
  "has_more": false,
  "next_cursor": "example"
}

List mobile apps

List mobile apps. Returns one page; use the next page cursor to continue.

Inputs

Next page cursorcursortext
Cursor.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {
    "@odata.nextLink": "example",
    "value": []
  },
  "has_more": false,
  "next_cursor": "example"
}

Restart device

Restart device. Returns the service response.

Inputs

IdidtextRequired
Id.

Outputs

datanull
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": null,
  "has_more": false,
  "next_cursor": "example"
}

Retire device

Retire device. Returns the service response.

Inputs

IdidtextRequired
Id.

Outputs

datanull
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": null,
  "has_more": false,
  "next_cursor": "example"
}

Sync device

Sync device. Returns the service response.

Inputs

IdidtextRequired
Id.

Outputs

datanull
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": null,
  "has_more": false,
  "next_cursor": "example"
}

Update managed device

Update managed device. Returns the service response.

Inputs

IdidtextRequired
Id.
Managed device owner typemanaged_device_owner_typetext
Manageddeviceownertype.One of: unknown, company, personal.
Notesnotestext
Notes.

Outputs

dataobject
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": {},
  "has_more": false,
  "next_cursor": "example"
}

Wipe device

Wipe device. Returns the service response.

Inputs

IdidtextRequired
Id.
Keep enrollment datakeep_enrollment_datatrue/false
Keepenrollmentdata.
Keep user datakeep_user_datatrue/false
Keepuserdata.

Outputs

datanull
The complete service response.
has_moretrue/false
Whether another page is available.
next_cursortext
Pass this value to the next page cursor.
Example output
{
  "data": null,
  "has_more": false,
  "next_cursor": "example"
}

On this page