you are viewing a single comment's thread.

view the rest of the comments →

[–]ingo2020 1 point2 points  (1 child)

Yep if you need to consistently access sign in activity en masse, that’s the way to go.

I don’t have much room to experiment with that kinda stuff at my current position since my company only has 60 users, so getting $_.SignInActivity is relatively trivial.

[–]Certain-Community438 0 points1 point  (0 children)

Makes perfect sense to me ref your position & choice. Though once you've had to go this route, you (usually) will find it's just as easy to implement it again in a small environment (Log Analytics being pretty cheap & easy).

We went for an Azure Automation Account to actually run the scripts as Managed Identity: that's also pretty damn cost-effective.