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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Last Successful Login ...
Power Pages
Answered

Last Successful Login on Contact record

(0) ShareShare
ReportReport
Posted on by 36

I manage several instances of Power Apps Portals.
On some (but not all) of them, the Last Successful Login field on the Contact record has stopped updating.
It may be version related - the portals on 9.3.4 don't work whereas those on 9.3.3. do work.

 

I understand that this feature is deprecated and should be replaced with Azure Application Insights.
However we still require the ability to search by LastLogin date using Advanced Find (eg, "look for contacts where last login is today"). This worked well with the now depreacted feature but (I think) can't be done using Application Insights because the data isn't stored on the contact record.

 

I'm thinking of using the Portals WebAPI to add a patch call from the Portal homepage to update the LastLogin field to (almost) replicate the old behaviour. Am I'm missing something before going down this route?

Categories:
I have the same question (0)
  • Verified answer
    OOlashyn Profile Picture
    3,496 Most Valuable Professional on at

    Hi @mikefeingold ,

     

    Yes data from Azure Application Insights is not available on the contact record unless you will create some additional integration. You can add contactid as a parameter to the events that you are sending to AAI, but again it will be available only there (you can see how to do it in my post here). Idea to use Portal Web API is actually good enough, just don't forget to add some validation to submit data once per day, so you will not consume a lot of api calls.

  • mikefeingold Profile Picture
    36 on at

    HI @OOlashyn  - thanks for your reply. We're looking into the WebAPI option. Good call about the once per day validation. 

     

    Mike

  • PrasadMotupalli Profile Picture
    4 on at

    I have Done something for this deprecated functionality, Check this below blog
    https://prasadmotupallicrm.blogspot.com/2021/10/last-successful-login-on-contact-record.html

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Pages

#1
Hammed Profile Picture

Hammed 22

#2
Lucas001 Profile Picture

Lucas001 21 Super User 2026 Season 1

#3
DP_Prabh Profile Picture

DP_Prabh 19

Last 30 days Overall leaderboard