A cloud-native SIEM solution that provides intelligent security analytics and threat detection across systems
AWS CloudTrail is currently a supported UEBA data source in Preview in the Defender portal. Microsoft requires AWSCloudTrail events with EventName == "ConsoleLogin", EventSource == "signin.amazonaws.com" and a valid UserIdentityPrincipalId, which you have already validated.
The important diagnostic here is that GET succeeds but PUT of the existing unchanged UEBA configuration returns HTTP 500. That strongly suggests the failure is in the Microsoft.SecurityInsights UEBA settings update/backend path, rather than AWS ingestion or CloudTrail data.
One additional point: the public Sentinel Product Settings REST schema currently lists only the traditional UEBA data sources (AuditLogs, AzureActivity, SecurityEvent, SigninLogs), while AWS CloudTrail is exposed through the newer Defender portal UEBA experience. Therefore, I would avoid trying to force AWS CloudTrail through that REST API.
I would capture the request/correlation ID, UTC timestamp, workspace ID and region from the failed operation and open a Microsoft support case if the PUT continues returning 500. This appears to warrant backend investigation.
If this helps resolve your issue, please don’t forget to mark the answer as Accepted / Resolved.