M365DeprecationScanner
0.2.0
Finds deprecated and retired Microsoft 365, Entra ID and Azure PowerShell commands (MSOnline, AzureAD, Exchange RPS, AzureRM, Azure AD Graph, ...) in your scripts and tells you what to use instead. Works as a command, as a PSScriptAnalyzer rule in VS Code and as a GitHub Action.
Minimum PowerShell version
5.1
Installation Options
Owners
Copyright
(c) 2026 Matej. MIT License.
Package Details
Author(s)
- Matej
Tags
Microsoft365 M365 Entra EntraID AzureAD MSOnline MicrosoftGraph ExchangeOnline Azure Deprecation Migration Linter PSScriptAnalyzer Windows Linux MacOS
Functions
Invoke-M365DeprecationScan Get-M365DeprecationRule Export-M365DeprecationReport Get-M365DeprecationAnalyzerRulePath New-M365DeprecationAnalyzerSettings
PSEditions
Dependencies
This module has no dependencies.
Release Notes
https://github.com/matejpaunovski/M365DeprecationScanner/blob/main/CHANGELOG.md
FileList
- M365DeprecationScanner.nuspec
- Private\Get-DeprecationRuleSet.ps1
- Private\Find-DeprecationInAst.ps1
- Public\Get-M365DeprecationRule.ps1
- M365DeprecationScanner.psd1
- Private\Suppression.ps1
- Data\deprecations.schema.json
- Public\Export-M365DeprecationReport.ps1
- M365DeprecationScanner.Format.ps1xml
- Private\FileSystem.ps1
- Data\deprecations.json
- Public\New-M365DeprecationAnalyzerSettings.ps1
- M365DeprecationScanner.psm1
- Private\Reports.ps1
- Rules\M365DeprecationScanner.Rules.psm1
- Public\Invoke-M365DeprecationScan.ps1
- Private\New-DeprecationFinding.ps1
- Private\Select-MatchingRule.ps1
- Public\Get-M365DeprecationAnalyzerRulePath.ps1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 0.2.1 | 9 | 10/16/2026 |
| 0.2.0 (current version) | 7 | 10/16/2026 |
| 0.1.0 | 7 | 10/16/2026 |