title | description | author | ms.localizationpriority | ms.subservice | doc_type |
---|---|---|---|---|---|
passwordCredentialConfiguration resource type |
Password credential configuration complex type to configure password credential restriction, maxLifetime, and enforcement date |
madansr7 |
medium |
entra-sign-in |
resourcePageType |
Namespace: microsoft.graph
Password credential configuration object that contains properties to configure restrictions such as blocking or restricting lifetimes of password secrets.
Property | Type | Description |
---|---|---|
restrictionType | appCredentialRestrictionType | The type of restriction being applied. The possible values are: passwordAddition , passwordLifetime , symmetricKeyAddition , symmetricKeyLifetime ,customPasswordAddition , unknownFutureValue . Each value of restrictionType can be used only once per policy. |
maxLifetime | Duration | Value that can be used as the maximum number for setting password expiration time in days, hours, minutes or seconds. Defined in ISO 8601 format for Durations. For example, "P4DT12H30M5S" represents a duration of four days, twelve hours, thirty minutes, and five seconds. This property is required when restriction type is set to passwordLifetime . |
restrictForAppsCreatedAfterDateTime | DateTimeOffset | Enforces the policy for an app created on or after the enforcement date. For existing applications, the enforcement date would be back dated. To apply to all applications, enforcement datetime would be null . |
None.
The following is a JSON representation of the resource.
{
"@odata.type": "#microsoft.graph.passwordCredentialConfiguration",
"restrictionType": {
"@odata.type": "microsoft.graph.appCredentialRestrictionType"
},
"maxLifetime": "String (duration)",
"restrictForAppsCreatedAfterDateTime": "DateTimeOffset"
}