Hi, all, I'm familiar with Power Apps in reference to SharePoint Online, but I've recently had a request for something that I do not think is possible. We had a password expiration web part in a previous version of SharePoint, which we cannot use in our new environment. Is there a way to show a user when their AD password will expire via a Power App? The only requirement is that the number of days left before expiration is visible to the user.
There is a way to do it pulling data straight from Microsoft Graph.
I'm also looking for an easy way to do this, shocked there is not more content on this in this forum
You can use Power Automate to send a Http request to graph API to get the last password change (lastPasswordChangeDateTime) and add the number of days to expire.
For more information about the graph api https://docs.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-1.0
Is it helpful? give it a Thumbs Up
Does it solve your question? Please Accept as Solution
Also now see that the AAD connector can pull the last password change date/time stamp.
so with that and if you already know your org's passpolicy then the expiration date/time can easily be calculated.
Sadly in my environment I need to go Lobby the powers to Allow the AAD connector to -connect.
Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.
We are excited to announce a new way to share your ideas for Power Apps!