Trouble connecting Copilot to Azure OpenAI Services

Thomas Lowrey 5 Reputation points
2024-09-24T18:11:44.9033333+00:00

I am experiencing significant challenges in getting my Copilot to connect to Azure OpenAI Services, specifically for accessing my data index. Here’s a detailed breakdown of the steps I’ve taken and the issues I’m encountering:

Setup in Azure OpenAI Studio:

  • I successfully connected to my index via Azure AI Search, and I am able to perform searches (Keyword, Hybrid, and Semantic) without any issues. In the Azure OpenAI Studio, everything functions as expected. I can query the data within my index using any deployed model and retrieve the correct results.

Issues in Copilot Studio:

  - The problems arise when I attempt to deploy the configuration to Copilot Studio. After creating the Copilot, I navigate to **Conversational Boosting** within **System Topics**. When I access **Create Generative Answers** to view the data source, my index is not listed.
  
     - I attempted to resolve this by going to **Classic Data -> Azure OpenAI Services on Your Data**, where I added the connection to my Azure OpenAI Services. However, the connection properties are always empty. Despite editing these properties and testing the Copilot, it fails to access my index regardless of the configuration or model used.
     
     **Additional Attempts**:
     
        - I’ve ensured that the Azure OpenAI Services are correctly listed in my Power Apps connections.
        
           - I’ve tried rebuilding the Copilot from scratch, adding connection properties afterward, but with no success.
           
              - Both Copilot Studio and my Azure services are under the same company account, which I have verified.
              

Despite these efforts, I have been unable to resolve the issue. Could someone please advise on what I might be doing wrong, or if others have encountered similar difficulties?

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
1,118 questions
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,455 questions
Microsoft Copilot
Microsoft Copilot
Microsoft terminology for a universal copilot interface.
432 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sina Salam 14,626 Reputation points
    2024-09-24T20:44:13.5166667+00:00

    Hello Thomas Lowrey,

    Welcome to the Microsoft Q&A and thank you for posting your questions here.

    I understand that you are having issue with connecting your Copilot to Azure OpenAI Services for accessing your data index.

    I will advise you to enable CORS for your Azure Blob Storage resource if you are using it to store your data, this is a similar situation here https://zcusa.951200.xyz/en-us/answers/questions/1513627/problems-integrating-azure-openai-in-copilot-studi but if the issues is not resolved, refer to these documentations https://zcusa.951200.xyz/en-us/azure/ai-services/openai/concepts/use-your-data and https://zcusa.951200.xyz/en-us/microsoft-copilot-studio/nlu-generative-answers-azure-openai

    I hope this is helpful! Do not hesitate to let me know if you have any other questions.

    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.


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.