Available for ☑️
Plan: Enterprise
Role: Owner
Prerequisites
- An Azure subscription with sufficient quota to create Log Analytics resources.
- Permission to create an Entra ID app registration (typically the Application Developer role or higher).
- Owner or User Access Administrator role on the resource group where the Data Collection Rule (DCR) will be created. This is required to complete the role assignment.
- The Tresorit-provided DCR schema document or sample event JSON.
Additional information and limitations
- Tresorit events are provided in a custom format, not ASIM.
- Some actions may be performed by Tresorit Support at the customer's request. In these cases, the
ActorUserEmailfield is set to support@tresorit.com, while all other actor-related fields are left empty. - Tresorit does not store these logs long-term. We recommend storing them in Microsoft Sentinel or another dedicated log management solution.
1. Create a Log Analytics workspace
- Azure portal → search for Log Analytics workspaces → Create
- Fill in:
-
Subscription and Resource group: Any
ℹ️ Consider using a dedicated resource group (e.g.
rg-tresorit-siem) so your SIEM resources are easy to manage as a unit. -
Name: For example,
ws-tresorit-siem -
Region: Choose the region you'll use for all resources.
⚠️ Choose an Azure region up front and use it for every resource created below (workspace, DCE, DCR, and custom table). Cross-region setups either fail outright (DCE ↔ DCR) or add latency.
-
- Click Review + create → Create
- Wait for the deployment to complete.
2. Enable Microsoft Sentinel on the Log Analytics workspace
- Azure portal → search for Microsoft Sentinel → Create (or Add)
- Select the
ws-tresorit-siemworkspace you created. - Click Add.
- Queries against
TresoritEvents_CLare available in both the workspace's Logs view and Microsoft Sentinel's hunting and analytics tools.
3. Create a Data Collection Endpoint (DCE)
The DCE is the public ingestion endpoint that Tresorit sends events to.
- Azure portal → Monitor → Data Collection Endpoints → Create
- Fill in:
-
Subscription and Resource group: For example,
rg-tresorit-siem -
Endpoint name: For example,
dce-tresorit-siem - Region: Use the same region as in Step 1
-
Subscription and Resource group: For example,
- Click Review + create → Create
-
Open the DCE → Overview
- Capture #1: DCE URI, shown as Logs Ingestion under the Endpoints section.
ℹ️ Example:
https://dce-tresorit-siem-abc1.westeurope-1.ingest.monitor.azure.com
4. Create a custom table and a Data Collection Rule (DCR)
The portal creates the custom table and the Data Collection Rule (DCR) together.
- Open the Log Analytics workspace → Tables
- Click Create → New custom log (DCR-based)
-
Table name:
TresoritEvents(Azure auto-appends_CL, giving final nameTresoritEvents_CL) -
Data collection rule → select Create new data collection rule
-
Name: For example,
dcr-tresorit-siem - Subscription / Resource group / Region: Use the same values as in Step 1
-
Name: For example,
-
Data collection endpoint: Select the DCE created in Step 3 (
dce-tresorit-siem) -
Click Next, then upload a sample JSON payload that matches the Tresorit event schema. The portal uses the sample to infer the initial schema:
[ { "EventSubType": "SIEMEnable", "TimeGenerated": "1970-01-01T00:00:00.0000000+00:00", "SchemaVersion": "2.0.0", "ActorUserEmail": "email@example.com", "ActorUserIsExternal": false, "ActorDetails": {}, "EventType": "AdminActivity", "EventTimestamp": "1970-01-01T00:00:00.0000000+00:00", "EventResult": "Success", "EventData": {}, "Location": {} } ] - Adjust the inferred schema if needed:
- The table must include a
TimeGeneratedcolumn (datetime).
If the sample hasTimeCreatedIso8601, add a transformation:source | extend TimeGenerated = todatetime(TimeCreatedIso8601). - Verify all expected event fields are present (e.g.
EventType,EventSubType,ActorUserEmail, etc.).
- The table must include a
- Click Create.
-
Capture #2: Custom table name,
TresoritEvents_CL
-
Capture #2: Custom table name,
5. Capture the DCR stream name and immutable ID
Extract the following values from the DCR.
- Open the DCR → in the upper-right corner, click JSON View
-
Find the
properties.dataFlows[].streamsarray and theproperties.streamDeclarationskeys. Both reference the stream name.ℹ️ Example:
Custom-TresoritEvents(orCustom-TresoritEvents_CLdepending on how it was created) -
Find
properties.immutableId.ℹ️ Example:
dcr-1a2b3c4d5e6f7g8h9i0j...-
Capture #3: Stream Name, without the
Custom-prefix -
Capture #4: DCR Immutable ID, the
dcr-...string
-
Capture #3: Stream Name, without the
6. Register an Entra ID application
Tresorit uses this app to authenticate when sending events.
- Azure portal → Microsoft Entra ID → App registrations → New registration
- Fill in:
-
Name: For example,
Tresorit SIEM Integration - Supported account types: Accounts in this organizational directory only (single tenant)
- Redirect URI: Leave blank (not needed for the client-credentials flow used by Tresorit)
-
Name: For example,
- Click Register.
- On the Overview page of the new application:
- Capture #5: Tenant ID, labeled Directory (tenant) ID
- Capture #6: Client ID, labeled Application (client) ID
7. Generate a client secret
- Open the App registrations → Certificates & secrets → Client secrets → New client secret
-
Description: For example,
Tresorit SIEM <current_year> -
Expires: Select the longest available duration (24 months is the current portal maximum)
⚠️ Set a calendar reminder for 30 days before the secret expires. When it expires, log delivery stops until you replace it.
- Click Add.
- Copy the Value (not the Secret ID) immediately. It is shown only once, and if you don't copy it now, you'll need to create a new client secret.
-
Capture #7: Client Secret, the
Value
-
Capture #7: Client Secret, the
8. Assign the Monitoring Metrics Publisher role on the DCR
Assign the role on the DCR, not on the workspace, resource group, or subscription.
- Open the DCR → form the left menu, select Access control (IAM)
- Click Add → Add role assignment
- Role tab: select Monitoring Metrics Publisher
-
Members tab:
- Assign access to: User, group, or service principal
- Click Select members, then select your app registration.
- Click Review + assign → Assign
ℹ️ Role assignments can take up to 5 minutes to take effect. If you receive a 403 error, see Troubleshooting.
9. Enter the captured values in Tresorit Admin Center
- Tresorit Admin Center → Settings → SIEM integration → Enable
-
Enter the following values:
Field in Tresorit Capture Data Collection Endpoint #1 (DCE URI) Data Collection Rule ID #4 (DCR Immutable ID) Stream Name #3 Tenant ID #5 Client ID #6 Client Secret #7 - Select the event groups to forward, then click Save.
-
Tresorit sends a probe event to verify the configuration. A success message should appear within a few seconds.
ℹ️ If the verification fails, see Troubleshooting.
10. Verify in Microsoft Sentinel
- Open the Log Analytics workspace → Logs
-
Run:
TresoritEvents_CL
| where TimeGenerated > ago(15m)
| take 50 -
The probe event should appear, along with any events generated after the configuration is complete.
ℹ️ Ingestion typically takes 2-5 minutes end-to-end. If no events appear after 10 minutes, check the SIEM settings in your Tresorit Admin Center.
Troubleshooting
| Issue | Cause and resolution |
| 403 Forbidden immediately after configuration | Role assignments may still be propagating. Wait 5 minutes, then retry from the Tresorit Admin Center. |
| 403 Forbidden after 10 minutes | The Monitoring Metrics Publisher role is likely assigned on the wrong scope (workspace or subscription instead of the DCR). Repeat Step 8 and assign the role on the DCR. |
| 401 Unauthorized | The client secret is incorrect or has expired. Generate a new client secret (see Step 7), then update the value in the Tresorit Admin Center. |
| 404 Not Found | The DCR Immutable ID is incorrect, or the DCR was deleted and recreated after you captured the value. Capture the DCR Immutable ID again (see Step 5), then update it in the Tresorit Admin Center. |
| 400 Bad Request column not found | The DCR stream schema does not match the event schema sent by Tresorit. Verify that the sample JSON uploaded includes all expected event fields (see Step 4). |
| Logs appear with incorrect timestamps | The TimeGenerated transformation was not applied correctly. Update the DCR transformation to map TimeCreatedIso8601 → TimeGenerated (see Step 4). |