Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is no examples of authenticating with EntraID on this page #32177

Open
khowling opened this issue Dec 12, 2024 · 0 comments
Open

There is no examples of authenticating with EntraID on this page #32177

khowling opened this issue Dec 12, 2024 · 0 comments
Assignees
Labels
Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Search

Comments

@khowling
Copy link

Type of issue

Missing information

Description

I'm trying to get AI Search to Auth with EntraID, as that is the best recommended way of authenitcating into all azure services. I feel all the api key based examples should be updated with entra id examples.

I've been trying for a while now to do this, but just keep getting 403, despite having the the required roles, so would be great to have a code example

const indexClient = new SearchIndexClient(
  process.env.AISEARCH_ENDPOINT,
  new DefaultAzureCredential()
);

Page URL

https://learn.microsoft.com/en-us/javascript/api/overview/azure/search-documents-readme?view=azure-node-latest

Content source URL

https://github.com/MicrosoftDocs/azure-docs-sdk-node/blob/main/docs-ref-services/latest/search-documents-readme.md

Document Version Independent Id

bbdda1cc-8bcc-f451-adc3-336cdc222621

Article author

@azure-sdk

Metadata

  • ID: bc0fe95b-a94f-c1e7-5d15-668e4f974b97
  • Service: search
@github-actions github-actions bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Dec 12, 2024
@jeremymeng jeremymeng added Search Client This issue points to a problem in the data-plane of the library. labels Dec 12, 2024
@github-actions github-actions bot removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Search
Projects
None yet
Development

No branches or pull requests

3 participants