---
title: "GET /deviceUpdate/{instanceId}/management/groups"
method: GET
path: "/deviceUpdate/{instanceId}/management/groups"
tags: ["Device and deployment management"]
---

# GET /deviceUpdate/{instanceId}/management/groups

`GET /deviceUpdate/{instanceId}/management/groups`

Gets a list of all device groups.  The $default group will always be returned
first.

## Path parameters

- `instanceId` string, required

## Query parameters

- `api-version` string, required
- `orderby` string

## Response `200`

The request has succeeded.

- GroupsList — The list of groups.
  - `value` Group[], required — The Group items on this page
    - `groupId` string, required — Group identity. This is created from the value of the ADUGroup tag in the Iot Hub's device/module twin or $default for devices with no tag.
    - `groupType` 'IoTHubTag' | 'DefaultNoTag', required — Supported group types.
    - `createdDateTime` string, required — Date and time when the update was created.
    - `deviceCount` integer — The number of devices in the group.
    - `subgroupsWithNewUpdatesAvailableCount` integer — The count of subgroups with new updates available.
    - `subgroupsWithUpdatesInProgressCount` integer — The count of subgroups with updates in progress.
    - `subgroupsWithOnLatestUpdateCount` integer — The count of subgroups with devices on the latest update.
    - `deployments` string[] — The active deployment Ids for the group
  - `nextLink` string, uri — The link to the next page of items

## Other responses

- `default` — An unexpected error response.

---

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