List Inactive Devices

List/export inactive devices, which had no recent user logons.

Description

Collect devices based on the date of last user logon or last Intune sync.

Location

Organization → Security → List Inactive Devices

Permissions

Application permissions

  • Type: Microsoft Graph

    • DeviceManagementManagedDevices.Read.All

    • Directory.Read.All

    • Device.Read.All

Parameters

Days

Property
Value

Required

false

Default Value

30

Type

Int32

Sync

Property
Value

Required

false

Default Value

True

Type

Boolean

ExportToFile

Property
Value

Required

false

Default Value

False

Type

Boolean

ContainerName

Property
Value

Required

false

Default Value

Type

String

ResourceGroupName

Property
Value

Required

false

Default Value

Type

String

StorageAccountName

Property
Value

Required

false

Default Value

Type

String

StorageAccountLocation

Property
Value

Required

false

Default Value

Type

String

StorageAccountSku

Property
Value

Required

false

Default Value

Type

String

Back to Runbook Reference overview

Last updated

Was this helpful?