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

# GET /providers/Microsoft.Intune/locations/{hostName}/flaggedUsers/{userName}

`GET /providers/Microsoft.Intune/locations/{hostName}/flaggedUsers/{userName}`

## Request

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

Returns Intune flagged user details

## Path parameters

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

## Query parameters

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

## Response `200`

Flagged user details in response

- FlaggedUser
  - `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)
