Generative Answers for Healthcare Agent service does not work any more because CustomSearch is deprecated

Matthew 0 Reputation points
2025-07-08T07:22:51.99+00:00

Hi,

I am attempting to follow the instructions contained on the website: https://learn.microsoft.com/en-us/azure/health-bot/quickstart-generative-answers-on-your-public-data to set up 'Generative Answers on your Public Data' for the Healthcare Agent service (Health Bot). It requires use of Bing CustomSearch. However, when I go to the Bing CustomSearch.ai website (https://www.customsearch.ai/), it says that this product is deprecated and can no longer be configured. Therefore it is now impossible to follow the instructions to set up the 'Generative Answers on your Public Data' for the Health Bot.

It seems that Microsoft must update the Health Bot and the instructions for Generative Answers on your Public Data so that it no longer relies on Bing CustomSearch.

Has anyone managed to set up Generative Answers on your Public Data for a Health Bot without Bing CustomSearch?

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
{count} votes

1 answer

Sort by: Most helpful
  1. Amira Bedhiafi 35,766 Reputation points Volunteer Moderator
    2025-07-08T08:14:34.72+00:00

    Hello Matthew !

    Thank you for posting on Microsoft Learn.

    You’re running into a real gap between the Health-Bot docs and the current reality of Microsoft’s search stack:

    What the quick-start still saysWhat’s actually true today“Create a Bing Custom Search instance and paste the Configuration ID.”Bing Custom Search is deprecated – new instances can’t be created, and all Bing Search APIs (including Custom Search) will be retired 11 Aug 2025“Create a Bing Custom Search instance and paste the Configuration ID.”Bing Custom Search is deprecated – new instances can’t be created, and all Bing Search APIs (including Custom Search) will be retired 11 Aug 2025Microsoft already published a replacement quick-start that swaps Custom Search for Azure AI Search with vector search. The flow is:

    Crawl or collect the pages you care about

    • If it’s your own public site, the quickest path is simply: Azure portal → AI Search → “Add your data” → “From URL” (preview) or upload a zipped site dump / sitemap.
    • For multiple domains or more control, schedule a Logic App or Azure Data Factory pipeline to push HTML/markdown/PDF into Blob Storage, then index from there.
    • Enable vectorization in the index wizard (Azure OpenAI “text-embedding-3-small” works fine for most health content).
    • In the Health-Bot portal import the “Generative Answers on Your Sources” template, filling in: Search endpoint, admin key, and index name, your Azure OpenAI deployment details and a short “Instruction title” such as “Hospital Website FAQ”
    • Publish. The “Generative Answers on Customer Sources” node will now ground the LLM on whatever your Search index returns, no Custom Search needed.

    When this path makes sense ?

    Your “public data” really means your domains (brochures, policies, formularies...).

    You need fine-grained control over what is or isn’t surfaced for compliance.

    Another option is Microsoft successor to Custom Search is a managed tool called Grounding with Bing Search, available inside the new Azure AI Agent Service. Key points:

    • Resource type: Microsoft.AI/groundingBingSearch.

    Scope: open web (no per-site white-list).

    Security: calls leave the Azure compliance boundary; evaluate whether that’s acceptable for your scenario.

    How to bridge it into Health-Bot today ?

    The Health-Bot portal doesn’t yet expose “Grounding with Bing Search” as a first-class data connection, but you can:

    Create an Azure AI Agent with a Bing Grounding tool.

    Expose the agent through HTTPS (or via an Azure Function proxy).

    Call that endpoint from a Custom-Code node or a lightweight plugin inside your Health-Bot scenario.

    This is more plumbing than the old template, but it preserves real-time public-web answers without you hosting a crawler.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.