View device and tenant information in Azure Sphere Explorer

If you are using Visual Studio or Visual Studio Code with the Azure Sphere extension, you can view device and tenant information in Azure Sphere Explorer. Visual Studio Code also allows you to update this information. Azure Sphere Explorer consists of two sections: the Device pane and the Tenant pane.

Note

If you make changes to devices or tenants using the Azure Sphere CLI while Azure Sphere Explorer is open, you may need to select Refresh for those changes to be reflected in Azure Sphere Explorer.

To open Azure Sphere Explorer in Visual Studio:

  1. Open an Azure Sphere project.
  2. Select View > Other Windows > Azure Sphere Explorer.

To open Azure Sphere Explorer in Visual Studio Code

  1. Open an Azure Sphere project. The Azure Sphere Explorer icon appears in Visual Studio Code's Activity Bar.

  2. Select the icon and Azure Sphere Explorer opens in Visual Studio Code's sidebar:

    Azure Sphere Explorer before login

The Device pane

The Device pane shows information about any currently attached devices:

  • Device ID. Includes a subset of the information returned by the azsphere device list-attached command.
  • App ID. Includes the status of any applications currently on each device. This is information returned by the azsphere device app show-status command.
  • Wi-Fi status. Includes the SSID, configuration state, connection state, and security state. This is a subset of information returned by the azsphere device wifi show-status command.

The Tenant pane

The Tenant pane initially shows Log in to see tenants. Select this line to log in to the Azure Sphere.

Once you have logged in, select the Refresh icon. The Tenant pane displays information about all available tenants:

  • Tenant names with tenant IDs. Includes information returned by the azsphere tenant list command.

  • Device IDs. Includes information returned by the azsphere device list command.

  • Product information. Includes product name, product ID, and product device groups. In Visual Studio Code, you can add or update product and device group information by expanding the appropriate nodes, then right-clicking to obtain available options. You can also view the deployment history for each device group.

  • Roles. Includes information returned by the azsphere role list command, including roles currently defined and assigned for each tenant.

    Azure Sphere Explorer with tenant information