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

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

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

Returns Intune flagged user collection

## Path parameters

- `hostName` string, required

## Query parameters

- `api-version` string, required
- `$filter` string
- `$top` integer
- `$select` string

## Response `200`

Flagged users as collection response

- FlaggedUserCollection — Flagged user collection for the given tenant.
  - `value` FlaggedUser[], required
    - `id` string — Resource Id
    - `name` string — Resource name
    - `type` string — Resource type
    - `tags` object — Resource Tags
    - `location` string — Resource Location
  - `nextlink` string — Gets the URL to get the next set of results.

## Other responses

- `default` — unexpected error

---

[API](https://skmtc.net/azure/apis/intune-microsoft-intune-intune.md) · [All operations](https://skmtc.net/azure/apis/intune-microsoft-intune-intune/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/intune-microsoft-intune-intune/versions/c3d7c98fd32a/schema)
