ServerBridge.LicenseScan

1.2.2

Free, read-only Microsoft 365 admin scans. Invoke-LicenseScan cross-checks every assigned license against real sign-in or usage activity and shows the seats you pay for that nobody uses, in dollars. Invoke-OffboardingCheck finds accounts that look like leavers and shows what they still hold: licenses, group memberships, and mailboxes never converted to shared. Device-
Free, read-only Microsoft 365 admin scans. Invoke-LicenseScan cross-checks every assigned license against real sign-in or usage activity and shows the seats you pay for that nobody uses, in dollars. Invoke-OffboardingCheck finds accounts that look like leavers and shows what they still hold: licenses, group memberships, and mailboxes never converted to shared. Device-code sign-in, no app registration, nothing stored, never changes your tenant.
Show more

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name ServerBridge.LicenseScan -RequiredVersion 1.2.2

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name ServerBridge.LicenseScan -Version 1.2.2

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) Lee Crowe Software Solutions LLC. MIT License.

Package Details

Author(s)

  • Lee Crowe Software Solutions LLC

Tags

Microsoft365 M365 Office365 Licensing License Audit CostOptimization Offboarding StaleAccounts Mailbox MicrosoftGraph Entra ReadOnly Windows Linux MacOS

Functions

Invoke-LicenseScan Invoke-OffboardingCheck

PSEditions

Desktop Core

Dependencies

Release Notes

Important fix: sign-in was impossible on Microsoft Graph PowerShell SDK 2.38. Both commands printed "a device code will appear below", then no code, then timed out after two minutes. If you hit that, nothing was wrong on your side. Also fixes -OutputCsv, -IncludeGuests and -PassThru being ignored when Invoke-OffboardingCheck.ps1 was run as a script, and a summary line that said "0 mailboxes not converted to shared" when no mailbox type could be read at all - it now says unknown. New, experimental: Invoke-OffboardingCheck -UseExchangeOnline reads mailbox types from Exchange Online, which unlike Microsoft's usage report can see mailboxes that have never been used. Off by default; it needs a second sign-in. See CHANGELOG.md on GitHub for earlier changes.

FileList

Version History

Version Downloads Last updated
1.3.0 7 9/23/2026
1.2.2 (current version) 6 9/22/2026
1.2.1 9 9/17/2026
1.2.0 9 9/16/2026
1.1.1 5 9/15/2026
1.1.0 6 9/14/2026
Show more