Azure AI Search plugin in Microsoft Copilot for Security (Preview)

Important

Some information in this article relates to a prereleased product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Azure AI Search is a service that allows you to search, retrieve information, and extract insights from your content at scale and securely. It is commonly used for document search, data exploration, and chat-style Copilot apps over proprietary data.

There are two primary workloads in Azure AI Search: indexing and querying. Indexing loads your content into the search service and makes it searchable, while querying allows you to search the content from your index.

The Microsoft Copilot for Security integration for Azure AI Search allows you to connect to one of your Azure AI Search indexes from within Copilot, allowing you to reference your content in Copilot to generate contextualized, relevant, and specific responses.

Watch the following video to learn more about the Azure AI Search plugin:

Requirements

To use the Azure AI Search plugin in Copilot, make sure that the Azure AI Search index that you would like to connect to Copilot is configured as follows:

  • The text field must be searchable.
  • The title field must be filterable.
  • The vector field must use text-embedding-ada-002.

One way you can get started with setting up an index in the required way is to use integrated vectorization. To get started with the integrated vectorization wizard, see Quickstart: Integrated vectorization (preview).

These steps are required to get your index ready for integration into Copilot.

Connect Azure AI Search to Copilot

To create the connection:

  1. Open Copilot, making sure you're authenticated.

  2. Select the Copilot sources icon Screenshot of sources icon. in the prompt bar.

  3. Go to Microsoft > Azure AI search and select Set up.

    Screenshot of manage plugins dialog box.

  4. In Azure AI Search settings, enter the following information in the corresponding fields:

    • Azure AI Search instance – the name of your search instance
    • Index – the name of the index within your instance to search
    • Vector – the name of the field label in the index containing the vector of embeddings
    • Text – the name of the field label in the index containing the text to search
    • Title – the title of each document to display as a source
    • Value – the API key for authentication

    Screenshot of Azure AI Search settings.

    You can find the required information for the plugin setup in your Azure AI Search page in the Azure portal.

  5. Select Save to complete the setup.

  6. Close the Azure AI Search settings window.

Note

Currently, Copilot does not validate your credentials when you save your settings. If they are not correct, you will see an error later when Copilot attempts to run the Azure AI Search plugin.

This plugin isn't exclusive to knowledge base scenarios, but it's well-suited for this. The indexing and vectorizing capabilities provided by Azure AI Search are what enable apps like Copilot to search through and retrieve information across large volumes of data and content.

For more information about prompting a knowledge base in Copilot, read Prompting a knowledge base connected using Azure AI Search.

Known limitations

  • Only one index at a time can be connected using the plugin. To query a different index, you need to update the plugin settings.
  • The plugin supports hybrid search (keyword and vector search), so it can only support queries on indexes that were configured according to the required settings in Requirements.
  • To invoke the plugin, you need to explicitly mention "Azure AI Search" in the prompt.
  • Copilot displays the titles of the referenced documents from the index, but they aren't hyperlinked.

See also