Microsoft Defender Integration Setup
This guide walks you through integrating Microsoft Defender for Endpoint with RAD Security for unified endpoint detection and response, enabling you to correlate endpoint security events with runtime container and cloud activity. Microsoft Defender for Endpoint provides advanced threat protection, detection, investigation, and response capabilities across your endpoints.Prerequisites
Before you begin, ensure you have:- Admin access to Azure Portal
- An Azure Active Directory (Entra ID) application created
- Microsoft Defender for Endpoint subscription
- Access to RAD Security workspace with integration permissions
Step 1: Access App Registration
Log in to Azure Portal
Navigate to App Registrations
- Go to Azure Active Directory
- Select App registrations
- Find and select the application you created for Microsoft Defender API access
Note Application Details
- Application (client) ID
- Directory (tenant) ID
Step 2: Create Client Secret
Navigate to Certificates & Secrets
Create New Secret
- Click New client secret
- Add a description (e.g., “RAD Security Integration”)
- Select an expiration period
- Click Add
Save Secret Value
Step 3: Configure API Permissions
Microsoft Defender for Endpoint requires specific API permissions to access security data.Navigate to API Permissions
Add Required Permissions
Required Permissions
Microsoft Threat Protection
Microsoft Threat Protection
Incident.Read- Read incident dataIncident.Read.All- Read all incident data
WindowsDefenderATP
WindowsDefenderATP
AdvancedQuery.Read.All- Run advanced queriesAlert.Read.All- Read all alertsMachine.Read.All- Read all machine informationScore.Read.All- Read threat and vulnerability scoresSoftware.Read.All- Read software inventory
Application Insights API
Application Insights API
Data.Read- Read Application Insights data
Microsoft Graph
Microsoft Graph
Application.Read.All- Read all applicationsDevice.Read.All- Read all devices
Grant Admin Consent
Review Permissions
Grant Consent
Verify Status
Step 4: Determine API Endpoint URL
Microsoft Defender for Endpoint uses different API endpoints based on your data center location.Finding Your API Endpoint
Finding Your API Endpoint
/api/ path. For example: https://api-us3.securitycenter.microsoft.comStep 5: Configure in RAD Security
Navigate to your RAD Security workspace and configure the Microsoft Defender integration with the following parameters:Required Parameters
Verify Integration
After completing the setup, verify your integration is working:- Navigate to Data Sources > Integrations > EDR in RAD Security
- Locate your Microsoft Defender integration
- Check the connection status shows as Connected
- Verify security events are being synced
What Data is Synced
Once configured, RAD Security will sync the following data from Microsoft Defender:Alerts & Incidents
Alerts & Incidents
- Security alerts and detections
- Incident data and timeline
- Alert severity and status
- Investigation states
- Automated investigation results
Endpoint Information
Endpoint Information
- Machine inventory
- Device health status
- Operating system details
- Network information
- Onboarding status
- Risk scores
Threat Intelligence
Threat Intelligence
- Threat and vulnerability scores
- Exposure scores
- Software vulnerabilities
- Security recommendations
- Attack surface reduction data
Software Inventory
Software Inventory
- Installed software
- Software versions
- Vulnerability associations
- End-of-life software detection
Advanced Hunting
Advanced Hunting
- Custom query results
- Historical security data
- Behavioral analytics
- Threat hunting insights
Use Cases
Unified Threat Detection
Cross-Platform Response
Container Escape Detection
Lateral Movement Tracking
Troubleshooting
Authentication Failed
Authentication Failed
- Client ID, Tenant ID, or Client Secret is incorrect
- Client secret has expired
- Application registration was deleted
- Verify all credentials are copied correctly
- Check client secret expiration date
- Ensure the Azure AD application still exists
- Verify Tenant ID matches your Azure directory
Insufficient Permissions
Insufficient Permissions
- Required API permissions not granted
- Admin consent not provided
- Missing permissions from one or more APIs
- Review all 4 API sections and verify all permissions are present
- Ensure permissions are Application type, not Delegated
- Click “Grant admin consent” if any permissions show “Not granted”
- Wait a few minutes for permissions to propagate after granting consent
Wrong API Endpoint
Wrong API Endpoint
- Using incorrect regional endpoint
- Including
/api/in the URL - Typo in the endpoint URL
- Verify your Defender data center location
- Check Microsoft’s endpoint documentation
- Ensure URL does NOT end with
/api/ - Common mistake:
https://api.securitycenter.microsoft.com/api/(wrong) vshttps://api.securitycenter.microsoft.com(correct)
No Data Syncing
No Data Syncing
- No devices onboarded to Defender
- Defender subscription not active
- Initial sync still in progress
- Regional endpoint mismatch
- Verify devices are onboarded to Microsoft Defender for Endpoint
- Check Defender subscription status
- Allow up to 15 minutes for initial data sync
- Confirm you’re using the correct regional API endpoint
- Review integration logs in RAD Security for specific errors
Permission Scope Issues
Permission Scope Issues
- Application permissions instead of delegated (or vice versa)
- Permissions granted but consent not admin-approved
- Cached permission state
- Verify permissions are Application type for service-to-service
- Ensure admin consent is granted (not just added)
- Try revoking and re-granting admin consent
- Clear browser cache or try in incognito mode