Microsoft Sentinel is a cloud-native SIEM and SOAR platform that sits on top of a Log Analytics workspace in Azure. There is no server to rack, no indexer cluster to size, and no OS to patch — you enable it on a workspace, connect data sources, and start writing detections in Kusto Query Language (KQL). That low friction is exactly why teams get it wrong: they turn on every connector, ingest terabytes they never query, and open a five-figure monthly bill before they have written a single detection rule.
This guide builds Sentinel the way a working SOC should. You will enable it three ways — the Azure portal, the unified Microsoft Defender portal, and Terraform for repeatable deployments — connect the connectors that actually matter, write scheduled analytics rules that generate real incidents, automate response with playbooks, and control cost with commitment tiers and table-level plans. Everything here is copy-pasteable and current for the 2026 Defender-portal experience.
◈ Table of Contents
01 — What Microsoft Sentinel Is & Why a Defender Cares
CONCEPTSSentinel is Microsoft's SaaS security analytics platform. It ingests logs from cloud and on-premises sources into a Log Analytics workspace, runs detection logic against that data as scheduled KQL queries, correlates the resulting alerts into incidents, and lets you respond automatically through Logic Apps playbooks. Unlike Splunk or a self-hosted ELK stack, you never manage compute — you pay for data ingested and, optionally, for the analytics features layered on top.
As of 2026 the primary experience is the unified Microsoft Defender portal at security.microsoft.com, where Sentinel sits alongside Defender XDR (endpoint, identity, email, cloud apps) under one incident queue. The classic Azure-portal experience still exists, but new customers with Owner or User Access Administrator rights are automatically onboarded to the Defender portal. This guide shows both.
The five moving parts you will build in this guide:
Log Analytics Workspace
The storage and query engine. All logs land here in typed tables you query with KQL. Retention, cost and access are all governed at the workspace level.
Data Connectors
Deployed from the Content hub as solutions. They forward events from Entra ID, Azure Activity, Defender XDR, firewalls and Syslog/CEF sources into the workspace.
Analytics Rules
Scheduled KQL queries that run on an interval, map entities and MITRE techniques, and raise alerts that group into incidents.
Automation & Playbooks
Automation rules trigger Logic Apps playbooks — disable a user, isolate a device, post to Teams — turning Sentinel from SIEM into SOAR.
Workbooks & Hunting
Workbooks visualise your data; hunting queries and bookmarks let analysts proactively search across the whole workspace for threats no rule caught.
UEBA & Threat Intel
Entity behaviour analytics baselines users and hosts; the TI connector matches indicators from feeds against your logs to surface known-bad activity.
Sentinel and Log Analytics are two products stacked on one workspace. You can query the data with plain Log Analytics for free-tier monitoring, but detections, incidents, UEBA and SOAR only exist once Sentinel is enabled on that workspace. Enabling Sentinel adds the analytics meter on top of ingestion.
02 — Prerequisites & Requirements
PLAN FIRSTSentinel has no hardware requirements — the requirements are about identity, permissions, and billing. Get these right before you click anything, because a workspace, once Sentinel is enabled on it, cannot be moved to a different resource group or subscription.
| Requirement | Detail | Notes |
|---|---|---|
| Azure subscription | Active, with billing | Free account works for a lab; Sentinel itself is a paid service |
| Enable permission | Contributor on the subscription | Needed once, to create the workspace and turn Sentinel on |
| Operate permission | Microsoft Sentinel Contributor / Reader | Scoped to the resource group holding the workspace |
| Content hub | Microsoft Sentinel Contributor | Required to install and manage solutions/connectors |
| Log Analytics workspace | One dedicated workspace | Do not reuse the default Defender for Cloud workspace |
| Retention | Raise to 90 days | Legacy tiers default to 30; 90 days is free with Sentinel |
| Region | Pick close to data sources | Affects latency and some data-residency rules |
Do NOT install Sentinel on the automatically-created "DefaultWorkspace-..." that Microsoft Defender for Cloud provisions. Those workspaces are hidden from the onboarding list and carry Defender for Cloud's own retention and access model. Always create a purpose-built workspace you own end to end.
Pricing model. Sentinel bills on data ingested into analytics tables. You have two ways to pay, and choosing correctly is the single biggest cost lever:
| Model | How it works | Best for |
|---|---|---|
| Pay-As-You-Go | Billed per GB ingested, no commitment | Labs and early pilots under ~100 GB/day |
| Commitment Tier | Fixed daily capacity (100, 200, 300, 400, 500, 1000+ GB/day) at a per-GB discount | Steady production ingestion — discounts grow with tier |
| Auxiliary / Basic logs | Cheaper ingestion for high-volume, low-value tables | Verbose firewall / network logs queried rarely |
Commitment tiers reset every day and any overage is billed at the same discounted rate, so a tier that is slightly below your daily average is almost always cheaper than pay-as-you-go. Watch a week of ingestion first (Phase 10 shows the query), then commit.
Tooling. Install the Azure CLI and the PowerShell modules you will use for the scripted paths. Verify versions before you start:
03 — Method 1: Enable Sentinel in the Azure Portal
CLICK PATHThis is the classic, GUI-driven path — the fastest way to a working instance for a first-timer. You create a Log Analytics workspace, add Sentinel to it, and confirm it is live. Ten minutes end to end.
Sentinel needs a home. Create a dedicated resource group and a Log Analytics workspace in your chosen region. You can do this in the portal, but the CLI is faster and repeatable.
Name the workspace for its purpose and region, not for a person. When you later add Defender XDR or a second region, a clear naming scheme (law-sentinel-prod, law-sentinel-dr) saves hours of confusion in the workspace picker.
In the Azure portal, search for and open Microsoft Sentinel, click Create, select the workspace you just built, and click Add. This attaches the Sentinel analytics layer to that workspace.
- 1Portal home
>searchMicrosoft Sentinel>Create. - 2Select
law-sentinel-prodfrom the list, then Add. - 3Wait for provisioning; Sentinel opens on the Overview blade.
You can run Sentinel on more than one workspace, but data never crosses between workspaces — a query only sees the workspace it runs in. Plan a single primary workspace per tenant unless you have a hard data-residency or delegation reason to split.
The portal "Add" button is really an onboarding-state resource. If you prefer to script it — for example inside a deployment runbook — the Az.SecurityInsights module does the same thing in one line.
Confirm the onboarding state exists:
Legacy pricing tiers default to 30-day retention. Sentinel includes 90 days of analytics-log retention at no extra ingestion charge, so raise it. You can extend interactive retention up to two years, and archive older data for long-term compliance.
Set long total-retention only on the tables an investigation actually reaches back into — sign-ins, audit logs, and security events. Archiving a chatty network table for two years quietly becomes one of your biggest line items.
Before ingesting data, confirm Sentinel is genuinely attached. Open Logs and run a metadata query — even an empty workspace answers this.
- The Microsoft Sentinel blade opens on the workspace with no "enable" prompt
- Content hub, Data connectors and Analytics nodes are all clickable
- A KQL query in Logs executes and returns a schema (even if zero rows)
04 — Method 2: Onboard to the Unified Defender Portal
RECOMMENDEDThe Defender portal merges Sentinel with Defender XDR into a single incident queue, correlation engine and hunting surface. If you run any Microsoft Defender product, onboard here — a phishing alert, the identity it compromised and the Azure resource it touched all collapse into one incident instead of three.
New tenants with Owner or User Access Administrator rights are onboarded automatically. If yours was not, connect it manually from the Defender portal.
- 1Select the
law-sentinel-prodworkspace as the primary workspace for the tenant. - 2Confirm; provisioning the unified experience takes a few minutes on first use.
- 3Sentinel now appears in the Defender navigation with its nodes nested beneath it.
The Defender portal supports multiple Sentinel workspaces but only one primary per tenant. Choose the primary deliberately — it is the workspace Defender XDR data streams into and the one that anchors cross-product correlation.
Once onboarded, some navigation moves. Data connectors and analytics live under Sentinel's own nodes; incidents merge into the single Defender queue. The KQL is identical — Advanced Hunting in Defender queries the same tables as Logs in Azure.
| Task | Azure Portal | Defender Portal |
|---|---|---|
| Run KQL | Microsoft Sentinel > Logs | Investigation > Advanced hunting |
| Connectors | Sentinel > Data connectors | Sentinel > Configuration > Data connectors |
| Incidents | Sentinel > Incidents | Investigation > Incidents (unified) |
| Rules | Sentinel > Analytics | Sentinel > Configuration > Analytics |
When reading Microsoft Learn, switch the doc tab to the "Defender portal" version once you have onboarded. The click-paths differ enough between the two that following the Azure-portal steps will send you hunting for menus that have moved.
05 — Method 3: Deploy with Terraform & Bicep (IaC)
REPEATABLEFor anything beyond a lab, deploy Sentinel as code. Infrastructure-as-Code makes the workspace, onboarding state, retention and even analytics rules reproducible across dev/test/prod and reviewable in a pull request. Here are the two mainstream options.
The azurerm provider models both the workspace and the Sentinel onboarding as first-class resources. This is the minimum viable Sentinel, fully declarative.
If you are all-in on Azure Resource Manager, Bicep expresses the same deployment. The Sentinel resource is Microsoft.SecurityInsights/onboardingStates, scoped to the workspace.
Keep analytics rules in the same repo as the workspace. Both Terraform (azurerm_sentinel_alert_rule_scheduled) and Bicep can define detection rules, so your entire detection library ships through code review and rolls back cleanly.
All three land you a working Sentinel. Pick based on how you will operate it long-term.
| Method | Best for | Trade-off |
|---|---|---|
| Azure portal | First instance, learning, quick labs | Not reproducible; drift over time |
| Defender portal | Any Defender XDR customer | Requires the onboarding step; menus differ |
| Terraform / Bicep | Production, multi-environment | Upfront authoring effort |
06 — Initial Configuration
FIRST RUNBefore pouring data in, set the workspace-level knobs that are painful to change later and grant access on least-privilege lines.
Use Sentinel's purpose-built roles, not broad Owner grants. Responders should be able to work incidents without touching workspace configuration.
| Role | Grants | Give to |
|---|---|---|
| Sentinel Reader | View data, incidents, workbooks | Auditors, junior analysts |
| Sentinel Responder | Reader + triage/own incidents | SOC analysts (L1/L2) |
| Sentinel Contributor | Responder + create rules/connectors | Detection engineers |
| Sentinel Automation Contributor | Manage automation rules/playbooks | SOAR/automation owners |
User and Entity Behavior Analytics baselines normal activity per user and host, so anomalies (a first-time admin action, an atypical geography) become scoreable signals. Enable it early — it needs time to learn.
UEBA quietly ingests and enriches — the BehaviorAnalytics and related tables add to your data footprint. Enable it, but include those tables when you size cost in Phase 10 rather than being surprised on the invoice.
Everything in Sentinel — detections, hunting, workbooks — is KQL. If you have never written it, these five operators cover most of what you will do daily. Run them in Logs / Advanced hunting.
Always put your time filter first. KQL evaluates left to right and where TimeGenerated > ago(1h) up front prunes the dataset before any expensive operation, making queries faster and cheaper on large tables.
07 — Core Configuration: Data Connectors
GET DATA INA SIEM with no data is a blank query editor. Connectors are installed as solutions from the Content hub, which bundles the connector with matching analytics rules, workbooks and hunting queries. Start with the free, high-value Microsoft connectors before you pay to ingest anything.
The Content hub is the marketplace for connectors and detections. Install the solution first; the connector page appears afterwards.
Identity is where most intrusions become visible. The Entra ID connector streams sign-in and audit logs — the foundation for detecting password spray, impossible travel and consent abuse. It is a diagnostic-settings connector, configurable from Entra.
Non-interactive and service-principal sign-in logs are where token-theft and OAuth abuse hide, but they are also the highest-volume identity tables. Turn them on, then watch their daily GB — they frequently dwarf interactive sign-ins.
Azure Activity logs every control-plane operation — role assignments, resource deletions, policy changes. The modern connector is delivered through an Azure Policy assignment so every subscription in scope forwards automatically.
- 1Open the Azure Activity connector page, click Launch Azure Policy Assignment Wizard.
- 2Set Scope to the subscription(s) you want to monitor.
- 3On the Parameters tab, set the primary workspace to
law-sentinel-prod. - 4Review + create. New subscriptions in scope are covered automatically.
There are hundreds of connectors. Connecting all of them is how bills explode and signal drowns in noise. Sequence by detection value per GB.
| Connector | Cost | Priority |
|---|---|---|
| Entra ID sign-in / audit | Paid ingest | First |
| Defender XDR (service-to-service) | Free | First |
| Azure Activity | Free | Early |
| Office 365 / Exchange | Free | Early |
| Windows Security Events (AMA) | Paid ingest | Tuned |
| Firewall / proxy (CEF) | Paid, high volume | Filter first |
Defender XDR and Office 365 connectors ingest their alert/audit data into Sentinel free of Sentinel analytics charges — turn them on before any paid source. Free, high-signal data is the best value you will find in the whole platform.
08 — Integration: Syslog, CEF & Defender XDR
ON-PREM + XDRCloud connectors are point-and-click. On-premises sources — firewalls, Linux servers, network appliances — need a collector. In 2026 that collector is the Azure Monitor Agent (AMA) driven by a Data Collection Rule (DCR). The legacy Log Analytics agent (MMA/OMS) is retired; do not build anything new on it.
Firewalls and appliances that emit Syslog/CEF send to a dedicated Linux VM running rsyslog and AMA. The VM receives on 514 and AMA ships the parsed events to your workspace. Size it modestly — one forwarder handles thousands of EPS.
Install AMA on the forwarder as a VM extension. On an Azure VM this is one command; for an on-prem host, enroll it in Azure Arc first, then install the same extension.
Point exactly one collection path at each source. Running both the old Log Analytics agent and AMA on the same forwarder double-ingests every event — you pay twice and every detection fires twice. Remove MMA/OMS before installing AMA.
The DCR tells AMA which facilities and severities to collect and where to send them. Create it from the connector page (CEF via AMA / Syslog via AMA), which also drops the rsyslog forwarding config onto the VM. Verify that config landed:
Filter at the DCR, not in KQL. Collecting only the facilities and severities you detect on — instead of everything a firewall screams — is the difference between a $400 and a $4,000 monthly line for a busy perimeter device.
If you onboarded to the Defender portal (Phase 4), XDR incidents already flow in. Otherwise, enable the Defender XDR service-to-service connector to pull endpoint, identity, email and cloud-app alerts into Sentinel with one toggle — no agent, no cost for the alert data.
- 1Content hub
>install Microsoft Defender XDR solution. - 2Open the connector
>connect incidents & alerts. - 3Optionally stream raw advanced-hunting tables (DeviceEvents, IdentityLogonEvents) for custom KQL.
09 — Advanced: Analytics Rules, SOAR & Hunting
DETECT & RESPONDThis is where Sentinel earns its keep. Data ingestion is plumbing; analytics rules, automation and hunting are the product. Deploy the out-of-the-box rules first, then write your own.
Every solution you installed shipped rule templates. Enable the relevant ones before authoring anything custom — they are maintained by Microsoft and cover the common cases.
A rule template does nothing until you create an active rule from it. A brand-new Sentinel with connectors flowing but zero enabled rules generates zero incidents — the most common "why isn't it detecting anything?" mistake.
A scheduled rule is a KQL query plus a schedule, entity mapping and MITRE tagging. This one flags a single source IP failing against many distinct accounts — classic password spray.
- 1Run frequency 1 hour, lookup period 1 hour.
- 2Entity mapping: Account → UserPrincipalName, IP → IPAddress.
- 3Tactics: Credential Access; Technique: T1110 Brute Force.
- 4Incident grouping: group alerts on the same IP into one incident.
Click-built rules drift and vanish with the person who made them. Define detections in Terraform so they are versioned, reviewed and repeatable across environments.
A playbook is a Logic App triggered by an automation rule. Common first playbooks: post the incident to a Teams/Slack channel, disable a compromised user in Entra, or isolate a device via Defender. Wire it to the rule with an automation rule.
- 1Content hub or Configuration
>Automation>import/create a playbook (Logic App). - 2Grant the playbook's managed identity the Sentinel Responder role so it can act on incidents.
- 3Create an automation rule to run the playbook on matching incidents.
Start playbooks in notify-only mode. Prove the trigger and conditions fire correctly for a week before you let a playbook disable accounts — an over-eager auto-remediation on a false positive can lock out your own executives at 3 a.m.
Not every threat trips a rule. The Hunting node ships MITRE-aligned queries you run on demand; bookmark interesting rows and promote them into incidents. A useful starting hunt: newly created service principals with credentials added — a common persistence move.
- Built-in rule templates enabled for every connected source
- Custom rules with entity mapping and MITRE tactics set
- At least one notify playbook proven before any auto-remediation
- Scheduled hunts run on a cadence, not just after an incident
10 — Monitoring, Cost & Troubleshooting
KEEP IT HEALTHYA Sentinel instance is never "done." Two things will hurt you if ignored: silent connector failures (you stop detecting and never know) and runaway ingestion (you find out on the invoice). Watch both with KQL.
Before committing to a tier, measure. This query shows your daily ingestion by table over the last week — the numbers that decide your commitment tier and reveal which table to move to a cheaper plan.
Move high-volume, low-detection tables (verbose firewall traffic, DNS) to the Auxiliary or Basic logs plan. You lose full analytics on them but keep them searchable for investigations at a fraction of the ingestion cost.
A firewall that stops logging is a blind spot you will not notice until an incident. Alert on data-source silence and monitor the SentinelHealth table for connector and automation failures.
Nearly every "Sentinel isn't working" ticket is one of these. Check them in order before opening a support case.
| Symptom | Likely Cause | Fix |
|---|---|---|
| No incidents ever appear | Rule templates installed but no active rules created | Create + enable rules from templates (Phase 9.1) |
| CEF logs not arriving | DCR facility/severity filter or 514 blocked | Check DCR, firewall to forwarder, restart rsyslog |
| Events counted twice | MMA and AMA both running | Remove the legacy Log Analytics agent |
| Connector shows "not connected" | Diagnostic settings not routed to this workspace | Re-run the connector's diagnostic/policy config |
| Bill jumped overnight | New verbose connector or debug logging left on | Run the Usage query; move the table to Basic/Aux |
| Rule query times out | No time filter / heavy join over long lookback | Filter TimeGenerated first; shorten lookup period |
Deleting a Log Analytics workspace deletes all its data permanently and cannot be undone. A soft-delete window exists for a short recovery period, but never treat workspace deletion as reversible — export or archive anything you need first.
Bake these into a recurring runbook so the instance stays sharp instead of slowly rotting.
- 1Weekly: review the Usage query, tune noisy rules, clear the incident backlog.
- 2Monthly: update Content hub solutions, review new rule templates, check SentinelHealth trends.
- 3Quarterly: re-validate commitment tier against actual ingestion; run SOC optimization recommendations.
- 4Continuously: ship every new detection through IaC and code review, not the portal.
11 — Sources & References
VERIFYAll setup steps, permissions and pricing behaviour in this guide are drawn from current Microsoft documentation. Verify region-specific pricing and any preview features against the live docs before production rollout.
Building out detections next?
Pair this deployment with CyberHawk's SOP library — ready-to-run KQL and SPL response playbooks for AS-REP roasting, NTLM relay, web-shell detection and more — and the Threat Intel feed to enrich your analytics rules with fresh indicators. Explore the SOPs, Blog and Threat Intel hub to keep your new SIEM fed with signal that matters.
◈ Stay Connected
Follow CyberHawk Threat Intel for threat intelligence, deployment guides and hands-on SOC tooling content.
"They can't exploit you if you are the Exploit."