PowerShell

Discover Who Creates Guest Accounts in Office 365 Applications

by Tony Redmond

Office 365 applications now create many guest accounts in Azure Active Directory. You can see what accounts exist, but it's more difficult to discover who created the accounts - or why they were created. Fortunately, the Office 365 audit log holds a lot of useful data that can be interrogated to find some answers and PowerShell is a great tool for slicing and dicing audit data. See what you think of the answers I've come up with.

Petri Newsletter Sign-up
Tech Tuesday

Subscribe to Tech Tuesday, the latest insights from Petri.com for IT Pros.

    See All Petri Newsletters

    Emailing Owners About Obsolete Office 365 Groups and Teams

    by Tony Redmond

    In February, I published a script to report the activity in Office 365 Groups and Teams. It is natural that some of those groups will be obsolete, so here's another script to email the owners of those groups. I know the script works because I tested it against 200 groups, but it's rough and ready and deserves some TLC from people who really know PowerShell.

    The PowerShell Mess in the Microsoft Cloud

    with 1 Comment by Tony Redmond

    PowerShell is a great way of automating common administrative Office 365 operations. That is, if you know what module to use and how to use the cmdlets in that module. Unfortunately things are a bit of a mess with too many modules and inconsistent behavior in areas like error handling. With so many development groups working on Office 365, the PowerShell situation might be inevitable, but it needs cleaning up.