Forum Discussion
Andrew Colombino
May 02, 2019Brass Contributor
Users are getting a "change your password" notification that won't go away
Several users have reported that Office 365 (specifically, SharePoint, but the Office 365 portal shows it too) keeps showing them a notification that says "your password will expire in X days" with a link to change it.
In two recent cases, the users' passwords were indeed about to expire, but after the users changed their passwords, logged off, logged back on, etc., the notifications are still showing up for them, days later. Dismissing the notification doesn't help; it comes back after a little bit.
The affected users are all federated. We are using ADFS 2012 R2 and Azure AD Connect. We have not enabled password hash sync, nor have we enabled password writeback. Our password policy in Office 365 is set to never expire. (Since these users are federated, I don't think that should matter.)
I'm not sure what else to try. Has anyone else seen this issue?
Your AD FS is most likely configured to send the "password expiration" claim to Office 365, which in turn uses it to surface this notification when needed. The expiry relates to the on-premises password. Not sure why it keeps showing for some users though, I'd suggest changing the corresponding attributes and capture the full list of claims being sent.
- Andrew ColombinoBrass Contributor
VasilMichev, thanks for your reply.
I came across that in my searching as well, but when I looked at our claims rules, it appears we already have those claims being sent. Here's the rule we have:
c1:[Type == "http://schemas.microsoft.com/ws/2012/01/passwordexpirationtime"]
=> issue(store = "_PasswordExpiryStore", types = ("http://schemas.microsoft.com/ws/2012/01/passwordexpirationtime", "http://schemas.microsoft.com/ws/2012/01/passwordexpirationdays", "http://schemas.microsoft.com/ws/2012/01/passwordchangeurl"), query = "{0};", param = c1.Value);I'd suggest changing the corresponding attributes and capture the full list of claims being sent.
I'm not sure which attributes you're referring to.
Well yes, because you are sending the claim you get the notification in O365. However, if the claim is set in error, this can explain the behavior you are observing. So my point was to check the actual claim being sent for one of those users, which you can do by using the event logs or via tools such as Claims X-Ray: https://adfshelp.microsoft.com/ClaimsXray/TokenRequest