Skip to content

v1.9.0

Choose a tag to compare

@Hawkode Hawkode released this 28 Nov 21:09
· 26 commits to main since this release
e02f22e

Added

  • Reports/Get-AdHygiene.ps1 (hybrid): AD accounts with password never expires, oldest password first, and computers with no logon for -StaleDays (default StaleDays) or never. Service accounts with an SPN are marked as Kerberoastable. The built-in Administrator, Entra Connect's MSOL_ account, domain controllers and the Seamless SSO account (AZUREADSSOACC) get their own finding instead of a generic action. Managed service accounts are left out of the computer list. -SearchBase limits it to an OU, -IncludeDisabled adds disabled objects. Read-only, no Graph sign-in.
  • Reports/Get-GroupOwnerCoverage.ps1: cloud groups with no owner (apps do not count), only disabled owners, or fewer than -MinOwners (default 2). Role-assignable groups first, member counts for flagged groups so empty ones stand out. Groups synced from AD and distribution lists are labelled, not flagged. Read-only, Entra ID Free. A group created a few minutes earlier can show a blank member count with a warning: Graph's count index lags new groups. Run it again later.
  • Reports/Get-AppCredentialExpiry.ps1: secrets and certificates on app registrations and enterprise apps that expired or expire within -Days (default 60). A SAML signing certificate counts once, not as its Sign, Verify and password parts. Old credentials already replaced by a newer valid one are marked so you delete instead of renew. Flagged rows list the app's owners. Read-only, Entra ID Free.
  • Reports/Get-UnusedLicences.ps1: licences on disabled accounts and on enabled accounts with no sign-in for -InactiveDays (default StaleDays) or never, with how each is assigned (direct or group), what to do, and a summary per licence of unused and free seats. Without Entra ID P1, or run by a role that cannot read sign-in data (User Administrator), it flags disabled accounts only and says why. Read-only.
  • Both leavers list the user's Entra devices under the manual follow-up items: retire or wipe a joined device (Entra or hybrid joined), remove company data from a registered one (usually personal; retire it if company-owned), with OS and last sign-in. With a OneDrive (SharePoint plan), an item to hand it over to the manager. Read-only: nothing on the device or in OneDrive changes. A failed device lookup becomes an item to check by hand, with the reason in the log.
  • docs/ADMIN-RUNBOOK.md: install order, adding and removing operators, upgrade with rollback, routine checks, recovering from a wrong run, troubleshooting from the lab, decommission.

Changed

  • Both leavers also request Directory.Read.All (read-only), so Graph returns the device names. Through Microsoft Graph Command Line Tools this asks for consent once more. Your own app registration already has it.

Fixed

  • Get-StaleAccounts: an account whose role cannot read sign-in data (User Administrator, for example) got an error and then an empty report. It now stops with the roles that can read it. Get-MgUser -All reports a refused page as a non-terminating error, so the call now uses -ErrorAction Stop.