Skip to content

initial update - #15394

Open
Martin Pankraz (MartinPankraz) wants to merge 1 commit into
Azure:masterfrom
MartinPankraz:add-sap-retry-script
Open

Martin Pankraz (MartinPankraz) wants to merge 1 commit into
Azure:masterfrom
MartinPankraz:add-sap-retry-script

Conversation

@MartinPankraz

@MartinPankraz Martin Pankraz (MartinPankraz) commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Change(s):

  • add tooling for selective sap data load besides the CCF for initial load or intermittent failure scenarios.

@github-actions github-actions Bot added the Solution Solution specialty review needed label Oct 22, 2026
@MartinPankraz

Copy link
Copy Markdown
Contributor Author

Script tested against RnD test system:
image

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Misaligned gap windows and stale launcher exit codes can lead to incomplete recovery or unnecessary retries.

2 open issues
What changed in this PR

Adds selective historical loading for the agentless SAP connector, supporting initial loads and recovery after collection failures through the existing SAP Integration Suite endpoint.

Changes:

  • Adds sequential backfill requests with configurable time slices, load controls, and CSV results.
  • Provides a launcher with saved settings and environment-variable overrides.
  • Documents gap detection, recovery, sizing, and duplicate-ingestion risks.
File Description
Solutions/​SAP/​Tools/​TimeSliceBackfill/​Trigger-Run.ps1 Launches backfills using saved settings and selected time ranges.
Solutions/​SAP/​Tools/​TimeSliceBackfill/​README.md Documents setup, usage, gap detection, and operational precautions.
Solutions/​SAP/​Tools/​TimeSliceBackfill/​Invoke-SapAgentlessBackfill.ps1 Implements authenticated, sequential backfill requests and result logging.
Solutions/​SAP/​Tools/​TimeSliceBackfill/​.gitignore Excludes launcher-generated run logs.
Solutions/​SAP/​Tools/​README.md Links the new tool from the SAP tools index and troubleshooting guidance.

Review effort: Balanced

}

& (Join-Path $PSScriptRoot 'Invoke-SapAgentlessBackfill.ps1') @backfillArgs
exit $LASTEXITCODE
Comment on lines +181 to +183
| where TimeGenerated > ago(lookback)
| summarize Events = count() by bin(TimeGenerated, bin_size)
| make-series Events = sum(Events) default = 0 on TimeGenerated from ago(lookback) to now() step bin_size
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

SAP Solution Solution specialty review needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants