Get device properties

Changed on

Get all property values of a device by device ID.

get/devices/{deviceId}/properties

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    OAuth 2
    Implicithttps://login.microsoftonline.com/common/oauth2/authorize
    Scopesuser_impersonation

Path parameters

deviceIdstring required

Unique ID of the device.

Query parameters

api-versionstring required

The version of the API being called.

unmodeledboolean

The query parameter for supporting unmodeled properties.

Response

Success

DeviceProperties required

Property values associated with the device.

Changes