---
title: "GET /providers/Microsoft.Intune/locations/{hostName}/users/{userName}/devices/{deviceName}"
method: GET
path: "/providers/Microsoft.Intune/locations/{hostName}/users/{userName}/devices/{deviceName}"
---

# GET /providers/Microsoft.Intune/locations/{hostName}/users/{userName}/devices/{deviceName}

`GET /providers/Microsoft.Intune/locations/{hostName}/users/{userName}/devices/{deviceName}`

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/providers/Microsoft.Intune/locations/{hostName}/users/{userName}/devices/{deviceName}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/azure/apis/intune-microsoft-intune-intune/docs/providers/Microsoft.Intune/locations/:hostName/users/:userName/devices/:deviceName/get.ts> (a function with typed inputs; its response is checked against the schema)

Get a unique device for a user.

## Path parameters

- `hostName` string, required
- `userName` string, required
- `deviceName` string, required

## Query parameters

- `api-version` string, required
- `$select` string

## Response `200`

Device entity.

- Device
  - `id` string: Resource Id
  - `name` string: Resource name
  - `type` string: Resource type
  - `tags` object: Resource Tags
  - `location` string: Resource Location

## Other responses

- `default`: unexpected error

---

[API](https://skmtc.dev/azure/apis/intune-microsoft-intune-intune.md) - [All operations](https://skmtc.dev/azure/apis/intune-microsoft-intune-intune/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/intune-microsoft-intune-intune/revisions/c3d7c98fd32a?raw)
