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

Community site session details

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

How to get user last login date from D365 using Power BI

(1) ShareShare
ReportReport
Posted on by 2
Hi , I would like to find out user last login to D365 portal for monthly review so would like to extract user with last login date. I saw this article How to – Get User’s last logon time in Dynamics 365 – Nishant Rana's Weblog , this is useful but I would like to extract the information. Could someone share what is table used for this report so that we can do powerbi report similar to the audit summary view table report? I saw there is system users table. I tried using the fetchxml method in the article but there is error when i tried to call the API
 
 
 
 
 
 
I have the same question (0)
  • Suggested answer
    Leah Ju Profile Picture
    Microsoft Employee on at
    How to get user last login date from D365 using Power BI
    Hi Partner,
    Not working?
    I can run the fetchxml successfully:
    --This involves two main entities: audit and systemuser.

    I hope you can verify my answer if it helps you! If you have any questions, please feel free to contact me.
    Regards,
    Leah
  • Community member Profile Picture
    2 on at
    How to get user last login date from D365 using Power BI
    Hi Leah,
     
    THanks for your reply. I tried to use it in power automate . can you enlighten me what should be the correct url and parameters? 
     
     
    what should be the uri? https://<crm url>/api/data/v9.2/ or https://<crm url>/api/data/v9.2/accounts ?
     
     
    i keep having this error HTTP Error 400. The request is badly formed.
  • Suggested answer
    Leah Ju Profile Picture
    Microsoft Employee on at
    How to get user last login date from D365 using Power BI
    Hi Partner,
    Why use account entity names in your process?
    The link just takes account as a demonstration, you should use audit entity name.
    Tring to use this:
    More information:
    audit EntityType web API reference:

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
#ManoVerse Profile Picture

#ManoVerse 105

#2
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 74 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans