Skip to main content

mam_user_device_by_device_names

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

Overview

Namemam_user_device_by_device_names
TypeResource
Idazure_extras.intune.mam_user_device_by_device_names

Fields

NameDatatypeDescription
idtextResource Id
nametextResource name
deviceNametextfield from the properties object
device_typetextfield from the properties object
friendly_nametextfield from the properties object
hostNametextfield from the properties object
locationtextResource Location
platformtextfield from the properties object
platform_versiontextfield from the properties object
tagstextResource Tags
typetextResource type
userNametextfield from the properties object
user_idtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTdeviceName, hostName, userNameGet a unique device for a user.

SELECT examples

Get a unique device for a user.

SELECT
id,
name,
deviceName,
device_type,
friendly_name,
hostName,
location,
platform,
platform_version,
tags,
type,
userName,
user_id
FROM azure_extras.intune.vw_mam_user_device_by_device_names
WHERE deviceName = '{{ deviceName }}'
AND hostName = '{{ hostName }}'
AND userName = '{{ userName }}';