Connectors
...
Actions
Create Identity Directory Device
5 min
description registers a new device in the microsoft graph api directory, specifying account status, display name, os, and version endpoint url /v1 0/devices method post inputs json body (object) – required json body accountenabled (boolean) – required true if the account is enabled; otherwise, false required default is true alternativesecurityids (array) alternative security ids type (number) identityprovider (string) key (string) displayname (string) – required the display name for the device operatingsystem (string) – required the type of operating system on the device operatingsystemversion (string) – required the version of the operating system on the device approximatelastsignindatetime (string) the timestamp type represents date and time information using iso 8601 format and is always in utc time complianceexpirationdatetime (string) the timestamp type represents date and time information using iso 8601 format and is always in utc time deviceid (string) – required extensionattributes (object) contains extension attributes 1 15 for the device the individual extension attributes are not selectable these properties are mastered in cloud and can be set during creation or update of a device object in azure ad extensionattribute1 (string) extensionattribute2 (string) extensionattribute3 (string) extensionattribute4 (string) extensionattribute5 (string) extensionattribute6 (string) extensionattribute7 (string) extensionattribute8 (string) extensionattribute9 (string) extensionattribute10 (string) extensionattribute11 (string) extensionattribute12 (string) extensionattribute13 (string) extensionattribute14 (string) extensionattribute15 (string) iscompliant (boolean) ismanaged (boolean) onpremiseslastsyncdatetime (string) the last time at which the object was synced with the on premises directory the timestamp type represents date and time information using iso 8601 format and is always in utc time onpremisessyncenabled (boolean) true if this object is synced from an on premises directory; false if this object was originally synced from an on premises directory but is no longer synced profiletype (string) the profile type of the device possible values are registereddevice (default), securevm , printer , shared , iot systemlabels (array) list of labels applied to the device by the system output output parameters status code (number) reason (string) json body (object) error (object) code (string) message (string) innererror (object) date (string) request id (string) client request id (string) response headers header type cache control string transfer encoding string content type string content encoding string vary string strict transport security string request id string client request id string x ms ags diagnostic string x ms resource unit string date string