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 Automate / HTTP request graph get...
Power Automate
Unanswered

HTTP request graph get password last changed

(0) ShareShare
ReportReport
Posted on by 27

I tried to create a HTTP request to https://graph.microsoft.com/v1.0/users/ to get the PasswordLastChanged of PwdLastSet field from a AD user so I can send an email when it almost expires but the HTTP request doesnt give me that fields. Anyone an idea?

Categories:
I have the same question (0)
  • Brad_Groux Profile Picture
    4,556 on at

    First, you should likely insure that all of the Prerequisites for connecting to The Microsoft Graph Security connector have been met. You should also notice that there are no password definitions available with the connector itself. Also, a quick search of the Graph API documentation and the Microsoft Graph beta endpoint reference each show no instance or mention of the PasswordLastChanged definition. 

    The Azure AD Connector, and it's corresponding Azure AD Graph API Documentation do have some password capabilities - as defined by the Azure AD Graph API reference. I believe what you are seeking can be found within the Operations on Users section of the reference, specifically the Other navigation properties section which references the User Entity

    This again has many mentions of password related items, but nothing specifically for PasswordLastChanged. If this is functionality you would like to see added to Flow or a Flow Template, please consider submitting it to the Flow Ideas page, where it can be voted on by other users, and tracked and commented on by the Flow team.

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Murderbot Profile Picture
    132 on at

    This can actually be done with a Microsoft Graph HTTP request.  You have to set up an application in your AAD portal using these instructions and then set your HTTP request to use OAuth to access the app.  The users entity has a property called lastPasswordChangeDateTime that isn't included in the normal get user action but can be accessed using the URI below.  The Authority and Audience are always the same.  

    Murderbot_0-1609891472163.png

    The only catch is that HTTP is now a Premium action.  If anyone can figure out how to get around that, I'd be much obliged!  

     

  • Community Power Platform Member Profile Picture
    on at

    This works with MS Graph Beta. Just do a Get https://graph.microsoft.com/beta/users/{email-address}?$select=lastPasswordChangeDateTime

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard