Notifications
Announcements
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
Hi,
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 UpDoes it solve your question? Please Accept as Solution
@victorcp thanks for joining the party, I was just looking at that, but cant seem to wrap my mind on how to establish the security for that call...thoughts, ideas?
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.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 717 Most Valuable Professional
Michael E. Gernaey 329 Super User 2025 Season 2
Power Platform 1919 268