Problems Integrating Azure OpenAI in Copilot Studio

Jesus Orlando Aguilar Contreras 75 Reputation points
2024-01-27T02:45:12.07+00:00

Hello everyone,

I am trying to deploy the model and configuration I have in Azure OpenAI in Copilot Studio, but the moment I check the copilot, the connection to OpenAI is not done. When I enter the topics and then "Conversational boosting" and when I click on "datasource" in the task "create generative responses", the connection to OpenAI that should be there does not appear. If I hit "add connection", it tells me it can't show any and to go to Power Apps. Being in Power Apps, I don't see any connector for Azure OpenAI.

Do you know what to do? am I missing any permissions?

Thank you very much.

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
2,541 questions
Microsoft Copilot
Microsoft Copilot
Microsoft terminology for a universal copilot interface.
186 questions
{count} vote

3 answers

Sort by: Most helpful
  1. Konstantinos Passadis 17,456 Reputation points MVP
    2024-01-28T20:41:02.3933333+00:00

    -- Hello @Jesus Orlando Aguilar Contreras !

     if we see the tutorial steps that fits your case Create an Azure AI Studio project.   Deploy an Azure OpenAI model and chat with your data.

    Create a prompt flow from the playground. Customize prompt flow with multiple data sources. Evaluate the flow using a question and answer evaluation dataset.   Deploy the flow for consumption.

    So i wont bother any other way unless i have to bypass or have specific needs that the tutorial cannot solve . please have a good look :

    Prerequisites     An Azure subscription - Create one for free. Access granted to Azure OpenAI in the desired Azure subscription. Currently, access to this service is granted only by application. You can apply for access to Azure OpenAI by completing the form at https://aka.ms/oai/access. Open an issue on this repo to contact us if you have an issue.   You need an Azure AI resource and your user role must be Azure AI Developer, Contributor, or Owner on the Azure AI resource. For more information, see Azure AI resources and Azure AI roles. If your role is Contributor or Owner, you can create an Azure AI resource in this tutorial. If your role is Azure AI Developer, the Azure AI resource must already be created. Your subscription needs to be below your quota limit to deploy a new model in this tutorial. Otherwise you already need to have a deployed chat model.

    You need a local copy of product and customer data.

    The Azure/aistudio-copilot-sample repository on GitHub contains sample retail customer and product information that's relevant for this tutorial scenario. Clone the repository or copy the files from 1-customer-info and 3-product-info.

    I hope this helps!

    Kindly mark the answer as Accepted and Upvote in case it helped!

    Regards


  2. Konstantinos Passadis 17,456 Reputation points MVP
    2024-01-29T01:01:36.4833333+00:00

    -- Hello @Jesus Orlando Aguilar Contreras !

    For the issue it is definitely true that this is the cause .

    To change Organization it means you change Tenant , meaning the user has either to be a Guest user in the new Org that has the Subscription AND the Organization has CoPilot Studio enabled !

    The fastest thing if possible is to move the Subscription in the Tenant-Directory aka Organization you have the Studio This is supported and here is the process;

     https://video2.skills-academy.com/en-us/azure/role-based-access-control/transfer-subscription

    Another way is to add the Org to the Authentication schema of the Web App

    If i understand correctly that you have a WebApp , you can follow my Blog and see how to add an external Org to be able to Authenticate to an OpenAI APP on another Tenant-Org :

    https://www.cloudblogger.eu/2023/07/29/azure-open-ai-web-app-with-external-authentication/

    you will find out how to add another Tenant on your OpenAI WebApp resource to be able to authenticate Kindly post your feedback !

    I hope this helps!

    Kindly mark the answer as Accepted and Upvote in case it helped!

    Regards

    0 comments No comments

  3. William Hawkins 0 Reputation points
    2024-02-23T18:27:58.1933333+00:00

    So, can or can you not build a copilot in azure AI studio and then deploy/export it to Copilot Studio?

    0 comments No comments