Skip to content

Commit ebd537f

Browse files
committed
fixing solution installation
1 parent adbf377 commit ebd537f

File tree

6 files changed

+53
-103
lines changed

6 files changed

+53
-103
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
title: SAP agentless data connector prerequisites checker
3+
ms.date: 03/13/2025
4+
ms.topic: include
5+
---
6+
7+
<!-- docutune:disable -->
8+
9+
**To run the tool**:
10+
11+
1. Open the integration package, navigate to the artifacts tab, and select the **Prerequisite checker** iflow > **Configure**.
12+
1. Set the target RFC destination to the SAP system you want to check.
13+
1. Deploy the iflow as you would otherwise for your SAP systems. For example, use the following sample PowerShell script, modifying the sample placeholder values for your environment:
14+
15+
```powershell
16+
$cpiEndpoint = "https://my-cpi-uri.it-cpi012-rt.cfapps.eu01-010.hana.ondemand.com" # CPI endpoint URL
17+
$credentialsUrl = "https://my-uaa-uri.authentication.eu01.hana.ondemand.com/oauth/token" # SAP authorization server URL
18+
$serviceKey = 'sb-12324cd-a1b2-5678-a1b2-1234cd5678ef!g9123|it-rt-my-cpi!h45678' # Process Integration Runtime Service client ID
19+
$serviceSecret = '< client secret >' # Your Process Integration Runtime service secret (make sure to use single quotes)
20+
21+
$credentials = [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes("$serviceKey`:$serviceSecret"))
22+
$headers = @{
23+
"Authorization" = "Basic $credentials"
24+
"Content-Type" = "application/json"
25+
}
26+
$authResponse = Invoke-WebRequest -Uri $credentialsUrl"?grant_type=client_credentials" `
27+
-Method Post `
28+
-Headers $headers
29+
$token = ($authResponse.Content | ConvertFrom-Json).access_token
30+
$path = "/http/checkSAP"
31+
$param = "?startTimeUTC=$((Get-Date).AddMinutes(-1).ToString("yyyy-MM-ddTHH:mm:ss"))&endTimeUTC=$((Get-Date).ToString("yyyy-MM-ddTHH:mm:ss"))"
32+
$headers = @{
33+
"Authorization" = "Bearer $token"
34+
"Content-Type" = "application/json"
35+
}
36+
$response = Invoke-WebRequest -Uri "$cpiEndpoint$path$param" -Method Get -Headers $headers
37+
Write-Host $response.RawContent
38+
```
39+
40+
Make sure that the prerequisites checker runs successfully before connecting to Microsoft Sentinel.

articles/sentinel/sap/deploy-data-connector-agent-container.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -48,26 +48,12 @@ Before you connect your SAP system to Microsoft Sentinel:
4848

4949
- Make sure that all of the deployment prerequisites are in place. For more information, see [Prerequisites for deploying Microsoft Sentinel solution for SAP applications](prerequisites-for-deploying-sap-continuous-threat-monitoring.md).
5050

51-
:::zone pivot="connection-agent"
52-
5351
- Make sure that you have the Microsoft Sentinel solution for **SAP applications** [installed in your Microsoft Sentinel workspace](deploy-sap-security-content.md)
5452

5553
- Make sure that your SAP system is fully [prepared for the deployment](preparing-sap.md).
5654

5755
- If you're deploying the data connector agent to communicate with Microsoft Sentinel over SNC, make sure that you completed [Configure your system to use SNC for secure connections](preparing-sap.md#configure-your-system-to-use-snc-for-secure-connections).
5856

59-
:::zone-end
60-
61-
:::zone pivot="connection-agentless"
62-
63-
- Make sure that you have the Microsoft Sentinel **SAP Agentless** solution [installed in your Microsoft Sentinel workspace](deploy-sap-security-content.md) <!--what is this solution's new name?-->
64-
65-
- Make sure that your SAP system is fully [prepared for the deployment](preparing-sap.md).
66-
67-
<!--removed- Make sure your DCR is configured as described in [Install the solution from the content hub](deploy-sap-security-content.md#install-the-solution-from-the-content-hub).-->
68-
69-
:::zone-end
70-
7157
:::zone pivot="connection-agent"
7258

7359
## Watch a demo video

articles/sentinel/sap/deploy-sap-security-content.md

Lines changed: 4 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ zone_pivot_groups: sentinel-sap-connection
1818

1919
# Install a Microsoft Sentinel solution for SAP applications
2020

21-
The Microsoft Sentinel solutions for SAP applications include an SAP data connector, which collects logs from your SAP systems and sends them to your Microsoft Sentinel workspace, and out-of-the-box security content, which helps you gain insight into your organization's SAP environment and detect and respond to security threats. Installing your solution is a required step before you can configure your data connector agent container.
22-
23-
Microsoft Sentinel supports both a containerized data collector agent and an agentless solution. Select the deployment option at the top of the page that matches your environment.
21+
The Microsoft Sentinel solutions for SAP applications include an SAP data connector, which collects logs from your SAP systems and sends them to your Microsoft Sentinel workspace, and out-of-the-box security content, which helps you gain insight into your organization's SAP environment and detect and respond to security threats. Installing your solution is a required step before you can configure your data connector.
2422

2523
:::zone pivot="connection-agent"
2624

@@ -55,20 +53,13 @@ Make sure that you also review the [prerequisites for deploying Microsoft Sentin
5553

5654
## Install the solution from the content hub
5755

58-
:::zone pivot="connection-agent"
59-
Installing the Microsoft Sentinel **SAP applications** solution makes the **Microsoft Sentinel for SAP** data connector available for you in as a Microsoft Sentinel data connector. The solution also deploys security content, such as the **SAP -Audit Controls** workbook and SAP-related analytics rules.
60-
61-
1. In the Microsoft Sentinel **Content hub**, search for **SAP applications** to install the solution with the containerized data connector agent on your Log Analytics workspace enabled for Microsoft Sentinel.
56+
Installing the **Microsoft Sentinel Solution for SAP** makes both the data connector agent and the agentless data connector available to you from the Microsoft Sentinel **Configuration > Data connectors** page. The solution also deploys security content, such as the **SAP -Audit Controls** workbook and SAP-related analytics rules.
6257

63-
1. On the **Microsoft Sentinel solution for SAP applications** page, select **Create** to define deployment settings. For example:
58+
1. In the Microsoft Sentinel **Content hub**, search for **SAP** to install the **SAP applications** solution. On the **Microsoft Sentinel solution for SAP applications** page, select **Create** to define deployment settings. For example:
6459

6560
:::image type="content" source="./media/deploy-sap-security-content/sap-solution.png" alt-text="Screenshot that shows the Microsoft Sentinel solution for SAP applications solution pane." lightbox="./media/deploy-sap-security-content/sap-solution.png":::
6661

67-
1. On the **Basics** tab, under **Project details**, select the **Subscription** and **Resource group** where you want to install the solution.
68-
69-
1. Under **Instance details**, select the Log Analytics workspace enabled for Microsoft Sentinel where you want to install the solution.
70-
71-
If you're working with [the Microsoft Sentinel solution for SAP applications in multiple workspaces](cross-workspace.md), select **Some of the data is on a different workspace**, and then define your target workspace, your SOC workspace, and SAP workspace. For example:
62+
1. On the default **Basics** tab, scroll down to select where to install the solution. If you're working with [the Microsoft Sentinel solution for SAP applications in multiple workspaces](cross-workspace.md), select **Some of the data is on a different workspace**, and then define your target workspace, your SOC workspace, and SAP workspace. For example:
7263

7364
For example:
7465

@@ -81,47 +72,6 @@ Installing the Microsoft Sentinel **SAP applications** solution makes the **Micr
8172
> [!TIP]
8273
> If you want the SAP and SOC data to be kept on the same workspace with no additional access controls, do not select **Some of the data is on a different workspace**. In such cases, for more information, see [SAP and SOC data maintained in the same workspace](cross-workspace.md#sap-and-soc-data-maintained-in-the-same-workspace).
8374
84-
:::zone-end
85-
86-
:::zone pivot="connection-agentless"
87-
88-
Installing the Microsoft Sentinel **SAP Agentless** solution makes the agentless **Microsoft Sentinel for SAP** available for you in as a Microsoft Sentinel data connector. The solution also deploys security content, such as the **SAP -Audit Controls** workbook and SAP-related analytics rules, a data collection endpoint, and a data collection rule (DCR).
89-
90-
1. In the Microsoft Sentinel **Content hub**, search for **SAP Agentless (Preview)** to install the solution with the agentless data connector on your Log Analytics workspace enabled for Microsoft Sentinel.
91-
92-
1. On the **Sentinel Solution for SAP (Agentless) (preview)** page, select **Create** to define deployment settings.
93-
94-
1. On the **Basics** tab, under **Project details**, select the **Subscription** and **Resource group** where you want to install the solution.
95-
96-
1. Under **Instance details**, select the Log Analytics workspace enabled for Microsoft Sentinel where you want to install the solution.
97-
98-
1. Select **Review + create** or **Next** to browse through the solution components. When you're ready, select **Create**
99-
100-
The deployment process can take a few minutes. After the deployment is finished, you can view the deployed content in Microsoft Sentinel.
101-
102-
1. In the Microsoft Sentinel **Configuration > Data connectors** page, locate and select the **SAP ABAP and S/4 via cloud connector (Preview)** data connector.
103-
104-
1. On the **SAP ABAP and S/4 via cloud connector (Preview)** page, in the **Configuration** area, select **Deploy push connector resources** to deploy a data collection rule (DCR) and Microsoft Entra ID app registration to your subscription.
105-
106-
When Microsoft Sentinel and Microsoft Entra ID permissions are separated across different people, deployment must be done in two steps. In such cases, the DCR and DCE are deployed successfully in your Microsoft Sentinel resource group, and errors are shown to indicate the missing rights required to create an app registration in Microsoft Entra ID. For more information, see:
107-
108-
- [Create Microsoft Entra application](/azure/azure-monitor/logs/tutorial-logs-ingestion-portal#create-microsoft-entra-application)
109-
- [Assign permissions to the DCR](/azure/azure-monitor/logs/tutorial-logs-ingestion-portal#assign-permissions-to-the-dcr)
110-
111-
1. <a name="deployment"></a>Once deployed, note the following values for later use:
112-
113-
- **Immutable ID**
114-
- **Logs Ingestion URL**
115-
- **Tenant ID**
116-
- **Entra Application ID**
117-
- **Entra Application Secret**
118-
119-
> [!IMPORTANT]
120-
> Make sure to complete all SAP deployment steps in [Configure your SAP system for the Microsoft Sentinel solution](preparing-sap.md) before selecting [**Add connection** to create the connector](deploy-data-connector-agent-container.md). The SAP iflow must be fully configured and deployed before you can connect your SAP system to Microsoft Sentinel.
121-
>
122-
123-
:::zone-end
124-
12575
For more information, see [Discover and manage Microsoft Sentinel out-of-the-box content](../sentinel-solutions-deploy.md).
12676

12777
## View deployed content

articles/sentinel/sap/preparing-sap.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The procedures in this article are typically performed by your **SAP BASIS** tea
2828
:::zone-end
2929

3030
:::zone pivot="connection-agentless"
31-
This article is part of the second step in deploying the Microsoft Sentinel solution for SAP applications. While steps that are performed in Microsoft Sentinel require that the solution be installed first, other preparations in the SAP environment can happen in parallel. <!--need new images across-->
31+
This article is part of the second step in deploying the Microsoft Sentinel solution for SAP applications. While steps that are performed in Microsoft Sentinel require that the solution be installed first, other preparations in the SAP environment can happen in parallel.
3232

3333
:::image type="content" source="media/deployment-steps/prepare-sap-environment-agentless.png" alt-text="Diagram of the deployment flow for the Microsoft Sentinel solution for SAP applications, with the preparing SAP step highlighted." border="false":::
3434

@@ -199,6 +199,10 @@ This procedure starts in Microsoft Sentinel and requires that the solution be in
199199

200200
If, after you deploy the Azure resources step 1, the values in the steps 2 and 3 aren't automatically populated, close and re-expand step 1 to refresh the values in steps 2 and 3.
201201

202+
1. Included in the package is **Prerequisite checker** iflow. We recommend running this iflow before continuing to the next step to ensure that your SAP system meets the system prerequisites.
203+
204+
[!INCLUDE [sap-agentless-prerequisites](../includes/sap-agentless-prerequisites.md)]
205+
202206
1. Scroll further down in the **Configuration** area, and expand and follow the instructions in the **Add monitored SAP Systems - Run the steps below for each monitored SAP system:** area for each SAP system you want to monitor.
203207

204208
## Configure SAP Cloud Connector settings

articles/sentinel/sap/sap-deploy-troubleshoot.md

Lines changed: 2 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -29,39 +29,9 @@ If you don't see a related error to your issue, turn on trace logging for more i
2929

3030
## Check for prerequisites
3131

32-
The agentless solution package, deployed while [perform the initial connector configuration](preparing-sap.md#perform-initial-connector-configuration), includes a tool to help SAP admins diagnose and fix issues related to the SAP environment configuration.
33-
34-
**To run the tool**:
35-
36-
1. Select the **Prerequisite checker** iflow > **Configure**, and then set the target RFC destination to the SAP system you want to check.
37-
1. Deploy the iflow as you would otherwise for your SAP systems. For example, use the following sample PowerShell script, modifying the sample, placeholder values for your environment:
38-
39-
```powershell
40-
$cpiEndpoint = "https://my-cpi-uri.it-cpi012-rt.cfapps.eu01-010.hana.ondemand.com" # CPI endpoint URL
41-
$credentialsUrl = "https://my-uaa-uri.authentication.eu01.hana.ondemand.com/oauth/token" # SAP authorization server URL
42-
$serviceKey = 'sb-12324cd-a1b2-5678-a1b2-1234cd5678ef!g9123|it-rt-my-cpi!h45678' # Process Integration Runtime Service client ID
43-
$serviceSecret = '< client secret >' # Your Process Integration Runtime service secret (make sure to use single quotes)
44-
45-
$credentials = [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes("$serviceKey`:$serviceSecret"))
46-
$headers = @{
47-
"Authorization" = "Basic $credentials"
48-
"Content-Type" = "application/json"
49-
}
50-
$authResponse = Invoke-WebRequest -Uri $credentialsUrl"?grant_type=client_credentials" `
51-
-Method Post `
52-
-Headers $headers
53-
$token = ($authResponse.Content | ConvertFrom-Json).access_token
54-
$path = "/http/checkSAP"
55-
$param = "?startTimeUTC=$((Get-Date).AddMinutes(-1).ToString("yyyy-MM-ddTHH:mm:ss"))&endTimeUTC=$((Get-Date).ToString("yyyy-MM-ddTHH:mm:ss"))"
56-
$headers = @{
57-
"Authorization" = "Bearer $token"
58-
"Content-Type" = "application/json"
59-
}
60-
$response = Invoke-WebRequest -Uri "$cpiEndpoint$path$param" -Method Get -Headers $headers
61-
Write-Host $response.RawContent
62-
```
32+
The agentless solution package, deployed while [performing the initial connector configuration](preparing-sap.md#perform-initial-connector-configuration), includes a tool to help SAP admins diagnose and fix issues related to the SAP environment configuration.
6333

64-
Make sure that the prerequisites checker runs successfully before connecting to Microsoft Sentinel.
34+
[!INCLUDE [sap-agentless-prerequisites](../includes/sap-agentless-prerequisites.md)]
6535

6636
## Missing functionality in legacy SAP systems
6737

articles/sentinel/whats-new.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn about the latest new features and announcement in Microsoft S
44
author: yelevin
55
ms.author: yelevin
66
ms.topic: concept-article
7-
ms.date: 03/03/2025
7+
ms.date: 03/13/2025
88

99
#Customer intent: As a security team member, I want to stay updated on the latest features and enhancements in Microsoft Sentinel so that I can effectively manage and optimize my organization's security posture.
1010

@@ -28,7 +28,7 @@ The Microsoft Sentinel SAP agentless solution is now in public preview and inclu
2828

2929
- More data ingested, such as Change Docs logs and User Master data.
3030
- Optional parameters to customize data collection
31-
- A new tool to verify system prerequisites and compatibility
31+
- A new troubleshooting tool to verify system prerequisites and compatibility
3232

3333
For more information, see:
3434

0 commit comments

Comments
 (0)