IT Admin Knowledge Base
Dex Cookbook
Professional recipes for IT admins — step-by-step instructions for Admin Center, Graph API, and PowerShell. Every recipe is generated from real tasks completed by Dex, the autonomous IT engineer.
Browse by Category
Categories
Microsoft 365 Governance
Tenant-wide health checks, policy reviews, and governance workflows
4 recipes
Licensing & Cost Optimization
License audits, SKU management, cost reduction, and usage analysis
15 recipes
SharePoint & OneDrive
Site management, storage cleanup, permissions, and migration tasks
16 recipes
Exchange & Email
Mailbox management, email flow, transport rules, and hygiene
9 recipes
Microsoft Teams
Teams governance, guest access, channel management, and policies
4 recipes
Intune & Device Management
Device compliance, enrollment, app deployment, and policies
28 recipes
Entra ID & Identity
User provisioning, role assignments, conditional access, and SSO
17 recipes
Security & Compliance
Threat protection, data loss prevention, audit logs, and alerts
15 recipes
User & Group Management
Bulk user operations, group lifecycle, and directory maintenance
22 recipes
Troubleshooting & Diagnostics
Error investigation, log analysis, and system diagnostics
8 recipes
Coming Soon
Windows & Active Directory
AD management, GPO, DNS, DHCP, and Windows Server tasks
No recipes yet
Networking & Infrastructure
Network diagnostics, firewall rules, VPN, and connectivity
No recipes yet
Latest
Recent Recipes
Create a New Entra ID User and Email Temporary Credentials
Provision an unlicensed Entra ID account with a secure temporary password and deliver the credentials to a designated recipient
Deploy a One-Time PowerShell Script via Intune to Run Disk Cleanup and Clear Windows Update Cache
Remotely reclaim disk space on a managed Windows device by pushing a targeted PowerShell script through Intune
Bulk Update User Profile Attributes (e.g., City) via Microsoft Graph
Standardize directory profile fields across all employees using Microsoft Graph PATCH operations
Inventory Installed Software (Detected Apps) on a User's Intune-Managed Devices
Enumerate a user's Intune-managed devices and retrieve the detected applications inventory via the Microsoft Endpoint Manager admin center, Graph API, or PowerShell
Remove a License from a Microsoft 365 User via Microsoft Graph
Safely unassign a specific SKU from a user account to reclaim licenses and reduce costs
List All SharePoint Sites and Their Document Libraries via Microsoft Graph
Enumerate every SharePoint site in your M365 tenant and the document libraries (drives) attached to each, then export the inventory for governance review.
Retrieve BitLocker Recovery Keys for a User's Device via Microsoft Graph
Locate a user's Entra-joined or Intune-managed device and retrieve its BitLocker recovery key for drive unlock or recovery scenarios
List Members of a Mail-Enabled Group Including Organizational Contacts
Resolve every recipient — users, guests, and org contacts — that receives mail sent to a distribution or mail-enabled group
List Available Microsoft 365 License SKUs and Usage in a Tenant
Enumerate subscribed SKUs, consumed units, and available seats across your tenant
Identify Administrators with Group Management Permissions in Entra ID
Audit directory role assignments to discover who can create, modify, or manage group memberships in your tenant
List a User's Group Memberships in Entra ID via Microsoft Graph
Audit which security groups, Microsoft 365 groups, and directory roles a user belongs to
Scan Synology NAS for File Paths Exceeding SharePoint Migration Limits
Identify files with paths longer than 400 characters on a Synology NAS before migrating to SharePoint Online or OneDrive