web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Displaying User Passwo...
Power Apps
Unanswered

Displaying User Password Expiration Date

(0) ShareShare
ReportReport
Posted on by

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.

Categories:
I have the same question (0)
  • chico Profile Picture
    638 on at

    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

  • victorcp Profile Picture
    2,350 Moderator on at

    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 Up
    Does it solve your question? Please Accept as Solution

  • chico Profile Picture
    638 on at

    @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?

  • chico Profile Picture
    638 on at

    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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard