編輯

共用方式為


deviceLocalCredentialInfo resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents local administrator credential information for all device objects in Microsoft Entra ID that are enabled with Local Admin Password Solution (LAPS).

Methods

Method Return type Description
List deviceLocalCredentialInfo collection Get a list of the deviceLocalCredentials objects and their properties.
Get deviceLocalCredentialInfo Retrieve the properties and relationships of a deviceLocalCredentialInfo object.

Properties

Property Type Description
credentials deviceLocalCredential collection The credentials of the device's local administrator account backed up to Azure Active Directory.
deviceName String Display name of the device that the local credentials are associated with.
id String ID of the device that the local credentials are associated with Key. This is same as deviceId in the device object.
lastBackupDateTime DateTimeOffset When the local administrator account credential was backed up to Microsoft Entra ID.
refreshDateTime DateTimeOffset When the local administrator account credential will be refreshed and backed up to Microsoft Entra ID.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.deviceLocalCredentialInfo",
  "id": "String (identifier)",
  "deviceName": "String",
  "lastBackupDateTime": "String (timestamp)",
  "refreshDateTime": "String (timestamp)",
  "credentials": [
    {
      "@odata.type": "microsoft.graph.deviceLocalCredential"
    }
  ]
}