Microsoft Sentinel
Developer and API

Update Sap Data Connector

In brief

The Microsoft Sentinel for SAP applications article describing SAP data connector agent updates, including preview automatic-update procedures, prerequisites, and commands, was deleted.

What Defender admins need to know

Administrators relying on this page can no longer use its documented update guidance at the listed URL.

Summaries are generated from the documentation change itself.

Documentation change

The comparison below shows only the changed extract. Use the full-page view for complete context.

deleted file mode 100644

title: Update the Microsoft Sentinel for SAP applications data connector agent ms.author: monaberdugo author: mberdugo description: This article shows you how to update an already existing SAP data connector to its latest version. ms.topic: how-to ms.date: 06/12/2026 appliesto: - Microsoft Sentinel in the Microsoft Defender portal - Microsoft Sentinel in the Azure portal ms.collection: usx-security ai-usage: ai-assisted ms.custom: msecd-doc-authoring-1014

#Customer intent: As a security operations engineer, I want to update the Microsoft Sentinel for SAP applications data connector agent so that I can ensure my SAP data integration is using the latest features and security updates.

Update the Microsoft Sentinel for SAP applications data connector agent

This article shows you how to update an already existing Microsoft Sentinel for SAP data connector to its latest version so that you can use the latest features and improvements. Before you begin, make sure you meet the prerequisites, including an existing SAP data connector agent deployment.

During the data connector agent update process, there might be a brief downtime of approximately 10 seconds. To ensure data integrity, a database entry stores the timestamp of the last fetched log. After the update is complete, the data fetching process resumes from the last log fetched, preventing duplicates and ensuring a seamless data flow.

The automatic and manual update procedures described here apply to the SAP data connector agent only, not to the Microsoft Sentinel solution for SAP applications. To successfully update the solution, your agent needs to be up to date. The solution is updated separately, as you would any other Microsoft Sentinel solution.

These update procedures are relevant for your security, infrastructure, and SAP BASIS teams.

Prerequisites

Before you start:

Configure automatic updates for the SAP data connector agent (Preview)

Configure automatic updates for the connector agent, either to configure automatic updates for all existing containers or to configure automatic updates on a specific container only.

The automatic update commands below create a cron job that runs daily, checks for updates, and updates the agent to the latest GA version. Containers running a preview version of the agent that's newer than the latest GA version aren't updated. Log files for automatic updates are located on the collector machine, at /var/log/sapcon-sentinel-register-autoupdate.log.

After you configure automatic updates for an agent once, it's always configured for automatic updates.

Configure automatic updates for all existing containers

To turn on automatic updates for all existing containers with a connected SAP agent, run the following command on the collector machine:

wget -O sapcon-sentinel-auto-update.sh https://raw.githubusercontent.com/Azure/Azure-Sentinel/master/Solutions/SAP/sapcon-sentinel-auto-update.sh && bash ./sapcon-sentinel-auto-update.sh

If you're working with multiple containers, the cron job updates the agent on all containers that existed at the time when you ran the original command. If you add containers after you create the initial cron job, the new containers aren't updated automatically. To update these containers, see Configure automatic updates on a specific container.

Configure automatic updates on a specific container

To configure automatic updates for a specific container or containers, such as if you added containers after running the automatic update command for all existing containers, run the following command on the collector machine. Use the --containername argument to specify each container to update:

wget -O sapcon-sentinel-auto-update.sh https://raw.githubusercontent.com/Azure/Azure-Sentinel/master/Solutions/SAP/sapcon-sentinel-auto-update.sh && bash ./sapcon-sentinel-auto-update.sh --containername <containername> [--containername <containername>]...

Alternately, in the /opt/sapcon/[SID or Agent GUID]/settings.json file, define the auto_update parameter for each of the containers as true.

Turn off automatic updates

To turn off automatic updates for a container or containers, open the /opt/sapcon/[SID or Agent GUID]/settings.json file for editing and define the auto_update parameter for each of the containers as false.

Manually update SAP data connector agent

To manually update the connector agent, make sure that you have the most recent versions of the relevant deployment scripts from the Microsoft Sentinel GitHub repository.

For update script details and parameters, see Microsoft Sentinel solution for SAP applications data connector agent update file reference.

On the data connector agent machine, run:

wget -O sapcon-instance-update.sh https://raw.githubusercontent.com/Azure/Azure-Sentinel/master/Solutions/SAP/sapcon-instance-update.sh && bash ./sapcon-instance-update.sh

The SAP data connector Docker container on your machine is updated.

Be sure to check for any other available updates, such as SAP change requests.

Verify your current data connector agent version

To verify your current agent version, query the SAP_HeartBeat_CL table, which is the heartbeat log emitted by the SAP data connector agent and contains agent version information. Run the following query from the Microsoft Sentinel Logs page:

SAP_HeartBeat_CL
| where sap_client_category_s !contains "AH"
| summarize arg_max(TimeGenerated, agent_ver_s), make_set(system_id_s) by agent_id_g
| project
    TimeGenerated,
    SAP_Data_Connector_Agent_guid = agent_id_g,
    Connected_SAP_Systems_Ids = set_system_id_s,
    Current_Agent_Version = agent_ver_s

See more information on the following items used in the preceding example, in the Kusto documentation:

Related content