I need to know about the information for the external user last logged-in time over a site. Is it possible to get through REST or Client-Object Modal?

  • I don't believe this is possible, and my hope is that I am incorrect and someone will come and prove me wrong. :)
    – shufler
    Jan 19, 2016 at 23:39
  • You can find user login details and activity from Microsoft Compliance center. Auditing feature must be enabled before using it. Further you can access these details from api using Microsoft graph. Apr 6, 2022 at 11:33

1 Answer 1


Since you know what site they'll be using, you could turn on audit logging and check the last time they trigger a basic audit case like:

Opening or downloading documents, viewing items in lists, or viewing item properties

This of course assumes that when people log in they then open or view an item (probably a page...), but I think that is a fair assumption.

You need to have this setup beforehand though (won't be able to go back and find people from before you turn auditing on).

Turn on audit logging under Site Collection Administration > Configure Audit Settings

When you want to know info about someone generate an audit report for that specific user and use some good old fashioned excel skills to sort the sheet by event time.

  • Even I Have also researched over this and found not recommended action for Sharepoint online . it can be performed efficiently and in a controlled manner for Sharepoint On-Premises.
    – user27178
    Mar 4, 2016 at 6:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.