🚫 Deprecated: This connector has been deprecated and may be removed in future versions.
Browse: 🏠 · Solutions · Connectors · Methods · Tables · Content · Parsers · ASIM Parsers · ASIM Products · Logic Apps · 📊
| Attribute | Value |
|---|---|
| Connector ID | ESI-ExchangeAdminAuditLogEvents |
| Publisher | Microsoft |
| Used in Solutions | Microsoft Exchange Security - Exchange On-Premises |
| Collection Method | AMA |
| Connector Definition Files | ESI-ExchangeAdminAuditLogEvents.json |
| Custom Log V1 Tables | Yes 🔶 — ingests into tables with type-suffixed columns |
| Microsoft Learn | View on Learn |
Deprecated, use the 'ESI-Opt' dataconnectors. You can stream all Exchange Audit events, IIS Logs, HTTP Proxy logs and Security Event logs from the Windows machines connected to your Microsoft Sentinel workspace using the Windows agent. This connection enables you to view dashboards, create custom alerts, and improve investigation. This is used by Microsoft Exchange Security Workbooks to provide security insights of your On-Premises Exchange environment
This connector ingests data into the following tables:
| Table | Selection Criteria | Transformations | Ingestion API | Lake-Only |
|---|---|---|---|---|
Event |
EventLog in "Application,MSExchange Management,System" |
✓ | ✓ | ✗ |
ExchangeHttpProxy_CL 🔶 |
✓ | ✓ | ✓ | |
MessageTrackingLog_CL 🔶 |
✓ | ✓ | ✓ | |
SecurityEvent |
✓ | ✓ | ✓ | |
W3CIISLog |
✓ | ✗ | ✗ |
💡 Tip: Tables with Ingestion API support allow data ingestion via the Azure Monitor Data Collector API, which also enables custom transformations during ingestion.
Resource Provider Permissions:
Custom Permissions:
⚠️ Note: These instructions were automatically generated from the connector's user interface definition file using AI and may not be fully accurate. Please verify all configuration steps in the Microsoft Sentinel portal.
NOTE: This solution is based on options. This allows you to choose which data will be ingest as some options can generate a very high volume of data. Depending on what you want to collect, track in your Workbooks, Analytics Rules, Hunting capabilities you will choose the option(s) you will deploy. Each options are independant for one from the other. To learn more about each option: 'Microsoft Exchange Security' wiki
1. Download and install the agents needed to collect logs for Microsoft Sentinel
Type of servers (Exchange Servers, Domain Controllers linked to Exchange Servers or all Domain Controllers) depends on the option you want to deploy. Deploy Monitor Agents
This step is required only if it's the first time you onboard your Exchange Servers/Domain Controllers Select which agent you want to install in your servers to collect logs:
[Prefered] Azure Monitor Agent via Azure Arc
**Deploy the Azure Arc Agent**
**Install Azure Log Analytics Agent (Deprecated on 31/08/2024)**
1. Download the Azure Log Analytics Agent and choose the deployment method in the below link.
- **Install/configure: InstallAgentOnNonAzure**
2. Deploy log injestion following choosed options [Option 1] MS Exchange Management Log collection
Select how to stream MS Exchange Admin Audit event logs MS Exchange Admin Audit event logs
Data Collection Rules - When Azure Monitor Agent is used
**Enable data collection rule**
Microsoft Exchange Admin Audit Events logs are collected only from Windows agents. Option 1 - Azure Resource Manager (ARM) Template
Use this method for automated deployment of the DCR.
Click the Deploy to Azure button below.
Select the preferred Subscription, Resource Group and Location.
Enter the Workspace Name 'and/or Other required fields'.
- Mark the checkbox labeled I agree to the terms and conditions stated above.
Click Purchase to deploy.
Option 2 - Manual Deployment of Azure Automation
Use the following step-by-step instructions to deploy manually a Data Collection Rule. A. Create DCR, Type Event log
1. From the Azure Portal, navigate to [Azure Data collection rules](https://portal.azure.com/#view/Microsoft_Azure_Monitoring/AzureMonitoringBrowseBlade/~/dataCollectionRules).
Click + Create at the top.
In the Basics tab, fill the required fields, Select Windows as platform type and give a name to the DCR.
In the Resources tab, enter you Exchange Servers.
In 'Collect and deliver', add a Data Source type 'Windows Event logs' and select 'Custom' option, enter 'MSExchange Management' as expression and Add it.
'Make other preferable configuration changes', if needed, then click Create.
Assign the DCR to all Exchange Servers
Add all your Exchange Servers to the DCR
Data Collection Rules - When the legacy Azure Log Analytics Agent is used
Configure the logs to be collected
Configure the Events you want to collect and their severities.
Select how to stream Security/Application/System logs of Exchange Servers Security Event log collection
Data Collection Rules - Security Event logs
**Enable data collection rule for Security Logs**
Security Events logs are collected only from Windows agents.
Common level is the minimum required. Please select 'Common' or 'All Security Events' on DCR definition. - Create data collection rule Application and System Event log collection
Data Collection Rules - When Azure Monitor Agent is used
**Enable data collection rule**
Application and System Events logs are collected only from Windows agents. Option 1 - Azure Resource Manager (ARM) Template
Use this method for automated deployment of the DCR.
Click the Deploy to Azure button below.
Select the preferred Subscription, Resource Group and Location.
Enter the Workspace Name 'and/or Other required fields'.
- Mark the checkbox labeled I agree to the terms and conditions stated above.
Click Purchase to deploy.
Option 2 - Manual Deployment of Azure Automation
Use the following step-by-step instructions to deploy manually a Data Collection Rule. A. Create DCR, Type Event log
1. From the Azure Portal, navigate to [Azure Data collection rules](https://portal.azure.com/#view/Microsoft_Azure_Monitoring/AzureMonitoringBrowseBlade/~/dataCollectionRules).
Click + Create at the top.
In the Basics tab, fill the required fields, Select Windows as platform type and give a name to the DCR.
In the Resources tab, enter you Exchange Servers.
In 'Collect and deliver', add a Data Source type 'Windows Event logs' and select 'Basic' option.
For Application, select 'Critical', 'Error' and 'Warning'. For System, select Critical/Error/Warning/Information.
'Make other preferable configuration changes', if needed, then click Create.
Assign the DCR to all Exchange Servers
Add all your Exchange Servers to the DCR
Data Collection Rules - When the legacy Azure Log Analytics Agent is used
Configure the logs to be collected
Configure the Events you want to collect and their severities.
Select how to stream Security logs of Domain Controllers. If you want to implement Option 3, you just need to select DC on same site as Exchange Servers. If you want to implement Option 4, you can select all DCs of your forest. [Option 3] List only Domain Controllers on the same site as Exchange Servers for next step
**This limits the quantity of data injested but some incident can't be detected.**
**[Option 4] List all Domain Controllers of your Active-Directory Forest for next step**
**This allows collecting all security events**
Security Event log collection
Data Collection Rules - Security Event logs
**Enable data collection rule for Security Logs**
Security Events logs are collected only from Windows agents.
Common level is the minimum required. Please select 'Common' or 'All Security Events' on DCR definition. - Create data collection rule [Option 5] IIS logs of Exchange Servers
Select how to stream IIS logs of Exchange Servers Data Collection Rules - When Azure Monitor Agent is used
**Enable data collection rule**
IIS logs are collected only from Windows agents. > 📋 Additional Configuration Step: This connector includes a configuration step of type
AdminAuditEvents. Please refer to the Microsoft Sentinel portal for detailed configuration options for this step. Option 1 - Azure Resource Manager (ARM) Template
Use this method for automated deployment of the DCE and DCR.
A. Create DCE (If not already created for Exchange Servers)
1. Click the **Deploy to Azure** button below.
[](https://aka.ms/sentinel-ESI-DCEExchangeServers)
Select the preferred Subscription, Resource Group and Location.
You can change the proposed name of the DCE.
Click Create to deploy.
**B. Deploy Data Connection Rule**
1. Click the **Deploy to Azure** button below.
Select the preferred Subscription, Resource Group and Location.
Enter the Workspace ID 'and/or Other required fields'.
- Mark the checkbox labeled I agree to the terms and conditions stated above.
Click Purchase to deploy.
Option 2 - Manual Deployment of Azure Automation
Use the following step-by-step instructions to deploy manually a Data Collection Rule. A. Create DCE (If not already created for Exchange Servers)
1. From the Azure Portal, navigate to [Azure Data collection Endpoint](https://portal.azure.com/#view/Microsoft_Azure_Monitoring/AzureMonitoringBrowseBlade/~/dataCollectionEndpoints).
Click + Create at the top.
In the Basics tab, fill the required fields and give a name to the DCE.
'Make other preferable configuration changes', if needed, then click Create.
**B. Create DCR, Type IIS log**
1. From the Azure Portal, navigate to [Azure Data collection rules](https://portal.azure.com/#view/Microsoft_Azure_Monitoring/AzureMonitoringBrowseBlade/~/dataCollectionRules).
Click + Create at the top.
In the Basics tab, fill the required fields, Select Windows as platform type and give a name to the DCR. Select the created DCE.
In the Resources tab, enter you Exchange Servers.
In 'Collect and deliver', add a Data Source type 'IIS logs' (Do not enter a path if IIS Logs path is configured by default). Click on 'Add data source'
'Make other preferable configuration changes', if needed, then click Create.
Assign the DCR to all Exchange Servers
Add all your Exchange Servers to the DCR
Data Collection Rules - When the legacy Azure Log Analytics Agent is used
Configure the logs to be collected
Configure the Events you want to collect and their severities.
Select how to stream Message Tracking of Exchange Servers Data Collection Rules - When Azure Monitor Agent is used
**Enable data collection rule**
Message Tracking are collected only from Windows agents.
ℹ️ **Attention**, Custom logs in Monitor Agent is in Preview. The deployment doesn't work as expected for the moment (March 2023).
Option 1 - Azure Resource Manager (ARM) Template
Use this method for automated deployment of the DCE and DCR.
A. Create DCE (If not already created for Exchange Servers)
1. Click the **Deploy to Azure** button below.
[](https://aka.ms/sentinel-ESI-DCEExchangeServers)
Select the preferred Subscription, Resource Group and Location.
You can change the proposed name of the DCE.
Click Create to deploy.
**B. Deploy Data Connection Rule and Custom Table**
1. Click the **Deploy to Azure** button below.
Select the preferred Subscription, Resource Group and Location.
Enter the Workspace ID 'and/or Other required fields'.
- Mark the checkbox labeled I agree to the terms and conditions stated above.
Click Purchase to deploy.
Option 2 - Manual Deployment of Azure Automation
Use the following step-by-step instructions to deploy manually a Data Collection Rule. A. Create DCE (If not already created for Exchange Servers)
1. From the Azure Portal, navigate to [Azure Data collection Endpoint](https://portal.azure.com/#view/Microsoft_Azure_Monitoring/AzureMonitoringBrowseBlade/~/dataCollectionEndpoints).
Click + Create at the top.
In the Basics tab, fill the required fields and give a name to the DCE, like ESI-ExchangeServers.
'Make other preferable configuration changes', if needed, then click Create.
**B. Create Custom DCR Table**
1. Download the Example file from [Microsoft Sentinel GitHub](https://aka.ms/Sentinel-Sample-ESI-MessageTrackingExampleFile).
From the Azure Portal, navigate to Workspace Analytics and select your target Workspace.
Click in 'Tables', click + Create at the top and select New Custom log (DCR-Based).
In the Basics tab, enter MessageTrackingLog on the Table name, create a Data Collection rule with the name DCR-Option6-MessageTrackingLogs (for example) and select the previously created Data collection Endpoint.
In the Schema and Transformation tab, choose the downloaded sample file and click on Transformation Editor.
In the transformation field, enter the following KQL request : source | extend TimeGenerated = todatetime(['date-time']) | extend clientHostname = ['client-hostname'], clientIP = ['client-ip'], connectorId = ['connector-id'], customData = ['custom-data'], eventId = ['event-id'], internalMessageId = ['internal-message-id'], logId = ['log-id'], messageId = ['message-id'], messageInfo = ['message-info'], messageSubject = ['message-subject'], networkMessageId = ['network-message-id'], originalClientIp = ['original-client-ip'], originalServerIp = ['original-server-ip'], recipientAddress= ['recipient-address'], recipientCount= ['recipient-count'], recipientStatus= ['recipient-status'], relatedRecipientAddress= ['related-recipient-address'], returnPath= ['return-path'], senderAddress= ['sender-address'], senderHostname= ['server-hostname'], serverIp= ['server-ip'], sourceContext= ['source-context'], schemaVersion=['schema-version'], messageTrackingTenantId = ['tenant-id'], totalBytes = ['total-bytes'], transportTrafficType = ['transport-traffic-type'] | project-away ['client-ip'], ['client-hostname'], ['connector-id'], ['custom-data'], ['date-time'], ['event-id'], ['internal-message-id'], ['log-id'], ['message-id'], ['message-info'], ['message-subject'], ['network-message-id'], ['original-client-ip'], ['original-server-ip'], ['recipient-address'], ['recipient-count'], ['recipient-status'], ['related-recipient-address'], ['return-path'], ['sender-address'], ['server-hostname'], ['server-ip'], ['source-context'], ['schema-version'], ['tenant-id'], ['total-bytes'], ['transport-traffic-type']
Click 'Run' and after 'Apply'.
Click Next, then click Create.
**C. Modify the created DCR, Type Custom log**
1. From the Azure Portal, navigate to [Azure Data collection rules](https://portal.azure.com/#view/Microsoft_Azure_Monitoring/AzureMonitoringBrowseBlade/~/dataCollectionRules).
Select the previously created DCR, like DCR-Option6-MessageTrackingLogs.
In the Resources tab, enter you Exchange Servers.
In Data Sources, add a Data Source type 'Custom Text logs' and enter 'C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\Logs\MessageTracking*.log' in file pattern, 'MessageTrackingLog_CL' in Table Name. 6.in Transform field, enter the following KQL request : source | extend TimeGenerated = todatetime(['date-time']) | extend clientHostname = ['client-hostname'], clientIP = ['client-ip'], connectorId = ['connector-id'], customData = ['custom-data'], eventId = ['event-id'], internalMessageId = ['internal-message-id'], logId = ['log-id'], messageId = ['message-id'], messageInfo = ['message-info'], messageSubject = ['message-subject'], networkMessageId = ['network-message-id'], originalClientIp = ['original-client-ip'], originalServerIp = ['original-server-ip'], recipientAddress= ['recipient-address'], recipientCount= ['recipient-count'], recipientStatus= ['recipient-status'], relatedRecipientAddress= ['related-recipient-address'], returnPath= ['return-path'], senderAddress= ['sender-address'], senderHostname= ['server-hostname'], serverIp= ['server-ip'], sourceContext= ['source-context'], schemaVersion=['schema-version'], messageTrackingTenantId = ['tenant-id'], totalBytes = ['total-bytes'], transportTrafficType = ['transport-traffic-type'] | project-away ['client-ip'], ['client-hostname'], ['connector-id'], ['custom-data'], ['date-time'], ['event-id'], ['internal-message-id'], ['log-id'], ['message-id'], ['message-info'], ['message-subject'], ['network-message-id'], ['original-client-ip'], ['original-server-ip'], ['recipient-address'], ['recipient-count'], ['recipient-status'], ['related-recipient-address'], ['return-path'], ['sender-address'], ['server-hostname'], ['server-ip'], ['source-context'], ['schema-version'], ['tenant-id'], ['total-bytes'], ['transport-traffic-type']
Click on 'Add data source'.
Assign the DCR to all Exchange Servers
Add all your Exchange Servers to the DCR
Data Collection Rules - When the legacy Azure Log Analytics Agent is used
Configure the logs to be collected
Under workspace Settings part, select Tables, click + Create and click on New custom log (MMA-Based).
Select Sample file MessageTracking Sample and click Next
Select type Windows and enter the path C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\Logs\MessageTracking*.log. Click Next.
Enter MessageTrackingLog as Table name and click Next.
Click Save.
Select how to stream HTTP Proxy of Exchange Servers Data Collection Rules - When Azure Monitor Agent is used
**Enable data collection rule**
Message Tracking are collected only from Windows agents.
ℹ️ **Attention**, Custom logs in Monitor Agent is in Preview. The deployment doesn't work as expected for the moment (March 2023).
Option 1 - Azure Resource Manager (ARM) Template
Use this method for automated deployment of the DCE and DCR.
A. Create DCE (If not already created for Exchange Servers)
1. Click the **Deploy to Azure** button below.
[](https://aka.ms/sentinel-ESI-DCEExchangeServers)
Select the preferred Subscription, Resource Group and Location.
You can change the proposed name of the DCE.
Click Create to deploy.
**B. Deploy Data Connection Rule**
1. Click the **Deploy to Azure** button below.
Select the preferred Subscription, Resource Group and Location.
Enter the Workspace ID 'and/or Other required fields'.
- Mark the checkbox labeled I agree to the terms and conditions stated above.
Click Purchase to deploy.
Option 2 - Manual Deployment of Azure Automation
Use the following step-by-step instructions to deploy manually a Data Collection Rule. A. Create DCE (If not already created for Exchange Servers)
1. From the Azure Portal, navigate to [Azure Data collection Endpoint](https://portal.azure.com/#view/Microsoft_Azure_Monitoring/AzureMonitoringBrowseBlade/~/dataCollectionEndpoints).
Click + Create at the top.
In the Basics tab, fill the required fields and give a name to the DCE.
'Make other preferable configuration changes', if needed, then click Create.
**B. Create Custom DCR Table**
1. Download the Example file from [Microsoft Sentinel GitHub](https://aka.ms/Sentinel-Sample-ESI-HTTPProxyExampleFile).
From the Azure Portal, navigate to Workspace Analytics and select your target Workspace.
Click in 'Tables', click + Create at the top and select New Custom log (DCR-Based).
In the Basics tab, enter ExchangeHttpProxy on the Table name, create a Data Collection rule with the name DCR-Option7-HTTPProxyLogs (for example) and select the previously created Data collection Endpoint.
In the Schema and Transformation tab, choose the downloaded sample file and click on Transformation Editor.
In the transformation field, enter the following KQL request : *source | extend TimeGenerated = todatetime(DateTime) | project-away DateTime
Click 'Run' and after 'Apply'.
Click Next, then click Create.
**C. Modify the created DCR, Type Custom log**
1. From the Azure Portal, navigate to [Azure Data collection rules](https://portal.azure.com/#view/Microsoft_Azure_Monitoring/AzureMonitoringBrowseBlade/~/dataCollectionRules).
Select the previously created DCR, like DCR-Option7-HTTPProxyLogs.
In the Resources tab, enter you Exchange Servers.
In Data Sources, add a Data Source type 'Custom Text logs' and enter 'C:\Program Files\Microsoft\Exchange Server\V15\Logging\HttpProxy\Autodiscover*.log' in file pattern, 'ExchangeHttpProxy_CL' in Table Name. 6.in Transform field, enter the following KQL request : source | extend TimeGenerated = todatetime(DateTime) | project-away DateTime
Click on 'Add data source'.
Assign the DCR to all Exchange Servers
Add all your Exchange Servers to the DCR
Data Collection Rules - When the legacy Azure Log Analytics Agent is used
Configure the logs to be collected
Under workspace Settings part, select Tables, click + Create and click on New custom log (MMA-Based).
Select Sample file MessageTracking Sample and click Next
Select type Windows and enter all the following paths C:\Program Files\Microsoft\Exchange Server\V15\Logging\HttpProxy\Autodiscover*.log, C:\Program Files\Microsoft\Exchange Server\V15\Logging\HttpProxy\Eas*.log, C:\Program Files\Microsoft\Exchange Server\V15\Logging\HttpProxy\Ecp*.log, C:\Program Files\Microsoft\Exchange Server\V15\Logging\HttpProxy\Ews*.log, C:\Program Files\Microsoft\Exchange Server\V15\Logging\HttpProxy\Mapi*.log, C:\Program Files\Microsoft\Exchange Server\V15\Logging\HttpProxy\Oab*.log, C:\Program Files\Microsoft\Exchange Server\V15\Logging\HttpProxy\Owa*.log, C:\Program Files\Microsoft\Exchange Server\V15\Logging\HttpProxy\OwaCalendar*.log, C:\Program Files\Microsoft\Exchange Server\V15\Logging\HttpProxy\PowerShell*.log and C:\Program Files\Microsoft\Exchange Server\V15\Logging\HttpProxy\RpcHttp*.log . Click Next.
Enter ExchangeHttpProxy as Table name and click Next.
Click Save.
NOTE: This data connector depends on a parser based on a Kusto Function to work as expected. Parsers are automatically deployed with the solution. Follow the steps to create the Kusto Functions alias : ExchangeAdminAuditLogs Parsers are automatically deployed during Solution deployment. If you want to deploy manually, follow the steps below
Manual Parser Deployment 1. Download the Parser file
The latest version of the file [**ExchangeAdminAuditLogs**](https://aka.ms/sentinel-ESI-ExchangeCollector-ExchangeAdminAuditLogs-parser)
**2. Create Parser **ExchangeAdminAuditLogs** function**
In 'Logs' explorer of your Microsoft Sentinel's log analytics, copy the content of the file to Log explorer
**3. Save Parser **ExchangeAdminAuditLogs** function**
Click on save button.
No parameter is needed for this parser. Click save again.
Browse: 🏠 · Solutions · Connectors · Methods · Tables · Content · Parsers · ASIM Parsers · ASIM Products · Logic Apps · 📊