last login

Iron Contributor

Hi Experts

I want to pull all my users who have powerbi license assigned and visio license assigned with last time used or logged in, is it possible to export this information. using the below syntax i can export the license but how can i get the last time used or logged in information.

Get-MsolUser -All | Where-Object {($_.licenses).AccountSkuId -match "VISIOCLIENT"} | Export-Csv c:\output.csv

1 Reply
Hi Roger,
You can get and export the users logins, ( only for PowerBi or another apps ), thorugh the Azure Admin Center: https://docs.microsoft.com/en-us/power-bi/service-admin-access-usage
I guess this is what you're looking for...
Best Regards.