Forum Discussion

Skipster311-1's avatar
Skipster311-1
Iron Contributor
Sep 02, 2021
Solved

MSgraph signinactivity

Hello all Im trying to get the "lastSignInDateTime" for a particular user using powershell. The below query works fine if i go to https://developer.microsoft.com/en-us/graph/graph-explorer  I have a...
  • pvanberlo's avatar
    Sep 03, 2021
    I suppose using the Microsoft.Graph module might be the easiest option, if it supports what you need. You can switch to the beta profile using the Select-MgProfile cmdlet and then you do not have to worry about trying to do it manually.

Resources