Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Check what app a user is using and the last time they used it in CRM?

(3) ShareShare
ReportReport
Posted on by 6
Hello,
 
Is there a way to check what app a user is using and when they last used it?
 
So for example if i wanted to check if a user is using the dynamics custom app or the sales hub and the last time they accessed that app in CRM?
Categories:
  • Suggested answer
    Aymen CHELBI Profile Picture
    344 on at
    Check what app a user is using and the last time they used it in CRM?
    Hello, 
     
    With auditing disabled in the system settings, CRM is not tracking any activities. We recommend enabling the audit settings, and you can selectively disable auditing for specific entities like Account and Contact. Unfortunately, there is no simpler option in CRM to track user logins other than through audit history. As for tracking logged-in users, this feature is not available in the system at the moment. Please find below useful information about the audit database table details, which you can refer to as needed.
     
     
    We also have a productivity app called  User Adoption Monitor, which allows you to track actions such as creating, updating, deleting, etc., on entity records. Additionally, it enables you to monitor the times users accessed or used CRM.

    We also provide an Access Summary dashboard to give you a quick overview of the details.

    This app is a Microsoft-preferred solution available on AppSource, and we encourage you to give it a try.

    Best regards,

  • Suggested answer
    Daivat Vartak (v-9davar) Profile Picture
    2,738 Super User 2025 Season 1 on at
    Check what app a user is using and the last time they used it in CRM?
    Hello James,
     

    Unfortunately, Dynamics 365 doesn't offer a direct, built-in feature to track specifically which app (like your custom app vs. Sales Hub) a user is using and their last access time for that app. The platform tracks user logins and activity at a broader level, but not down to the individual app usage.

    However, there are some approaches you can take to get some insights, although they might not be perfect:

    1. Audit Logs (Partial Information):

    • Enable Auditing: If you haven't already, enable auditing in Dynamics 365. Auditing can track user logins and some activities, but it doesn't usually record specifically which app was used.
    • Review Audit Logs: You can review the audit logs to see user login times. This will give you a general idea of when a user was active in Dynamics 365, but not which app they used.
    • Limitations: Auditing is more focused on data changes than app usage. It might give you indirect clues (e.g., if a user accessed records related to a specific app), but not definitive proof of app usage.

    •  

    2. Model-Driven App Usage Insights (Limited):

    • App Insights: For Model-driven apps, there are some usage insights available at the app level but not at the user level. You can see how many times an app has been opened and other aggregate usage data, but you cannot see which user opened the app.
    • Limitations: This is not granular enough to see each user's app usage.

    •  

    3. Custom Solutions (Most Accurate, but Complex):

    • Custom Logging: The most accurate way to track app usage would be to develop a custom solution. This could involve:

      • JavaScript in Apps: Add JavaScript code to your Model-driven apps that logs when a user opens or interacts with the app. This log data could be sent to a custom entity in Dataverse or an external logging service.
      • Plugins/Webhooks: You could use plugins or webhooks to track app access when users log in. This would require some development effort. 

      •  
    • Power Apps Analytics (If Applicable): If you're using Power Apps (Canvas apps) embedded within Dynamics 365, Power Apps has its own analytics that might provide some usage information.

    •  

    4. Network/Server Logs (Advanced, but Potentially Useful):

    • IIS Logs (On-Premises): If you have an on-premises Dynamics 365 deployment, you might be able to analyze IIS logs to get some information about which URLs users are accessing. This could give you clues about app usage, but it would require technical expertise to analyze the logs.
    • Azure Activity Logs (Online): For Dynamics 365 online, Azure activity logs might provide some insights, but again, this would require technical skills to analyze.

    •  

    5. Third-Party Solutions:

    • App Usage Tracking Tools: There might be third-party solutions or add-ons for Dynamics 365 that offer app usage tracking. You could research the Dynamics 365 Marketplace to see if any such tools exist.

    •  

    Which Approach to Take:

    • For general insights: Check Model-driven app usage insights (if applicable) and consider enabling auditing.
    • For detailed tracking: A custom solution with JavaScript logging in your apps is the most accurate approach, but it requires development effort.
    • For on-premises deployments: Analyzing IIS logs might provide some information, but it's a more advanced technique.

    Key Considerations:

    • Development Effort: Custom solutions require development skills and time.
    • Performance: Logging app usage could potentially impact performance if not implemented carefully.
    • Privacy: Be mindful of privacy regulations when tracking user activity.
     
    If my answer was helpful, please click Like, and if it solved your problem, please mark it as verified to help other community members find more. If you have further questions, please feel free to contact me.
     
    My response was crafted with AI assistance and tailored to provide detailed and actionable guidance for your Microsoft Dynamics 365 query.
     
    Best Regards,
    Daivat Vartak
  • Suggested answer
    Sami Ullah Profile Picture
    310 Super User 2025 Season 1 on at
    Check what app a user is using and the last time they used it in CRM?
    Hi James,

    If you need to track which Dynamics 365 app (e.g., Sales Hub, custom app) a user is accessing and their last activity time, here are your options with their limitations:

    Option 1: Custom Tracking
    Create a "User App Log" entity in Dynamics.
    Add JavaScript to app pages to log app name/user/time.
    Limits: Only tracks app launches (not usage time), needs code in every app.

    Option 2: Basic Audit Logs
    Use Dynamics/Azure AD logs to see login times (Settings > Audit or Azure AD).
    Limits: Shows logins but not which app was used.

    No native way – custom is better for app-specific tracking! 

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,099 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,880 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans