Enable device for cloud test

Enable a device for testing cloud loading by disabling development and debugging on the attached device, and by assigning it to a device group that enables application updates from the cloud. By default, this will be the 'Field Test' device group of the device's product, but other device groups can be specified.

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. Go to the Devices page to list all available devices.
  3. Select Claim from the menu at the top of the page.
  4. Enter the device ID of the device you want to claim. You can enter a maximum of 5 device IDs at a time.
  5. Select Claim at the bottom of the page.

Use the CLI

Use the az sphere device enable-cloud-test command to enable a device for testing cloud using resource group, catalog name, device ID, and default 'Field Test' device group.

az sphere device enable-cloud-test --resource-group MyResourceGroup --catalog MyCatalog --device <DeviceIdValue>

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>.