> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Managed Devices

List properties and relationships of all managedDevice objects.

* **Least privileged** Microsoft Graph permission to access the action via **application**: `DeviceManagementManagedDevices.ReadWrite.All`, `DeviceManagementManagedDevices.Read.All`.

<Note>
  External Documentation

  To learn more, visit the [Microsoft Intune documentation](https://learn.microsoft.com/en-us/graph/api/intune-devices-manageddevice-list?view=graph-rest-1.0\&tabs=http#http-request).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter        | Description                                                                                                                                                                                                                                                                                                                                                                                                            |
  | ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Filter           | The filter to apply on the operation. You can filter by display name, tag names, values etc. For example, to filter for a display name use displayName eq 'ManagedDeviceName'. <br />For more information about group fields: [https://learn.microsoft.com/en-us/graph/api/resources/group?view=graph-rest-1.0#properties](https://learn.microsoft.com/en-us/graph/api/resources/group?view=graph-rest-1.0#properties) |
  | Limit            | The maximum number of items to return per page.                                                                                                                                                                                                                                                                                                                                                                        |
  | Return All Pages | Automatically fetch all resources, page by page.                                                                                                                                                                                                                                                                                                                                                                       |
</div>

## Example Output

```json theme={"dark"}
{
	"value": [
		{
			"@odata.type": "#microsoft.graph.managedDevice",
			"id": "705c034c-034c-705c-4c03-5c704c035c70",
			"userId": "User Id value",
			"deviceName": "Device Name value",
			"managedDeviceOwnerType": "company",
			"deviceActionResults": [
				{
					"@odata.type": "microsoft.graph.deviceActionResult",
					"actionName": "Action Name value",
					"actionState": "pending",
					"startDateTime": "2016-12-31T23:58:46.7156189-08:00",
					"lastUpdatedDateTime": "2017-01-01T00:00:56.8321556-08:00"
				}
			],
			"enrolledDateTime": "2016-12-31T23:59:43.797191-08:00",
			"lastSyncDateTime": "2017-01-01T00:02:49.3205976-08:00",
			"operatingSystem": "Operating System value",
			"complianceState": "compliant",
			"jailBroken": "Jail Broken value",
			"managementAgent": "mdm",
			"osVersion": "Os Version value",
			"easActivated": true,
			"easDeviceId": "Eas Device Id value",
			"easActivationDateTime": "2016-12-31T23:59:43.4878784-08:00",
			"azureADRegistered": true,
			"deviceEnrollmentType": "userEnrollment",
			"activationLockBypassCode": "Activation Lock Bypass Code value",
			"emailAddress": "Email Address value",
			"azureADDeviceId": "Azure ADDevice Id value",
			"deviceRegistrationState": "registered",
			"deviceCategoryDisplayName": "Device Category Display Name value",
			"isSupervised": true,
			"exchangeLastSuccessfulSyncDateTime": "2017-01-01T00:00:45.8803083-08:00",
			"exchangeAccessState": "unknown",
			"exchangeAccessStateReason": "unknown",
			"remoteAssistanceSessionUrl": "https://example.com/remoteAssistanceSessionUrl/",
			"remoteAssistanceSessionErrorDetails": "Remote Assistance Session Error Details value",
			"isEncrypted": true,
			"userPrincipalName": "User Principal Name value",
			"model": "Model value",
			"manufacturer": "Manufacturer value",
			"imei": "Imei value",
			"complianceGracePeriodExpirationDateTime": "2016-12-31T23:56:44.951111-08:00",
			"serialNumber": "Serial Number value",
			"phoneNumber": "Phone Number value",
			"androidSecurityPatchLevel": "Android Security Patch Level value",
			"userDisplayName": "User Display Name value",
			"configurationManagerClientEnabledFeatures": {
				"@odata.type": "microsoft.graph.configurationManagerClientEnabledFeatures",
				"inventory": true,
				"modernApps": true,
				"resourceAccess": true,
				"deviceConfiguration": true,
				"compliancePolicy": true,
				"windowsUpdateForBusiness": true
			},
			"wiFiMacAddress": "Wi Fi Mac Address value",
			"deviceHealthAttestationState": {
				"@odata.type": "microsoft.graph.deviceHealthAttestationState",
				"lastUpdateDateTime": "Last Update Date Time value",
				"contentNamespaceUrl": "https://example.com/contentNamespaceUrl/",
				"deviceHealthAttestationStatus": "Device Health Attestation Status value",
				"contentVersion": "Content Version value",
				"issuedDateTime": "2016-12-31T23:58:22.1231038-08:00",
				"attestationIdentityKey": "Attestation Identity Key value",
				"resetCount": 10,
				"restartCount": 12,
				"dataExcutionPolicy": "Data Excution Policy value",
				"bitLockerStatus": "Bit Locker Status value",
				"bootManagerVersion": "Boot Manager Version value",
				"codeIntegrityCheckVersion": "Code Integrity Check Version value",
				"secureBoot": "Secure Boot value",
				"bootDebugging": "Boot Debugging value",
				"operatingSystemKernelDebugging": "Operating System Kernel Debugging value",
				"codeIntegrity": "Code Integrity value",
				"testSigning": "Test Signing value",
				"safeMode": "Safe Mode value",
				"windowsPE": "Windows PE value",
				"earlyLaunchAntiMalwareDriverProtection": "Early Launch Anti Malware Driver Protection value",
				"virtualSecureMode": "Virtual Secure Mode value",
				"pcrHashAlgorithm": "Pcr Hash Algorithm value",
				"bootAppSecurityVersion": "Boot App Security Version value",
				"bootManagerSecurityVersion": "Boot Manager Security Version value",
				"tpmVersion": "Tpm Version value",
				"pcr0": "Pcr0 value",
				"secureBootConfigurationPolicyFingerPrint": "Secure Boot Configuration Policy Finger Print value",
				"codeIntegrityPolicy": "Code Integrity Policy value",
				"bootRevisionListInfo": "Boot Revision List Info value",
				"operatingSystemRevListInfo": "Operating System Rev List Info value",
				"healthStatusMismatchInfo": "Health Status Mismatch Info value",
				"healthAttestationSupportedStatus": "Health Attestation Supported Status value"
			},
			"subscriberCarrier": "Subscriber Carrier value",
			"meid": "Meid value",
			"totalStorageSpaceInBytes": 8,
			"freeStorageSpaceInBytes": 7,
			"managedDeviceName": "Managed Device Name value",
			"partnerReportedThreatState": "activated",
			"requireUserEnrollmentApproval": true,
			"managementCertificateExpirationDate": "2016-12-31T23:57:59.9789653-08:00",
			"iccid": "Iccid value",
			"udid": "Udid value",
			"notes": "Notes value",
			"ethernetMacAddress": "Ethernet Mac Address value",
			"physicalMemoryInBytes": 5
		}
	]
}
```

## Workflow Library Example

[List Managed Devices with Microsoft Intune and Send Results Via Email](https://library.blinkops.com/workflows/list-managed-devices-with-microsoft-intune-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/list-managed-devices-with-microsoft-intune-and-send-results-via-email/canvas" />
</div>
