Skip to content

Releases

v0.3.0: Vendor and third-party app access

Choose a tag to compare

@MikeRiveira MikeRiveira released this 28 Nov 22:38
78c3d5c

Two new read-only checks for the quarterly vendor access review.

New

  • Get-VendorAccount: finds vendor, contractor and remote-support accounts that still have access (by vendor group, a company name that isn't yours, or names like ext-*) and flags ones idle for 90+ days, holding an admin role, or with a password that never expires. Background sign-ins count, so quiet service accounts aren't mistaken for unused ones.
  • Get-ThirdPartyApp: lists outside apps with standing permissions to the tenant, shows who consented, and flags high-risk permissions (mail, files, sites, directory) and unverified publishers with tenant-wide access.

Also

  • README section on vendor access reviews, plus permissions for both commands
  • Monthly review example now saves both reports
  • 26 Pester tests, green on Windows and Linux

Install: clone the repo and Import-Module ./ITAdminTools/ITAdminTools.psd1.

v0.2.0: IT Admin Tools for Microsoft 365

Choose a tag to compare

@MikeRiveira MikeRiveira released this 28 Nov 17:51
e800fcb

First release of IT Admin Tools for Microsoft 365, a PowerShell module for the jobs a multi-site IT team repeats every month.

Commands

Command What it answers
Get-LicenseReport Unassigned seats, and licensed users who are disabled or inactive
Get-StaleDevice Entra ID devices with no check-in for 90+ days
Get-MfaGap Members with no MFA, or (with -IncludeWeak) SMS/voice only
Get-ExternalForwarding New: mailboxes forwarding mail outside the company, by forwarding or inbox rules
Get-GuestUserReport New: guests with a pending invitation or no recent sign-in
Get-SharedMailboxLicense New: licensed shared mailboxes that probably don't need the license
Invoke-UserOffboarding Blocks sign-in, revokes sessions, converts the mailbox, removes groups and then licenses, with -WhatIf and a step log

Every command except Invoke-UserOffboarding is read-only.

Install

git clone https://github.com/MikeRiveira/it-admin-scripts
Import-Module ./it-admin-scripts/ITAdminTools/ITAdminTools.psd1

Requires PowerShell 7.2+ and the Microsoft Graph SDK (plus ExchangeOnlineManagement for the Exchange commands).

Quality

18 Pester tests and PSScriptAnalyzer run on Windows and Linux for every change. All test data uses a fictional company, Demo Auto Group.