Skip to main content
Community site session details

Community site session details

Session Id : Rx7Bc98Y7robbxQzQnVxE0
Copilot Studio - General
Unanswered

Connecting Azure OpenAI Data Source

Like (0) ShareShare
ReportReport
Posted on 12 Sep 2023 12:33:24 by 5

I am trying to use my Azure OpenAI which contains some company documents as the data source for the bot using a Generative Answer node. However, I am not sure how to fill in the fields. For example, I tried copying and pasting the Deployment name from the deployments tab in Chat Playground, but it gave me an error. I am only getting variable suggestions like the ones in the screenshot below, but nothing related to using my data.

 

sleeplessswan_0-1694521663092.png

 

Categories:
  • MattJimison Profile Picture
    577 Most Valuable Professional on 16 Sep 2023 at 04:34:08
    Re: Connecting Azure OpenAI Data Source

    Hi, @sleepless-swan and @thelopyader  . If you want to use 2 different BYOD sources in one bot, as you mentioned, you'll need to configure at least one of the sources on your own, and you'll likely want to trigger them from your topics instead of the default one. 

    What I recommend doing, though, is deploying a Power Virtual Agent for at least one of your data sources through the Azure OpenAI UI (as @HenryJammes mentioned), because at that point, you can look at the properties of the Generative Answers node in that bot's Conversational boosting Topic to see how it needs to be configured. As you mentioned, you don't get a dropdown of options - you have to specify everything - but this will show you what a set of working values looks like, and will make it much easier to add a 2nd (or 3rd,etc.)

     

    Also, if you have trouble with the PVA deploy button in Azure OpenAI, you'll want to copy the entire url that is initially shown in the browser after you click it, and then replace the part of the url referencing your default environment and instead enter the GUID of the environment you want to use. Right now that UI won't let you pick the environment it deploys to but if you copy the url before it redirects to a new bot in the default environment, everything in it will be correct except for the environment part.

     

    An example is:

     

    Before:

    https://web.powerva.microsoft.com/environments/~default/create/templates/azureopenai?azureSearchResourceId={rest omitted}

     

    After:

    https://web.powerva.microsoft.com/environments/{Guid of your Environment}/create/templates/azureopenai?azureSearchResourceId={rest omitted} 

     


    Find this post helpful? Please mark it as the solution and/or provide kudos so that it will help others in the future.

    Cheers,
    Matt

  • yader.morales Profile Picture
    25 on 15 Sep 2023 at 22:50:13
    Re: Connecting Azure OpenAI Data Source

    @HenryJammes Do you know how to manage if I would like to have 2 different sources in different topics coming from Azure OpenAI? Following this thread caught my attention that right now if I want to add a new Generative answers action in another topic it is pretty hard to configure it to point to a different "model".


    Thanks in advance!

  • HenryJammes Profile Picture
    on 12 Sep 2023 at 21:32:33
    Re: Connecting Azure OpenAI Data Source

    Hi @sleepless-swan 

     

    For this, I recommend you start from the Azure OpenAI studio instead, after you configure "on your data".

    See: https://powerusers.microsoft.com/t5/General/Azure-OpenAI-on-your-data-deploying-to-a-different-environment/td-p/2316247

     

    Henry

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 468 Super User 2025 Season 2

#2
stampcoin Profile Picture

stampcoin 52 Super User 2025 Season 2

#3
trice602 Profile Picture

trice602 46 Super User 2025 Season 2