Skip to main content

mam_user_devices

Creates, updates, deletes, gets or lists a mam_user_devices resource.

Overview

Namemam_user_devices
TypeResource
Idazure_extras.intune.mam_user_devices

Fields

The following fields are returned by SELECT queries:

devices as collection response

NameDatatypeDescription
idstringResource Id
namestringResource name
locationstringResource Location
propertiesobject
tagsobjectResource Tags
typestringResource type

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselecthostName, userName$filter, $top, $selectGet devices for a user.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
hostNamestringLocation hostName for the tenant
userNamestringuser unique Name
$filterstringThe filter to apply on the operation.
$selectstringselect specific fields in entity.
$topinteger (int32)

SELECT examples

Get devices for a user.

SELECT
id,
name,
location,
properties,
tags,
type
FROM azure_extras.intune.mam_user_devices
WHERE hostName = '{{ hostName }}' -- required
AND userName = '{{ userName }}' -- required
AND $filter = '{{ $filter }}'
AND $top = '{{ $top }}'
AND $select = '{{ $select }}'
;