Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 the PIN for the user in a QR code authentication method. When the user is registered for the QR code authentication method, they get a temporary PIN which they are required to change during the initial sign-in. Self-service PIN reset isn't supported. Only admins can reset the user's PIN by creating a new temporary PIN.
Methods
Method | Return type | Description |
---|---|---|
Reset PIN | qrPin | Reset a user's PIN by creating a new qrPIN object. |
Update PIN | qrPin | Update a user's PIN by creating a new qrPIN object. |
Properties
Property | Type | Description |
---|---|---|
code | String | PIN of the user. It is between 8-20 digits as configured in the QR code authentication method policy. The code is temporary when issued by admin but permanent after the user changes it at the first login attempt. This PIN can be reset by the admin but not the user. |
createdDateTime | DateTimeOffset | The date and time when the PIN was created. |
forceChangePinNextSignIn | Boolean | Defaults to true for a temporary PIN. |
updatedDateTime | DateTimeOffset | The date and time when the PIN was updated. |
Relationships
None.
JSON representation
The following JSON representation shows the resource type.
{
"@odata.type": "#microsoft.graph.qrPin",
"code": "String",
"forceChangePinNextSignIn": "Boolean",
"createdDateTime": "String (timestamp)",
"updatedDateTime": "String (timestamp)"
}