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

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 Pages

#1
Fubar Profile Picture

Fubar 89 Super User 2025 Season 2

#2
Jerry-IN Profile Picture

Jerry-IN 75

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard