ServiceDeskToolkit

1.0.0

Microsoft 365 service desk automation for Entra ID, Exchange Online and Intune. Invoke-SDOffboarding disables the account, revokes sessions, converts the mailbox to a shared mailbox (optional FullAccess, forwarding and auto reply) and removes group memberships and direct licenses, with a JSON backup first and a per-step result. Get-SDIntuneNoncompliantReport exports n
Microsoft 365 service desk automation for Entra ID, Exchange Online and Intune. Invoke-SDOffboarding disables the account, revokes sessions, converts the mailbox to a shared mailbox (optional FullAccess, forwarding and auto reply) and removes group memberships and direct licenses, with a JSON backup first and a per-step result. Get-SDIntuneNoncompliantReport exports non-compliant devices with days since last check-in and failing policies; Get-SDMailboxPermissionAudit exports FullAccess, SendAs and SendOnBehalf permissions and flags orphaned entries (CSV and HTML). Every change supports -WhatIf/-Confirm and is logged. Works with Windows PowerShell 5.1 and PowerShell 7. The Microsoft.Graph and ExchangeOnlineManagement modules are needed only by the functions that use them; they are checked at runtime and not installed automatically.
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 ServiceDeskToolkit

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

Install-PSResource -Name ServiceDeskToolkit

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) 2026 Artur Warkentin. Licensed under the MIT License.

Package Details

Author(s)

  • Artur Warkentin

Tags

M365 Microsoft365 EntraID AzureAD Intune ExchangeOnline Offboarding MicrosoftGraph ServiceDesk Helpdesk Report Audit Compliance MailboxPermissions Windows Linux

Functions

Invoke-SDOffboarding Get-SDIntuneNoncompliantReport Get-SDMailboxPermissionAudit Test-SDToolkit

PSEditions

Desktop Core

Dependencies

This module has no dependencies.

Release Notes

1.0.0 (2026-10-01) - First PowerShell Gallery release. No functional changes since 0.1.0.
- Invoke-SDOffboarding: disable account, revoke sessions, convert mailbox to shared, optional FullAccess/forwarding/auto reply, remove groups (Graph and Exchange Online) and direct licenses; JSON backup before changes, -WhatIf/-Confirm, per-step result.
- Get-SDIntuneNoncompliantReport: non-compliant Intune devices as CSV and HTML, stale check-in detection, optional policy details.
- Get-SDMailboxPermissionAudit: FullAccess, SendAs and SendOnBehalf permissions as CSV and HTML, orphaned SID detection.
- Test-SDToolkit: offline self-test of the core logic.
Full changelog: https://github.com/Ni0ri/ServiceDeskToolkit/blob/main/CHANGELOG.md

FileList

Version History

Version Downloads Last updated
1.0.0 (current version) 6 10/1/2026