Skip to content

Show DefaultAzureCredential in the authentication example - #56925

Draft
BillWagner wants to merge 2 commits into
mainfrom
copilot/fix-incorrect-example-code
Draft

BillWagner wants to merge 2 commits into
mainfrom
copilot/fix-incorrect-example-code

Conversation

@BillWagner

@BillWagner BillWagner commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

The “Authenticate using Microsoft Entra ID” section repeated the client-registration example instead of showing how to configure DefaultAzureCredential.

  • Authentication example: Show the credential configuration directly:
    clientBuilder.UseCredential(new DefaultAzureCredential());
  • Registration example: Adjust its snippet range and highlights to match the updated sample.

Copilot AI balanced review requested due to automatic review settings November 16, 2026 18:56

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.

Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.

Copilot AI linked an issue Nov 16, 2026 that may be closed by this pull request
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
@BillWagner BillWagner changed the title [WIP] Fix incorrect example code for DefaultAzureCredential Show DefaultAzureCredential in the authentication example Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect example code

3 participants