Extend Microsoft Sentinel across workspaces and tenants (2024)

  • Article

When you onboard Microsoft Sentinel, your first step is to select your Log Analytics workspace. While you can get the full benefit of the Microsoft Sentinel experience with a single workspace, in some cases, you might want to extend your workspace to query and analyze your data across workspaces and tenants. Learn more about how Microsoft Sentinel can extend across multiple workspaces.

Manage incidents on multiple workspaces

Microsoft Sentinel supports a multiple workspace incident view where you can centrally manage and monitor incidents across multiple workspaces. The centralized incident view lets you manage incidents directly or drill down transparently to the incident details in the context of the originating workspace.

Query multiple workspaces

You can query multiple workspaces, allowing you to search and correlate data from multiple workspaces in a single query.

  • Use the workspace( ) expression, with the workspace identifier as the argument, to refer to a table in a different workspace.

    • See important information about the use of identifier formats to ensure proper performance.
  • Use the union operator alongside the workspace( ) expression to apply a query across tables in multiple workspaces.

  • You can use saved functions to simplify cross-workspace queries. For example, you can shorten a long reference to the SecurityEvent table in Customer A's workspace by saving the expression

    workspace("/subscriptions/<customerA_subscriptionId>/resourcegroups/<resourceGroupName>/providers/microsoft.OperationalInsights/workspaces/<workspaceName>").SecurityEvent

    as a function called SecurityEventCustomerA. You can then query Customer A's SecurityEvent table with this function: SecurityEventCustomerA | where ... .

  • A function can also simplify a commonly used union. For example, you can save the following expression as a function called unionSecurityEvent:

    union workspace("/subscriptions/<subscriptionId>/resourcegroups/<resourceGroupName>/providers/microsoft.OperationalInsights/workspaces/<workspaceName1>").SecurityEvent, workspace("/subscriptions/<subscriptionId>/resourcegroups/<resourceGroupName>/providers/microsoft.OperationalInsights/workspaces/<workspaceName2>").SecurityEvent

    You can then write a query across both workspaces by beginning with unionSecurityEvent | where ... .

Include cross-workspace queries in scheduled analytics rules

You can include cross-workspace queries in scheduled analytics rules. You can use cross-workspace analytics rules in a central SOC, and across tenants (using Azure Lighthouse), suitable for MSSPs. This use is subject to the following limitations:

  • You can include up to 20 workspaces in a single query. However, for good performance, we recommend including no more than 5.
  • You must deploy Microsoft Sentinel on every workspace referenced in the query.
  • Alerts generated by a cross-workspace analytics rule, and the incidents created from them, exist only in the workspace where the rule was defined. The alerts won't be displayed in any of the other workspaces referenced in the query.
  • A cross-workspace analytics rule, like any analytics rule, will continue running even if the user who created the rule loses access to workspaces referenced in the rule's query. The only exception to this is in the case of workspaces in different subscriptions and/or tenants than the analytics rule.

Alerts and incidents created by cross-workspace analytics rules contain all the related entities, including those from all the referenced workspaces and the "home" workspace (where the rule was defined). This way, analysts get a full picture of alerts and incidents.

Note

Querying multiple workspaces in the same query might affect performance, and therefore is recommended only when the logic requires this functionality.

Use cross-workspace workbooks

Workbooks provide dashboards and apps to Microsoft Sentinel. When working with multiple workspaces, workbooks provide monitoring and actions across workspaces.

Workbooks can provide cross-workspace queries in one of three methods, suitable for different levels of end-user expertise:

MethodDescriptionWhen should I use?
Write cross-workspace queriesThe workbook creator can write cross-workspace queries (described above) in the workbook.I want the workbook creator to create a workspace structure that is transparent to the user.
Add a workspace selector to the workbookThe workbook creator can implement a workspace selector as part of the workbook.I want to allow the user to control the workspaces shown by the workbook, with an easy-to-use dropdown box.
Edit the workbook interactivelyAn advanced user modifying an existing workbook can edit the queries in it, selecting the target workspaces using the workspace selector in the editor.I want to allow a power user to easily modify existing workbooks to work with multiple workspaces.

Hunt across multiple workspaces

Microsoft Sentinel provides preloaded query samples designed to get you started and get you familiar with the tables and the query language. Microsoft security researchers constantly add new built-in queries and fine-tune existing queries. You can use these queries to look for new detections and identify signs of intrusion that your security tools may have missed.

Cross-workspace hunting capabilities enable your threat hunters to create new hunting queries, or adapt existing ones, to cover multiple workspaces, by using the union operator and the workspace() expression as shown above.

Manage multiple workspaces using automation

To configure and manage multiple Microsoft Sentinel workspaces, you need to automate the use of the Microsoft Sentinel management API.

  • Learn how to automate the deployment of Microsoft Sentinel resources, including alert rules, hunting queries, workbooks and playbooks.
  • Learn how to deploy custom content from your repository. This resource provides a consolidated methodology for managing Microsoft Sentinel as code and for deploying and configuring resources from a private Azure DevOps or GitHub repository.

Manage workspaces across tenants using Azure Lighthouse

As mentioned above, in many scenarios, the different Microsoft Sentinel workspaces can be located in different Microsoft Entra tenants. You can use Azure Lighthouse to extend all cross-workspace activities across tenant boundaries, allowing users in your managing tenant to work on Microsoft Sentinel workspaces across all tenants.

Once Azure Lighthouse is onboarded, use the directory + subscription selector on the Azure portal to select all the subscriptions containing workspaces you want to manage, in order to ensure that they'll all be available in the different workspace selectors in the portal.

When using Azure Lighthouse, it's recommended to create a group for each Microsoft Sentinel role and delegate permissions from each tenant to those groups.

Next steps

In this article, you learned how Microsoft Sentinel's capabilities can be extended across multiple workspaces and tenants. For practical guidance on implementing Microsoft Sentinel's cross-workspace architecture, see the following articles:

  • Learn how to work with multiple tenants in Microsoft Sentinel, using Azure Lighthouse.
  • Learn how to view and manage incidents in multiple workspaces seamlessly.
Extend Microsoft Sentinel across workspaces and tenants (2024)

FAQs

How many workspaces can you have in Microsoft Sentinel? ›

You can include up to 20 workspaces in a single query. However, for good performance, we recommend including no more than 5. You must deploy Microsoft Sentinel on every workspace referenced in the query.

How to centralize the management of multiple Microsoft Sentinel instances in separate Microsoft Entra tenants? ›

To centralize the management of multiple Microsoft Sentinel instances in separate Microsoft Entra tenants, you should use Azure Lighthouse.

What is the maximum number of repository connections allowed for each Microsoft Sentinel workspace? ›

Each Microsoft Sentinel workspace is currently limited to five repository connections. Each Azure resource group is limited to 800 deployments in its deployment history.

Can Microsoft Sentinel run only on workspaces in specific regions? ›

Microsoft Sentinel can run on workspaces in most, but not all regions supported in GA for Log Analytics. Newly supported Log Analytics regions might take some time to onboard the Microsoft Sentinel service.

How do you extend functions in Sentinel? ›

Sentinel can be extended by writing additional imports. These imports can bring new functionality to Sentinel by allowing access to new data or by the addition of new functions. This section is designed to show you how to accomplish this extensibility and describe how it works.

How many Microsoft Sentinel workspaces do I need? ›

You need at least two Microsoft Sentinel workspaces. One workspace to manage from and at least one other workspace to be managed.

Is Microsoft Sentinel multi-tenant? ›

Workspace Manager is a new feature which lets you manage multiple Sentinel workspaces within one or more Azure tenants with workspaces manager. Use this link - Manage multiple Microsoft Sentinel workspaces with workspace manager | Microsoft Learn - to enable the workspace manager on the central workspace.

What are two disadvantages of the single-tenant with a single workspace model? ›

Cons of Using Single Tenancy

Single-tenant applications take more time to deploy, as each customer gets a separate instance. The cost of ownership and maintenance is a lot higher. Adding a new customer requires adding a new instance, which means more resources and more costs.

Can you have multiple Microsoft tenants? ›

Multitenant organization is a feature in Microsoft Entra ID and Microsoft 365 that enables you to form a tenant group within your organization. Each pair of tenants in the group is governed by cross-tenant access settings that you can use to configure B2B or cross-tenant synchronization.

How many tenants per Azure subscription? ›

You can add no more than 40 terms to a single Microsoft Entra organization (tenant). A maximum of 5 active tenants, including the owner tenant. The owner tenant can add more than 5 pending tenants, but they won't be able to join the multitenant organization if the limit is exceeded.

What is the maximum data retention for Microsoft Sentinel? ›

After you enable Microsoft Sentinel on a Log Analytics workspace, consider these configuration options: Retain all data ingested into the workspace at no charge for the first 90 days. Retention beyond 90 days is charged per the standard Log Analytics retention prices.

What is a playbook in Sentinel? ›

Playbooks in Microsoft Sentinel are based on workflows built in Azure Logic Apps, a cloud service that helps you schedule, automate, and orchestrate tasks and workflows across systems throughout the enterprise.

What is the difference between Microsoft Sentinel and Azure Sentinel? ›

This blog will use both Microsoft Sentinel and Azure Sentinel, but for the sake of clarity, both terms refer to the same product. Azure Sentinel is a cloud-based security information and event management (SIEM) solution that helps you detect, investigate, and respond to threats across your entire organization.

What is the difference between Microsoft Sentinel and defender for cloud? ›

Microsoft Defender also provides detailed threat intelligence. Azure Sentinel, on the other hand, is a cloud-native Security Information Event Management (SIEM) and Security Orchestration Automated Response (SOAR) solution.

What is a Sentinel workspace manager? ›

Workspace manager groups allow you to organize workspaces together based on business groups, verticals, geography, etc. Use groups to pair content items relevant to the workspaces. Tip. Make sure you have at least one active content item deployed in the central workspace.

How many workspaces can I create? ›

By default, you can create only one WorkSpace per user per directory. However, if needed, you can create more than one WorkSpace for a user, depending on your directory setup. If you have only one directory for your WorkSpaces, create multiple usernames for the user.

What is the minimum number of Microsoft Sentinel workspaces AWS? ›

The minimum number of Microsoft Sentinel workspaces to create is 2.

Can you have multiple workspaces in Visual Studio? ›

You can work with multiple project folders in Visual Studio Code with multi-root workspaces. This can be helpful when you are working on several related projects at one time. For example, you might have a repository with a product's documentation that you like to keep current when you update the product source code.

How many log Analytics workspaces can a single Azure VM be connected to? ›

Windows agents can connect to up to four workspaces, even if they're connected to a System Center Operations Manager management group. The Linux agent doesn't support multi-homing and can only connect to a single workspace or management group.

Top Articles
Latest Posts
Article information

Author: Twana Towne Ret

Last Updated:

Views: 5846

Rating: 4.3 / 5 (44 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Twana Towne Ret

Birthday: 1994-03-19

Address: Apt. 990 97439 Corwin Motorway, Port Eliseoburgh, NM 99144-2618

Phone: +5958753152963

Job: National Specialist

Hobby: Kayaking, Photography, Skydiving, Embroidery, Leather crafting, Orienteering, Cooking

Introduction: My name is Twana Towne Ret, I am a famous, talented, joyous, perfect, powerful, inquisitive, lovely person who loves writing and wants to share my knowledge and understanding with you.