Microsoft Intune is a cloud-based service that focuses on mobile device management (MDM) and mobile application management (MAM). You control how your organization’s devices are used, including mobile phones, tablets, and laptops. Intune plugin has been designed to perform Intune tasks.
Prerequisites:
On Azure Portal: https://portal.azure.com/
Steps to generate Credentials (Tenant ID and Client ID and Client Secret):
Permission type |
Permission (from least to most privileged) |
Application |
DeviceManagementManagedDevices.PrivilegedOperations.All, DeviceManagementManagedDevices.ReadWrite.All |
Please refer 42 Appendix 16: Intune- Generate Client Credentials to generate Credentials and assign the permissions mentioned in the table above.
References:
https://docs.microsoft.com/en-us/mem/intune/fundamentals/supported-devices-browsers
Notes:
Intune: Delete Device By ID plugin step sends a Device Delete command to the devices identified by device ID and Deletes the device.
.
Configuration:
No.
Field Name
Description
1
Step Name
Name of the step. This name has to be unique in a single workflow.
Connection:
2
Tenant ID
Specify Tenant ID.
The field data type is String. This is mandatory.
Note: To create Tenant ID refer plugin prerequisites.
3
Client ID
Specify Client ID.
The field data type is String. This is mandatory.
Note: To create Client ID refer plugin prerequisites.
Client Secret:
Note: To create Client Secret refer the plugin prerequisites.
4
Accept Values from fields
Leave checkbox unchecked to accept Client Secret value from a field in the previous steps of the stream using a drop down list.
Else enable checkbox for Client Secret field to appear as Text box.
5
Client Secret
Provide the Client Secret.
If checkbox above is enabled Client Secret field appears as Text box and accepts static values or environment variables. Else if checkbox above is disabled Client Secret field appears as a drop down to select fields from previous steps.
The field data type is String This field is mandatory.
6
Test Connection
Verifies whether the connection is established or not.
Note: For the purpose of verification fields coming from previous steps are not allowed since field values can only be accessed when workflow is in running state. Static values and environment variables are allowed.
Input Tab:
No.
Field Name
Description
Input Fields:
1
Device ID Type
Specify type of Device ID of the Device to be deleted.
Allowed values: 'Intune Device ID', 'Azure AD Device ID', 'IMEI', 'Serial number', 'Phone number'.
The field data type is String This field is mandatory.
2
Device ID
Specify Device ID which is a unique identifier that identifies the device.
The field data type is String This field is mandatory.
Note: Device ID should be valid and must not be Zero (0).
Intune: Remote Lock Device By ID plugin step locks a device in Intune remotely, by Device ID.
Configuration:
No.
Field Name
Description
1
Step Name
Name of the step. This name has to be unique in a single workflow.
Connection:
2
Tenant ID
Specify Tenant ID.
The field data type is String. This is mandatory.
Note: To create Tenant ID refer plugin prerequisites.
3
Client ID
Specify Client ID.
The field data type is String. This is mandatory.
Note: To create Client ID refer plugin prerequisites.
Client Secret:
Note: To create Client Secret refer plugin prerequisites.
4
Accept Values from fields
Leave checkbox unchecked to accept Client Secret value from a field in the previous steps of the stream using a drop down list.
Else enable checkbox for Client Secret field to appear as Text box.
5
Client Secret
Provide the Client Secret.
If checkbox above is enabled Client Secret field appears as Text box and accepts static values or variables. Else if checkbox above is disabled Client Secret field appears as a drop down to select fields from previous steps.
The field data type is String This field is mandatory.
6
Test Connection
Verifies whether the connection is established or not.
Note: For the purpose of verification fields coming from previous steps are not allowed since field values can only be accessed when workflow is in running state. Static values and environment variables are allowed.
Input Tab:
No.
Field Name
Description
Input Fields:
1
Device ID Type
Specify type of Device ID for Device to be remote locked.
Allowed values: 'Intune Device ID', 'Azure AD Device ID', 'IMEI', 'Serial number', 'Phone number'.
The field data type is String This field is mandatory.
2
Device ID
Specify Device ID which is a unique identifier that identifies the device.
The field data type is String This field is mandatory.
Note: Device ID should be valid and must not be Zero (0).
Intune: Retire Device By ID plugin step retires a device in Intune by Device ID.
Configuration:
No.
Field Name
Description
1
Step Name
Name of the step. This name has to be unique in a single workflow.
Connection:
2
Tenant ID
Specify Tenant ID.
The field data type is String. This is mandatory.
Note: To create Tenant ID refer plugin prerequisites.
3
Client ID
Specify Client ID.
The field data type is String. This is mandatory.
Note: To create Client ID refer plugin prerequisites.
Client Secret:
Note: To create Client Secret refer plugin prerequisites.
4
Accept Values from fields
Leave checkbox unchecked to accept Client Secret value from a field in the previous steps of the stream using a drop down list.
Else enable checkbox for Client Secret field to appear as Text box.
5
Client Secret
Provide the Client Secret.
If checkbox above is enabled Client Secret field appears as Text box and accepts static values or variables. Else if checkbox above is disabled Client Secret field appears as a drop down to select fields from previous steps.
The field data type is String This field is mandatory.
6
Test Connection
Verifies whether the connection is established or not.
Note: For the purpose of verification fields coming from previous steps are not allowed since field values can only be accessed when workflow is in running state. Static values and environment variables are allowed.
Input Tab:
No.
Field Name
Description
Input Fields:
1
Device ID Type
Specify type of Device ID of Device to be retired.
Allowed values: 'Intune Device ID', 'Azure AD Device ID', 'IMEI', 'Serial number', 'Phone number'.
The field data type is String This field is mandatory.
2
Device ID
Specify Device ID which is a unique identifier that identifies the device.
The field data type is String This field is mandatory.
Note: Device ID should be valid and must not be Zero (0).
‘Intune: Wipe Device by ID’ plugin step wipes a device in Intune identified by Device ID.
Configuration:
No.
Field Name
Description
1
Step Name
Name of the step. This name has to be unique in a single workflow.
Connection:
2
Tenant ID
Specify Tenant ID.
The field data type is String. This is mandatory.
Note: To create Tenant ID refer plugin prerequisites.
3
Client ID
Specify Client ID.
The field data type is String. This is mandatory.
Note: To create Client ID refer plugin prerequisites.
Client Secret:
Note: To create Client Secret refer plugin prerequisites.
4
Accept Values from fields
Leave checkbox unchecked to accept Client Secret value from a field in the previous steps of the stream using a drop down list.
Else enable checkbox for Client Secret field to appear as Text box.
5
Client Secret
Provide the Client Secret.
Client Secret is entered using a widget. The widget handles both Text (static value or environment variable) and Combo (drop down containing values from previous steps).
The field data type is String This field is mandatory.
If checkbox above is enabled Client Secret field appears as Text box and accepts static values or variables. Else if checkbox above is disabled Client Secret field appears as a drop down to select fields from previous steps.
6
Test Connection
Verifies whether the connection is established or not.
Note: For the purpose of verification fields coming from previous steps are not allowed since field values can only be accessed when workflow is in running state. Static values and environment variables are allowed.
Input Tab:
No.
Field Name
Description
Input Fields:
1
Device ID Type
Specify type of Device ID for Device wipe.
Allowed values: 'Intune Device ID', 'Azure AD Device ID', 'IMEI', 'Serial number', 'Phone number'.
The field data type is String This field is mandatory.
2
Device ID
Specify Device ID which is a unique identifier that identifies the device.
The field data type is String This field is mandatory.
Note: Device ID should be valid and must not be Zero (0).