How to get all the users info in a SharePoint who is currently logged on

Raj Shekar 21 Reputation points
2020-08-03T09:32:21.207+00:00

Hi All,

How to get all the users info in a SharePoint who is currently logged on

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,685 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,608 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Trevor Seward 11,701 Reputation points
    2020-08-04T01:44:24.37+00:00

    It isn't possible to know who is actively logged on at any given time as that isn't how stateless protocols work. But you can check the Azure AD Sign-in logs or Unified Audit Log in the M365 Admin center to see who has logged on within the past N period of time.

    0 comments No comments

  2. Baker Kong-MSFT 3,801 Reputation points
    2020-08-04T02:32:10.51+00:00

    Hi @Raj Shekar ,

    As I understand, SharePoint does not provide any means to figure out who is currently logged on as HTTP is a stateless protocol, you don't know if a user is currently online, even if he/she just requested a site from your SiteCollection a few seconds ago.

    Best Regards,
    Baker Kong


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.