Microsoft Intune connector thinklet
Last updated
Was this helpful?
Last updated
Was this helpful?
Configure Microsoft Intune connector thinklets to take specific actions within your workflow.
Refer to the Permissions section in the Microsoft documentation to view the required authorizations.
Get device enrollment details verifies that Microsoft Intune manages a device, and retrieves Microsoft Intune device properties. These properties include the managed device ID, enrollment type, enrollment date and time, and ownership type.
The Microsoft Intune connector thinklet relies on the Get managedDevice API endpoint provided by Microsoft Graph.
Parameters
Device name: The device for which you want to obtain the properties.
Outputs
ID (ManagedDeviceId
): A managed device ID indicating that the device exists in Microsoft Intune.
Enrollment type (EnrollmentType
): Indicates the type of device enrollment, such as user-driven enrollment, Entra ID enrollment, or other.
Enrollment date and time (EnrollmentDateTime
): Time and date the device was enrolled in Microsoft Intune.
Ownership type (OwnershipType
): Indicates whether this device belongs to an individual, a company, or an unknown person.
The table below shows the API Service connector details needed when recreating the connector:
Resource Path
/deviceManagement/managedDevices?$filter=(deviceName eq '{{DeviceName}}')&$select=id,enrolledDateTime,deviceEnrollmentType,managedDeviceOwnerType
Method
GET
Payload
Outputs
EnrollmentType $.value[0].deviceEnrollmentType EnrollmentDateTime $.value[0].enrolledDateTime ManagedDeviceId $.value[0].id
OwnershipType $.value[0].managedDeviceOwnerType
Get device compliance state retrieves a managed device's compliance status and details. These details include the device compliance state and device encryption state.
The Microsoft Intune connector thinklet relies on the Get managedDevice API endpoint provided by Microsoft Graph.
Parameters
Device name: The device for which you want to obtain the properties.
Outputs
Device compliance state (DeviceComplianceState
): Indicates whether the device complies with Microsoft Intune policies.
Device encryption state (DeviceEncryptionState
): Indicates whether the device is encrypted.
The table below shows the API Service connector details needed when recreating the connector:
Resource Path
/deviceManagement/managedDevices?$filter=(deviceName eq '{{DeviceName}}')&$select=complianceState,jailBroken,isEncrypted
Method
GET
Payload
Outputs
DeviceComplianceState $.value[0].complianceState DeviceEncryptionState $.value[0].isEncrypted
Refer to the Configuring connector thinklets documentation for more information about connector thinklets.