Inquiry on Using "Grounding with Bing Search" Without Azure CLI in Node.js Environment

JAESUNG PARK 0 평판 포인트
2025-07-11T07:47:06.51+00:00

Dear Microsoft Azure Support Team,

We are currently operating a Node.js-based backend system that uses the following approach to integrate Bing Search with Azure OpenAI:

  • We use axios to call the Bing Search API and retrieve results,

Process and customize the results internally,

Then pass the refined content to Azure OpenAI for generating responses.

We are now looking to adopt the “Grounding with Bing Search” capability recently introduced. However, the official documentation primarily focuses on Python SDKs and assumes configuration via Azure CLI, which is difficult to adopt directly in our current stack.

We are seeking guidance on whether it is possible to integrate this new feature with minimal changes in our current environment, under the following conditions:


Our requirements and constraints:

We need to maintain a Node.js backend (Python or CLI-based workflows are not feasible for us).

We prefer not to use DefaultAzureCredential or Azure CLI, and instead call the service directly using HTTP (e.g., axios, curl).

Our main requirement is that AI responses include annotated source references from Bing grounding.

We want to avoid using Azure AD credentials (client ID, client secret, tenant ID), and would prefer to authenticate using only the agent API key if possible.

As a fallback, we are exploring the REST API approach, but it’s unclear:

What exactly is required as the “agent token” for authentication?

  How can we obtain or construct it in a purely HTTP-based flow?
  

What we would like to know:

Is there any official or alternative method to implement “Grounding with Bing Search” entirely within a Node.js environment?

Can this be done using only the agent’s API key, without relying on Azure CLI or AD-based credentials?

If we use a REST API approach, could you clarify:

What the agent access token refers to,

  How to obtain it,
  
     And whether any examples exist for calling the service using `curl` or `axios`?
     

We have already provisioned the necessary Bing Search and Azure OpenAI resources via the Azure Portal, and we have an Agent configured.

We would appreciate any sample code, documentation, or guidance that helps us move forward while keeping our environment lightweight and minimal.

Thank you in advance for your assistance.


Azure
Azure

Microsoft에서 관리하는 전 세계 데이터 센터 네트워크를 통해 애플리케이션과 서비스를 빌드, 배포, 관리하기 위한 클라우드 컴퓨팅 플랫폼 및 인프라입니다.


답변 1개

정렬 기준: 가장 유용함
  1. 삭제됨

    이 답변은 당사의 사용 규정 위반으로 인해 삭제되었습니다. 작업을 수행하기 전에 자동화된 감지를 통해 답변이 수동으로 보고되거나 식별되었습니다. 자세한 내용은 사용 규정 을 참조하세요.


    댓글을 사용하지 않습니다. 자세한 정보

답변

질문 작성자는 답변을 '승인됨'으로 표시하고, 중재자는 답변을 '추천됨'으로 표시할 수 있습니다. 이를 통해 사용자는 해당 답변이 작성자의 문제를 해결했다는 것을 알 수 있습니다.