View deployment history

The ability to track and reverse deployments is an essential part of the security built into Azure Sphere. The definition of products, images, and device groups makes it possible for the Azure Sphere Security Service to maintain a history of the images that have been added to each device group. The history is available through the Azure CLI, so by determining the device group to which a particular device belongs and the current images targeted at the device, you can determine exactly which set of software has been historically targeted to the device.

A deployment exists within a device group, which exists within a product, which exists within a catalog. To view a device group's deployment history, you must specify the device group either by device group ID or by name and product, as in the following examples:

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