I would like to know how to generate a list of all active users in a SharePoint Online site, and its sub sites in a csv file, including the following information:

  • Date of creation of the csv file
  • Last login and permissions for each user
  • Groups that he belongs to

Even just a part of the answer could be useful. I'm thinking about SharePoint Online shell.

Any other coding languages are acceptable.

1 Answer 1


You can get all SharePoint Online Active users using powershell by below given link steps. It is already available on MSDN.

All SP Online Active Users

If you want different kind on information than please find the details in below mentioned link.

Details of all active users in SP Online

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.