Lesson 1 of 7 Microsoft Sentinel Collection

Understanding Microsoft Sentinel and Its Workspaces

This lesson explains what Microsoft Sentinel does, how it uses a workspace, and how it works with the Defender portal.

Learning outcomes

After completing this lesson, you will be able to:

  • Describe SIEM and SOAR.
  • Decide how many workspaces are needed.
  • Explain the move to the Defender portal.
  • Describe the data path.

What Microsoft Sentinel does

Defender products detect threats in the areas that they protect, but an attack often crosses several: a phishing email, a stolen sign-in, a change in Azure and a connection to an external server. Microsoft Sentinel is a cloud-native security information and event management (SIEM) and security orchestration, automation and response (SOAR) service. It collects data from many sources, detects threats with analytics rules, helps analysts investigate incidents and automates the response.

This exam concentrates on the engineering side: activity and event collection, automation and data retention. The role of a security engineer is to make sure that the right data arrives, in the right place and at the right cost, so that analysts can use it. Detection authoring and hunting belong more to the security operations analyst role.

Workspaces

Microsoft Sentinel is enabled on a Log Analytics workspace, which stores the data. Sentinel is a paid service, billed on top of the workspace's data ingestion. Enabling it needs Contributor on the subscription that contains the workspace. Using it needs Microsoft Sentinel Contributor or Reader on the workspace's resource group.

The number of workspaces is a design decision. A single workspace is simplest, as queries, rules and incidents are all in one place, and Microsoft's general advice is to use as few as possible. Reasons to add more include data residency requirements, separate legal entities that must not see each other's data, and very different retention needs. Multiple tenants can be managed with Azure Lighthouse.

Select all that apply

Reasons for more workspaces

Exam skills 4.2.1

Identify the valid reasons to use more than one Sentinel workspace.

Log in to try this activity Interactive activities are free with an account.

The move to the Defender portal

Microsoft Sentinel is moving out of the Azure portal. Microsoft states that after 31 March 2027, it will no longer be supported in the Azure portal, and will be available only in the Microsoft Defender portal. The transition has no extra cost. New customers who onboard with the permissions of a subscription Owner or User Access Administrator have their workspaces onboarded to the Defender portal automatically. Organizations that use Microsoft Sentinel without Defender XDR need to take an extra step to trigger the connection.

The move brings real benefits. Incidents from Sentinel and Defender XDR are unified in one queue, advanced hunting works across both data sets, and attack disruption can use Sentinel data. In the Defender portal, Microsoft Sentinel features appear under Microsoft Sentinel, including Content management, Configuration and Threat management.

True or false

Sentinel in the Defender portal

Exam skills 4.2.1

Check the facts about Sentinel's move to the Defender portal.

Log in to try this activity Interactive activities are free with an account.

The data path

Understanding how data reaches a table helps with every later lesson.

  1. Source

    A service, device or application produces events.

  2. Collection

    A connector, agent or API gathers them.

  3. Data collection rule

    A rule selects, filters and transforms the events.

  4. Table

    Data lands in a workspace table, in the analytics tier or the data lake tier.

  5. Use

    Analytics rules, hunting and workbooks query the data.

A data collection rule (DCR) is an Azure Monitor resource that defines what to collect, how to transform it and where to send it. It appears in several later lessons. Kusto Query Language (KQL) is used for queries.

The following diagram shows the path from a source to a query.

The Microsoft Sentinel data path. A service, device or application produces events. A connector, agent or API collects them. A data collection rule selects, filters and transforms them. The data lands in a workspace table, in the analytics tier or the data lake tier. Analytics rules, hunting and workbooks then query it with KQL.
Later lessons build on each step.
Put in order

From source to query

Exam skills 4.2.1

Put the stages of the Sentinel data path in order.

Log in to try this activity Interactive activities are free with an account.

Enabling Microsoft Sentinel

To set up Sentinel, create or choose a workspace, and then add Microsoft Sentinel to it. A legacy default retention of 30 days may apply to the workspace, and Microsoft's quickstart advises raising it to 90 days. Next, install a solution from the content hub, enable its connector, and confirm that data is arriving. The quickstart uses the Azure Activity solution and this query.

AzureActivity
| where OperationNameValue contains "MICROSOFT.SECURITYINSIGHTS"
| take 10

A data collection endpoint is rarely needed for ordinary work now, but private link scenarios still use one.

Worked example

Deciding on workspaces

A multinational company must keep European security logs within the EU, and US logs in the US. A central team must see all incidents. How many workspaces are needed, and how can the central team work across them?

Data residency is a valid reason for separate workspaces, so use one workspace in each geography, each with Microsoft Sentinel enabled. The central team can then see incidents across workspaces with the multiple workspace view, or with a workspace manager or Defender portal multi-workspace features.

A single workspace in Europe would break the US requirement, or the reverse. Different resource groups do not affect where data is stored, because the workspace's region decides that. Separate tenants are not needed for residency.

Check yourself

Does a separate resource group keep Sentinel data in a different region?

Show answer

No. The workspace's region decides where data is stored.

Exam Tips

Remember for the exam

  • Microsoft Sentinel runs on a Log Analytics workspace.
  • After 31 March 2027, Sentinel is available only in the Defender portal.
  • Enabling Sentinel needs Contributor on the subscription.
  • Use as few workspaces as residency and separation allow.