Coder Social home page Coder Social logo

mscbeheerscripts / office365-users-lastactivitydetails Goto Github PK

View Code? Open in Web Editor NEW

This project forked from noblevarghese/office365-users-lastactivitydetails

0.0 0.0 0.0 170 KB

Microsoft Graph API reports on lastactivitydetails or lastlogonstatistics of users for Office 365 services like ExchangeOnline, SharePointOnline, OneDrive for Business

PowerShell 100.00%

office365-users-lastactivitydetails's Introduction

Office365 Users LastActivityDetails

This script returns the Microsoft Graph API reports on lastactivitydetails of users for Office 365 services like ExchangeOnline, SharePointOnline, OneDrive for Business etc. The reporting is made based on a Native Application registered in Azure AD. Please follow the article https://blogs.technet.microsoft.com/dawiese/2017/04/15/get-office365-usage-reports-from-the-microsoft-graph-using-windows-powershell/ to dig deeper.

Using an native App registered in Azure AD along with a valid O365 Administrator Account, Invoke a Graph API Reporting Endpoint and returns the report in a .CSV file extension. For more details refer:

* https://developer.microsoft.com/en-us/graph/docs/api-reference/beta/resources/report
* https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/reportroot_getoffice365activeuserdetail

EXAMPLE

.\lastActivityStats.ps1

NOTES

    Author:         Noble K Varghese
    Version:        3.0.1
        Creation Date:  15-May-2018
        Purpose/Change: Reference to the article https://www.petri.com/get-mailboxstatistics-cmdlet-wrong, Last Login Date Reported by the Get-MailboxStatistics Cmdlet was not accurate.
                        Re-designed the script to use Microsoft GRAPH API to return lastActivityDate of Users.
    
    Version:        3.2
        Creation Date:  12-April-2019
        Purpose/Change: Reference to the issue reported https://github.com/noblevarghese/Office365-Users-LastActivityDetails/issues/1, redesigned the script to use OAuth & ADAL based Modern Authentication.
                        Earlier the script was using Basic Authentication using Get-Credential

Read More: https://blogs.technet.microsoft.com/dawiese/2017/04/15/get-office365-usage-reports-from-the-microsoft-graph-using-windows-powershell/

office365-users-lastactivitydetails's People

Contributors

noblevarghese avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.