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 Apps / Track and log user act...
Power Apps
Unanswered

Track and log user activities

(1) ShareShare
ReportReport
Posted on by 47

Hi!

 

I am looking for a way to track and make a log of the activities of our users. We are a back office team and as a manager I want to see how many cases they open, modifies (and then I want to see not only the last modified, I want to see very modification so it shall not write over and make it a column "last modified"), and closes during a day. I want to have a report of this user activity log in a way with time log and possibility to export to excel. 

I am very new to CDS and PowerApps, I reach out to you guys so I hope I can get some help. Every repy is hghly appreciated


Best regards,
Goog

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    on at

    Hi gog,

     

    I am afraid it is currently not possible to achieve your scenario.

     

    Please consider to post an idea at PowerApps Ideas Forum about this issue, I will help collect and report it on my side:
    https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas


    Best regards,
    Mabel Mao

  • JRaasumaa Profile Picture
    1,325 on at

    @gog wrote:

    Hi!

     

    I am looking for a way to track and make a log of the activities of our users. We are a back office team and as a manager I want to see how many cases they open, modifies (and then I want to see not only the last modified, I want to see very modification so it shall not write over and make it a column "last modified"), and closes during a day. I want to have a report of this user activity log in a way with time log and possibility to export to excel. 

    I am very new to CDS and PowerApps, I reach out to you guys so I hope I can get some help. Every repy is hghly appreciated


    Best regards,
    Goog


     

    Because PowerApps doesn't have anything built in for this type of tracking the workaround we have is to also write to a log file database table everytime a user does something that needs tracking. 

     

    For example: if I click the delete button, it not only deletes the items but will write a row to the log for that screen that says who did what, when.

     

    It takes a lot of planning but would allow you to accomplish this.

  • Community Power Platform Member Profile Picture
    on at

    hi

    @JRaasumaa

     

    This is really critical for me as well. Can you explain how you created database? 

     

    Thanks

     

  • Community Power Platform Member Profile Picture
    on at

    Hi @Anonymous,

     

    I've done the following to save timestamps for the last time they synchronized their data:

    1. Create a Sharepoint list with a email and timestamp column (both single text)
    2. Using the patch function you can store the data

    Here is full code example of my timestamp saving:

    If(
     Connection.Connected,
     Set(
     localUserObject,
     LookUp(
     'TimestampTableSource',
     Title=User().Email
     )
     );
     If(
     IsBlank(localUserObject),
     Patch(
     'TimestampTableSource',
     Coalesce(
     localUserObject,
     Defaults('TimestampTableSource')
     ),
     {
     Title: User().Email,
     Timestamp: Text( Now(), "[$-en-US]dd.mm.yyyy hh:mm:ss" )
     }
     ),
     Patch(
     'TimestampTableSource',
     localUserObject,
     {
     Timestamp: Text( Now(), "[$-en-US]dd.mm.yyyy hh:mm:ss" )
     }
     )
     );
     ClearCollect(
     LocalUserStorage,
     LookUp(
     'TimestampTableSource',
     Title=User().Email
     )
     );
     SaveData(
     LocalUserStorage,
     "localUserStorage"
     ),
     LoadData(
     LocalUserStorage,
     "localUserStorage",
     true
     )
    )

    This codes saves the last timestamp a user has a connection. If not the data from the cache will be loaded.

     

    I'm sure this could be more elegant but it works as expected.

  • NJD365Partner Profile Picture
    20 on at

    There is a great solution now available - Dynamics 365 / Powerapps User Activity & Adoption Reports 

    User Login ReportingUser Login ReportingActivities AnalysisActivities AnalysisUser Activity & Adoption LeaderboardUser Activity & Adoption LeaderboardRecord OwnershipRecord OwnershipRecords CreatedRecords Created

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard