Microsoft Sentinel
Deploy Microsoft Sentinel & Ingest Identity Logs
Provision a Log Analytics workspace, deploy Microsoft Sentinel, configure the Microsoft Entra ID data connector, verify log ingestion with KQL, and create your first analytics rule to detect suspicious sign-in patterns.
Where it fits: lab 1 of 4
Deploy Microsoft Sentinel and collect your data. Stand up Sentinel, forward Windows, Linux and custom sources, tier data in the data lake and prove it all in a proof of concept.
- Deploy Microsoft Sentinel & Ingest Identity Logs 60 min
- Forward Logs to Microsoft Sentinel: Foundation, Windows, Linux and Custom Connectors 7.8 h
- Onboard and Explore the Microsoft Sentinel Data Lake 2.5 h
- Microsoft Sentinel Rapid Prototyping: 5-Day Proof-of-Concept Workshop 6.7 h
What this lab covers
In this hands-on lab you will build a fully operational Microsoft Sentinel deployment from scratch. Starting with a dedicated resource group and Log Analytics workspace, you will onboard Sentinel, connect your Microsoft Entra ID tenant to stream identity telemetry, explore sign-in and audit log schemas using KQL, and create a scheduled analytics rule that detects brute-force credential attacks. By the end of this lab you will have a working cloud-native SIEM that actively monitors identity-based threats.
The enterprise scenario
A mid-size financial services company with 2,500 employees operates a hybrid identity infrastructure spanning on-premises Active Directory and Microsoft Entra ID. Their security team has identified gaps in visibility: credential-stuffing attacks against employee accounts go undetected for days, conditional access policy violations are only discovered during quarterly audits, and suspicious access patterns from unfamiliar geolocations are not flagged in real time. The CISO has mandated centralized security monitoring to detect credential attacks, policy violations, and anomalous access patterns. all funneled into a single pane of glass with automated alerting and incident management.
What you will learn
- Provision and configure a Log Analytics workspace for security data
- Deploy Microsoft Sentinel as your cloud-native SIEM
- Connect the Microsoft Entra ID data connector for identity telemetry
- Write KQL queries to explore sign-in and audit log schemas
- Understand ResultType codes and authentication failure patterns
- Create a scheduled analytics rule for brute-force detection
- Map entities for automated incident correlation
- Validate detections with controlled test events
Before you start
- Azure subscription . Owner or Contributor role at the subscription level (required to create resources and enable Sentinel)
- Microsoft Entra ID P1 or P2 license . Required for sign-in log availability; sign-in logs are not generated on free-tier Entra ID
- Security Administrator or Global Administrator role . Needed to configure diagnostic settings and grant permissions to the data connector
- Basic familiarity with the Azure portal . You should be comfortable navigating resource groups, blades, and the search bar
- Azure CLI (optional) . Install the Azure CLI if you prefer command-line provisioning
- Lab Scripts: Browse or download the deployment scripts at scripts/sentinel/
The 10 steps
- Create a Resource Group
- Create a Log Analytics Workspace
- Deploy Microsoft Sentinel
- Configure the Microsoft Entra ID Data Connector
- Verify Data Ingestion with KQL
- Explore the Sign-in Log Schema
- Write a Failed Sign-in Detection Query
- Create a Scheduled Analytics Rule
- Validate the Detection
- Review & Clean Up
Related labs
Build KQL Analytics Rules & Threat Detection
Master KQL query language for security analytics, build scheduled and near-real-time (NRT) detection rules, configure Fusion correlation, and implement MITRE ATT&CK-mapped detections for identity, endpoint, and cloud threats.
Automate Incident Response with Playbooks
Create Logic App playbooks to auto-enrich incidents with threat intelligence, post formatted notifications to Microsoft Teams, isolate compromised accounts in Entra ID, and build end-to-end automated remediation workflows triggered by Sentinel automation rules.
Enterprise Threat Hunting with MITRE ATT&CK
Build a proactive threat hunting program in Microsoft Sentinel: craft KQL hunting queries mapped to MITRE ATT&CK techniques, leverage bookmarks and livestream, create coverage workbooks, and establish a systematic hunting cadence.
Threat Detection with Analytics Rules, Watchlists and the Rule KQL API
Build every analytics rule type (scheduled, NRT, anomaly, Fusion, threat intelligence and custom detections), enrich detections with watchlists and read rule KQL through the Azure Resource Manager API.