在 Azure AD B2C 中,我们可以在 N 天后强制重置密码吗?

In Azure AD B2C, Can we force a password reset after N days?

使用local accounts时,我们可以强制每N天更改一次密码吗?

如果不是,我们可以使用图表api来确定上次更改密码的时间吗?

你不会喜欢我的回答,但是...

目前,Azure AD B2C 不支持强制密码重置。我会投票给它 here.

此时,图形API也不支持上次更改密码的时间。投票给 here.

Azure AD B2C 团队更新了用户语音请求here。 所以现在可以使用扩展策略来强制密码过期了,可以看看代码here.

此外,Azure AD 团队发布了类似的功能,更新了用户语音请求here

属性被称为:

lastPasswordChangeDateTime

似乎确实是正确的:

The time when this Azure AD user last changed their password. The date and time information uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'

查看更新后的官方 documentation 图表 API。