passwordProfile 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.

Contains the password profile associated with a user. The passwordProfile property of the user entity is a passwordProfile object. See an example to Update the passwordProfile of a user.

Properties

Property Type Description
forceChangePasswordNextSignIn Boolean true if the user must change their password on the next sign-in; otherwise false. If not set, default is false.
forceChangePasswordNextSignInWithMfa Boolean If true, at next sign-in, the user must perform a multifactor authentication (MFA) before being forced to change their password. The behavior is identical to forceChangePasswordNextSignIn except that the user is required to first perform a multifactor authentication before password change. After a password change, this property will be automatically reset to false. If not set, default is false.
password String The password for the user. This property is required when a user is created. It can be updated, but the user will be required to change the password on the next sign-in. The password must satisfy minimum requirements as specified by the user's passwordPolicies property. By default, a strong password is required.

JSON representation

The following JSON representation shows the resource type.

{
  "forceChangePasswordNextSignIn": true,
  "forceChangePasswordNextSignInWithMfa": false,
  "password": "string"
}