Skip to content

Instantly share code, notes, and snippets.

View kris6673's full-sized avatar

Kristian Kjærgård kris6673

View GitHub Profile
@kris6673
kris6673 / Enable-DisabledUsers.ps1
Last active February 3, 2026 16:24
Script to reenable the disabled guest users that were disabled
# Enable-DisabledUsers.ps1
[CmdletBinding()]
param()
# Configuration
$CIPPClientID = '' # Your CIPP API Client ID
$CIPPClientSecret = '' # Your CIPP API Client Secret
$CIPPAPIUrl = '' # Your CIPP API URL
$TenantID = '' # Your Tenant ID