List device groups

List available Azure Sphere device groups using the Azure portal or Azure CLI.

Use the portal

  1. - Sign in to the Azure Portal. - To locate the Azure Sphere service, in the top search bar, enter and select Azure Sphere. The Azure Sphere page is displayed..

  2. Select a catalog name from the list.

  3. Select Device groups under Manage in the menu on the left side of the page. The Device groups page listing available device groups is displayed.

    Tip

    Select Refresh from the top of the page to reflect updates and changes.

Use the CLI

Use the az sphere device-group list command to list all device groups in a resource group and catalog.

az sphere device-group list --resource-group MyResourceGroup --catalog MyCatalog

Tip

We recommend that you configure the default values for the subscription, resource group, and catalog parameters. This helps reduce redundancy and can significantly shorten CLI command syntax.

Unless you have set the active subscription, the --subscription parameter will be required for all commands. You can set the active subscription using the command az account set --subscription <subscription-name>.

az sphere device-group list --resource-group MyResourceGroup --catalog MyCatalog --device-group Development

To list all device groups in a resource group, Azure , and product.

az sphere device-group list --resource-group MyResourceGroup --catalog MyCatalog --product MyProduct