Skip to content

[7.0.3 Cherry-pick] Address AccessToken and SSPI review feedback - #4644

Merged
cheenamalhotra merged 2 commits into
release/7.0from
dev/automation/pr-4629-to-7.0.3
Sep 4, 2026
Merged

[7.0.3 Cherry-pick] Address AccessToken and SSPI review feedback#4644
cheenamalhotra merged 2 commits into
release/7.0from
dev/automation/pr-4629-to-7.0.3

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown

Cherry-pick of #4629 (97d2a21) into release/7.0.

Conflict was in Strings.Designer.cs: release/7.0 still had the old ADP_InvalidMixedUsageOfAccessTokenAndSspiContextProvider and ADP_InvalidMixedUsageOfSspiContextProviderAndAccessToken entries. Both are replaced by the single ADP_InvalidMixedUsageOfAccessTokenProperties string, matching the source commit.

Resulting diff is identical to #4629.

To resolve, run:  git cherry-pick 97d2a21
@github-actions github-actions Bot added this to the 7.0.3 milestone Sep 3, 2026
@github-project-automation github-project-automation Bot moved this to To triage in SqlClient Board Sep 3, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@cheenamalhotra cheenamalhotra changed the title [7.0.3 Cherry-pick - CONFLICTS] Address AccessToken and SSPI review feedback [7.0.3 Cherry-pick] Address AccessToken and SSPI review feedback Sep 4, 2026
@benrr101
benrr101 marked this pull request as ready for review September 4, 2026 16:53
@benrr101
benrr101 requested a review from a team as a code owner September 4, 2026 16:53
Copilot AI balanced review requested due to automatic review settings September 4, 2026 16:53

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.

🟢 Approval recommended

The reviewed backport has no unresolved approval-blocking issues.

Pull request overview

Backports AccessToken and SSPI conflict-handling improvements to the release/7.0 branch.

Changes:

  • Unifies conflicting AccessToken/SSPI exception messages.
  • Tests all assignment orders.
  • Documents properties incompatible with AccessToken.
File summaries
File Description
src/Microsoft.Data.SqlClient/tests/UnitTests/SimulatedServerTests/ConnectionTests.cs Verifies consistent conflict messages.
src/Microsoft.Data.SqlClient/src/Resources/Strings.resx Defines the unified error message.
src/Microsoft.Data.SqlClient/src/Resources/Strings.Designer.cs Updates the generated resource accessor.
src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/SqlConnection.cs Uses the unified conflict exception.
src/Microsoft.Data.SqlClient/src/Microsoft/Data/Common/AdapterUtil.cs Consolidates exception construction.
doc/snippets/Microsoft.Data.SqlClient/SqlConnection.xml Expands AccessToken conflict documentation.
Review details

Files not reviewed (1)

  • src/Microsoft.Data.SqlClient/src/Resources/Strings.Designer.cs: Generated file
  • Files reviewed: 5/6 changed files
  • Comments generated: 0
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@paulmedynski paulmedynski moved this from To triage to In review in SqlClient Board Sep 4, 2026
@paulmedynski
paulmedynski enabled auto-merge (squash) September 4, 2026 17:26
@cheenamalhotra
cheenamalhotra merged commit f2d81fb into release/7.0 Sep 4, 2026
157 of 161 checks passed
@cheenamalhotra
cheenamalhotra deleted the dev/automation/pr-4629-to-7.0.3 branch September 4, 2026 19:27
@github-project-automation github-project-automation Bot moved this from In review to Done in SqlClient Board Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants