400 error - #15063
Draft
Bhagya Lakshmi Kukula (Bhagya767) wants to merge 1 commit into
Draft
Conversation
Contributor
There was a problem hiding this comment.
Note
Copilot was unable to run its full agentic suite in this review.
Pull request overview
Updates the Salesforce Service Cloud solution to address connectivity-check HTTP 400 errors by shortening the SOQL query, and bumps the solution version accordingly.
Changes:
- Bumped solution/package/template versions from 3.7.0 to 3.7.1.
- Updated the LoginHistory SOQL query to use
FIELDS(STANDARD)to reduce query string length. - Added a release note entry describing the fix.
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| Solutions/Salesforce Service Cloud/ReleaseNotes.md | Adds 3.7.1 release note describing the SOQL change for HTTP 400 mitigation. |
| Solutions/Salesforce Service Cloud/Package/mainTemplate.json | Version bumps + updates LoginHistory query used by the connector definition/template. |
| Solutions/Salesforce Service Cloud/Data/Solution_TSalesforceCloudtemplateSpec.json | Updates solution template spec version to 3.7.1. |
| Solutions/Salesforce Service Cloud/Data Connectors/SalesforceAuditLogsConnector_CCF/SalesforceAuditLogs_PollingConfig.json | Updates runtime polling SOQL query to the shortened FIELDS(STANDARD) form. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| }, | ||
| "queryParameters": { | ||
| "q": "SELECT ApiType,ApiVersion,Application,AuthMethodReference,AuthenticationServiceId,Browser,CipherSuite,ClientVersion,CountryIso,ForwardedForIp,LoginGeoId,LoginSubType,LoginTime,LoginType,LoginUrl,OptionsIsGet,OptionsIsPost,Platform,SourceIp,Status,TlsProtocol,UserId FROM LoginHistory WHERE LoginTime > {_QueryWindowStartTime} AND LoginTime < {_QueryWindowEndTime}" | ||
| "q": "SELECT FIELDS(STANDARD) FROM LoginHistory WHERE LoginTime > {_QueryWindowStartTime} AND LoginTime < {_QueryWindowEndTime}" |
| }, | ||
| "queryParameters": { | ||
| "q": "SELECT ApiType,ApiVersion,Application,AuthMethodReference,AuthenticationServiceId,Browser,CipherSuite,ClientVersion,CountryIso,ForwardedForIp,LoginGeoId,LoginSubType,LoginTime,LoginType,LoginUrl,OptionsIsGet,OptionsIsPost,Platform,SourceIp,Status,TlsProtocol,UserId FROM LoginHistory WHERE LoginTime > {_QueryWindowStartTime} AND LoginTime < {_QueryWindowEndTime}" | ||
| "q": "SELECT FIELDS(STANDARD) FROM LoginHistory WHERE LoginTime > {_QueryWindowStartTime} AND LoginTime < {_QueryWindowEndTime}" |
| @@ -1,5 +1,6 @@ | |||
| | **Version** | **Date Modified (DD-MM-YYYY)** | **Change History** | | |||
| |-------------|--------------------------------|--------------------------------------------------------------------| | |||
| | 3.7.1 | 03-09-2026 | Shortened the Salesforce Login History SOQL projection using FIELDS(STANDARD) to prevent connectivity-check HTTP 400 failures. | | |||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Required items, please complete
Change(s):
Reason for Change(s):
Version Updated:
Testing Completed:
Checked that the validations are passing and have addressed any issues that are present:
Guidance <- remove section before submitting
Before submitting this PR please ensure that you have read the following sections and filled out the changes, reason for change and testing complete sections:
Thank you for your contribution to the Microsoft Sentinel Github repo.
Change(s):
Reason for Change(s):
Version updated:
Testing Completed:
Note: If updating a detection, you must update the version field.
Checked that the validations are passing and have addressed any issues that are present:
Note: Let us know if you have tried fixing the validation error and need help.