Skip to main content

Notifications

Customer Service forum

Portal User Last Login date time

Posted on by 180

Hello,

I need to capture the last successful login date time of all the portal users, is there any other option other than the below two? 

1) Authentication/LoginTrackingEnabled portal site setting

2) Out of box Customer Insights feature

thanks for the help!

Categories:
  • Suggested answer
    CRMJetty Profile Picture
    CRMJetty 3,508 on at
    RE: Portal User Last Login date time

    Hello,

    setting "Authentication/LoginTrackingEnabled" is preferable way or you can also refer this link,

    http://www.mscrmsolution.com/blogs/post/User-Access-Audit-Get-Last-Login-Date-Time-for-CRM-User/

    I hope it helps,

    Thanks.

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365

  • Manuel Steiner Profile Picture
    Manuel Steiner 192 on at
    RE: Portal User Last Login date time

    Hi

    Did you implement this? We need exactly the same thing and I'm trying to figure out how to do this

  • Seth T Bacon Profile Picture
    Seth T Bacon 45 User Group Leader on at
    RE: Portal User Last Login date time

    Has anyone implemented the new method yet? Looking to implement in the government cloud and want to confirm the resources needed to setup using Azure Application Insights.

    The goal is to have the person locked out after XX days if they haven't logged in recently.

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Portal User Last Login date time

    Hi,

    In the same article where it says it will be deprecated, they have provided recommendation of using Azure Application Insights.

    Check this: blogs.msdn.microsoft.com/.../portal-capabilities-for-dynamics-365-deprecated-features

    Hope this helps.

  • CRMISKEY Profile Picture
    CRMISKEY 180 on at
    RE: Portal User Last Login date time

    Hi Ravi,

    Microsoft says, doing this by means of "Authentication/LoginTrackingEnabled" site setting will have performance impact and not recommended. And, they say, it is going to be deprecated in one of the upcoming releases.

    Thanks.

  • Suggested answer
    Alvaro Pino Profile Picture
    Alvaro Pino 45 on at
    RE: Portal User Last Login date time

    Hi CRMISKEY,

    According to MS documentation the recommended way to achieve this would be using Azure Application Insights.

    You can find the note here in the Audit login section.

    docs.microsoft.com/.../implement-gdpr

    I hope that helps!

  • LuHao Profile Picture
    LuHao 40,870 on at
    RE: Portal User Last Login date time

    Hi partner,

    This has a similar post: https://community.dynamics.com/365/f/761/t/263103

    As the previous one said, setting Authentication/LoginTrackingEnabled is really a good way.

    It will update the Last Successful Login field on the Contact record.

    Hope this helps.

    Best Regards,

    Lu Hao

  • RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Portal User Last Login date time

    Hi,

    I don't think there is any other standard way to achieve this. Infact setting " Authentication/LoginTrackingEnabled " setting should be the preferred way.

    Any specific reason you are looking for option other than this?

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,818 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,147 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans