MDI-configurator v1.0 is out !
A user-friendly graphical interface for managing Microsoft Defender for Identity (MDI) configurations using PowerShell.
This PowerShell script provides a comprehensive WPF-based GUI wrapper around the Microsoft Defender for Identity PowerShell module. It simplifies the configuration, testing, and management of MDI deployments through an intuitive interface, eliminating the need to remember complex PowerShell commands.
Features
🔧 Configuration Management
- Set MDI configurations for Domain or LocalMachine mode
- All (all configurations)
- AdfsAuditing
- AdRecycleBin
- AdvancedAuditPolicyCAs
- AdvancedAuditPolicyDCs
- CAAuditing
- ConfigurationContainerAuditing
- EntraConnectAuditing
- RemoteSAM
- DomainObjectAuditing
- NTLMAuditing
- ProcessorPerformance
🧪 Testing & Validation
- Test MDI configurations
- Validate specific audit policies
- Support for both Domain and LocalMachine testing modes
📊 Reporting
- Generate comprehensive HTML configuration reports
- Customizable output path
- Automatic report opening option
- Domain and LocalMachine report modes
🌐 Proxy Configuration
- Configure MDI sensor proxy settings
- Support for authenticated proxies
- Get current proxy configuration
- Clear proxy settings
- Test sensor API connectivity
👤 Directory Service Account (DSA) Management
- Create DSA accounts
- Test DSA permissions and delegations
- View current MDI configuration
🚀 Prerequisites
- Operating System: Windows 10/11 or Windows Server 2016+
- PowerShell: Version 5.1 or later
- Module: DefenderForIdentity PowerShell module
- Permissions: Administrator rights required for most operations
📦 Installation
1. Install the DefenderForIdentity Module
Open PowerShell as Administrator and run:
Install-Module -Name DefenderForIdentity -Force2. Download the Script
Clone this repository or download the MDI-configurator.ps1
3. Execution Policy
Ensure your PowerShell execution policy allows script execution:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser🎯 Usage
Running the Script
Option 1: From PowerShell
.\MDI-configurator.ps1First-Time Setup
- The script will automatically check if the DefenderForIdentity module is installed
- If not found, it will prompt you with installation instructions
- After installing the module, restart the application