Home

Users are getting a "change your password" notification that won't go away

%3CLINGO-SUB%20id%3D%22lingo-sub-517905%22%20slang%3D%22en-US%22%3EUsers%20are%20getting%20a%20%22change%20your%20password%22%20notification%20that%20won't%20go%20away%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-517905%22%20slang%3D%22en-US%22%3E%3CP%3ESeveral%20users%20have%20reported%20that%20Office%20365%20(specifically%2C%20SharePoint%2C%20but%20the%20Office%20365%20portal%20shows%20it%20too)%20keeps%20showing%20them%20a%20notification%20that%20says%20%22%3CSTRONG%3Eyour%20password%20will%20expire%20in%20X%20days%3C%2FSTRONG%3E%22%20with%20a%20link%20to%20change%20it.%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20style%3D%22width%3A%20300px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F111853iA0AF80DBF165C480%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22password-expiry-sp-not.png%22%20title%3D%22password-expiry-sp-not.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20two%20recent%20cases%2C%20the%20users'%20passwords%20were%20indeed%20about%20to%20expire%2C%20but%20after%20the%20users%20changed%20their%20passwords%2C%20logged%20off%2C%20logged%20back%20on%2C%20etc.%2C%20the%20notifications%20are%20still%20showing%20up%20for%20them%2C%20days%20later.%20Dismissing%20the%20notification%20doesn't%20help%3B%20it%20comes%20back%20after%20a%20little%20bit.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20affected%20users%20are%20all%20federated.%20We%20are%20using%20ADFS%202012%20R2%20and%20Azure%20AD%20Connect.%20We%20have%20not%20enabled%20password%20hash%20sync%2C%20nor%20have%20we%20enabled%20password%20writeback.%20Our%20password%20policy%20in%20Office%20365%20is%20set%20to%20never%20expire.%20(Since%20these%20users%20are%20federated%2C%20I%20don't%20think%20that%20should%20matter.)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20not%20sure%20what%20else%20to%20try.%20Has%20anyone%20else%20seen%20this%20issue%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-517905%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EIdentity%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Epassword%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-518203%22%20slang%3D%22en-US%22%3ERe%3A%20Users%20are%20getting%20a%20%22change%20your%20password%22%20notification%20that%20won't%20go%20away%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-518203%22%20slang%3D%22en-US%22%3E%3CP%3EYour%20AD%20FS%20is%20most%20likely%20configured%20to%20send%20the%20%22password%20expiration%22%20claim%20to%20Office%20365%2C%20which%20in%20turn%20uses%20it%20to%20surface%20this%20notification%20when%20needed.%20The%20expiry%20relates%20to%20the%20on-premises%20password.%20Not%20sure%20why%20it%20keeps%20showing%20for%20some%20users%20though%2C%20I'd%20suggest%20changing%20the%20corresponding%20attributes%20and%20capture%20the%20full%20list%20of%20claims%20being%20sent.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-518347%22%20slang%3D%22en-US%22%3ERe%3A%20Users%20are%20getting%20a%20%22change%20your%20password%22%20notification%20that%20won't%20go%20away%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-518347%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F58%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E%2C%20thanks%20for%20your%20reply.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20came%20across%20that%20in%20my%20searching%20as%20well%2C%20but%20when%20I%20looked%20at%20our%20claims%20rules%2C%20it%20appears%20we%20already%20have%20those%20claims%20being%20sent.%20Here's%20the%20rule%20we%20have%3A%3C%2FP%3E%3CPRE%3Ec1%3A%5BType%20%3D%3D%20%22http%3A%2F%2Fschemas.microsoft.com%2Fws%2F2012%2F01%2Fpasswordexpirationtime%22%5D%3CBR%20%2F%3E%3D%26gt%3B%20issue(store%20%3D%20%22_PasswordExpiryStore%22%2C%20types%20%3D%20(%22http%3A%2F%2Fschemas.microsoft.com%2Fws%2F2012%2F01%2Fpasswordexpirationtime%22%2C%20%22http%3A%2F%2Fschemas.microsoft.com%2Fws%2F2012%2F01%2Fpasswordexpirationdays%22%2C%20%22http%3A%2F%2Fschemas.microsoft.com%2Fws%2F2012%2F01%2Fpasswordchangeurl%22)%2C%20query%20%3D%20%22%7B0%7D%3B%22%2C%20param%20%3D%20c1.Value)%3B%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CBLOCKQUOTE%3E%3CP%3E%3CSPAN%3EI'd%20suggest%20changing%20the%20corresponding%20attributes%20and%20capture%20the%20full%20list%20of%20claims%20being%20sent.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%3CP%3E%3CSPAN%3EI'm%20not%20sure%20which%20attributes%20you're%20referring%20to.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-523174%22%20slang%3D%22en-US%22%3ERe%3A%20Users%20are%20getting%20a%20%22change%20your%20password%22%20notification%20that%20won't%20go%20away%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-523174%22%20slang%3D%22en-US%22%3E%3CP%3EWell%20yes%2C%20because%20you%20are%20sending%20the%20claim%20you%20get%20the%20notification%20in%20O365.%20However%2C%20if%20the%20claim%20is%20set%20in%20error%2C%20this%20can%20explain%20the%20behavior%20you%20are%20observing.%20So%20my%20point%20was%20to%20check%20the%20actual%20claim%20being%20sent%20for%20one%20of%20those%20users%2C%20which%20you%20can%20do%20by%20using%20the%20event%20logs%20or%20via%20tools%20such%20as%20Claims%20X-Ray%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fadfshelp.microsoft.com%2FClaimsXray%2FTokenRequest%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fadfshelp.microsoft.com%2FClaimsXray%2FTokenRequest%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-525565%22%20slang%3D%22en-US%22%3ERe%3A%20Users%20are%20getting%20a%20%22change%20your%20password%22%20notification%20that%20won't%20go%20away%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-525565%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F58%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E%26nbsp%3BThanks%20for%20that.%20I%20just%20did%20some%20testing%20with%20the%20Claims%20X-Ray%20tool%2C%20adding%20in%20the%20claim%20rule%20I%20mentioned%20before.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20tested%20with%20one%20of%20the%20original%20users%20facing%20this%20issue.%20She%20has%20recently%20changed%20her%20password.%20On%20%22Forms%22%20authentication%2C%20she%20only%20has%20the%20%22passwordexpirationtime%22%20claim.%20On%20WIA%2C%20no%20password%20expiration%20claims%20are%20sent.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20tested%20with%20another%20user%2C%20whose%20password%20will%20expire%20in%20a%20few%20days.%20On%20%22Forms%22%20authentication%2C%20she%20is%20receiving%20the%20%22passwordexpirationtime%22%2C%20%22passwordexpirationdays%22%2C%20and%20%22passwordchangeurl%22%20claims.%20On%20WIA%20method%2C%20again%2C%20no%20password%20expiration%20claims%20are%20sent.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDoing%20a%20little%20more%20testing%2C%20here's%20what%20seems%20to%20be%20happening%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUsing%20the%20%22Windows%20Integrated%20Authentication%22%20method%2C%20no%20password%20expiration%20claims%20are%20sent%20at%20all.%20(This%20is%20our%20users'%20default%20method%20because%20we%20have%20our%20ADFS%20server%20address%20in%20the%20Local%20Intranet%20zone%20so%20users%20aren't%20required%20to%20enter%20their%20password%20in%20browsers%20on%20their%20workstations.)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUsing%20the%20%22Forms%22%20authentication%20method%2C%20the%20following%20claims%20are%20being%20sent%3A%3C%2FP%3E%3CUL%3E%3CLI%3Epasswordexpirationtime*%20%E2%80%93%20sent%20to%20all%20users%20(twice%2C%20if%20their%20password%20will%20soon%20expire)%3C%2FLI%3E%3CLI%3Epasswordexpirationdays%20%E2%80%93%20only%20being%20sent%20to%20users%20whose%20passwords%20will%20soon%20expire%3C%2FLI%3E%3CLI%3Epasswordchangeurl%20%E2%80%93%20again%2C%20this%20is%20only%20being%20sent%20for%20users%20with%20passwords%20soon%20to%20expire%3C%2FLI%3E%3C%2FUL%3E%3C%2FLINGO-BODY%3E
Highlighted
Andrew Colombino
Occasional Contributor

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.password-expiry-sp-not.png

 

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?

4 Replies

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.

@Vasil Michev, 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

@Vasil Michev Thanks for that. I just did some testing with the Claims X-Ray tool, adding in the claim rule I mentioned before.

 

I tested with one of the original users facing this issue. She has recently changed her password. On "Forms" authentication, she only has the "passwordexpirationtime" claim. On WIA, no password expiration claims are sent.

 

I tested with another user, whose password will expire in a few days. On "Forms" authentication, she is receiving the "passwordexpirationtime", "passwordexpirationdays", and "passwordchangeurl" claims. On WIA method, again, no password expiration claims are sent.

 

Doing a little more testing, here's what seems to be happening:

 

Using the "Windows Integrated Authentication" method, no password expiration claims are sent at all. (This is our users' default method because we have our ADFS server address in the Local Intranet zone so users aren't required to enter their password in browsers on their workstations.)

 

Using the "Forms" authentication method, the following claims are being sent:

  • passwordexpirationtime* – sent to all users (twice, if their password will soon expire)
  • passwordexpirationdays – only being sent to users whose passwords will soon expire
  • passwordchangeurl – again, this is only being sent for users with passwords soon to expire
Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies