Enable device for development
Enable a device for development by enabling sideloading and debugging on the attached device, and by assigning it to a device group that disables application updates from the cloud. By default, this will be the 'Development' device group of the device's product, but other device groups can be specified.
Use the portal
- 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.
- Go to the Devices page to list all available devices.
- Select Claim from the menu at the top of the page.
- Enter the device ID of the device you want to claim. You can enter a maximum of 5 device IDs at a time.
- Select Claim at the bottom of the page.
Use the CLI
Use the az sphere device enable-development
command to enable a device for development by enabling sideloading and debugging using resource group, catalog name, device ID, and default 'Development' device group.
az sphere device enable-development --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>
.