web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Unable to integrate Co...
Power Apps
Unanswered

Unable to integrate Copilot bot into powerapps(canvas app)

(1) ShareShare
ReportReport
Posted on by 12
Hi ,
 
I have created a bot using copilot studio and it is working as expected.
But could find any option to integrate bot with powerapps.
 
Then I create a bot through powerapps, but getting below error while testing.
 
Error Message: The expression on the 'PublicSiteSearchDataSource' node at 'cr4da_bot38100.topic.ConversationalBoosting/main/main/conditionGroup_TM3TIy/conditionGroup_TM3TIyElseActions/search-content' failed to return output of type 'RuntimeType'. Error Code: ContentValidationError Conversation Id: 4cb804ca-7ce1-44e0-b5d9-dbb9c44682ed Time (UTC): 2024-11-26T05:51:54.995Z
 
Appreciate any help here
 
Categories:
I have the same question (1)
  • KeithAtherton Profile Picture
    3,705 Most Valuable Professional on at
    Unable to integrate Copilot bot into powerapps(canvas app)
    Hey. To integrate a Copilot bot into a canvas app, go to the app's Settings > Copilot, see below.
     
    Please note that this feature is still in preview.
     
  • CU26110618-0 Profile Picture
    12 on at
    Unable to integrate Copilot bot into powerapps(canvas app)
    @KeithAtherton , Thanks a lot for your response.
     
    Already integrated a Copilot bot into a canvas app, go to the app's Settings > Copilot. Able to see the copilot on the browser and its working fine as expected.
     
    But my question was how to customize the copilot control with custom copilot bot created in copilot studio. I was getting the error when edit the copilot by clicking on the "Edit" from properties(please refer the below screen shot)
     
     
     
  • KeithAtherton Profile Picture
    3,705 Most Valuable Professional on at
    Unable to integrate Copilot bot into powerapps(canvas app)
    Hey. Thanks for the follow-up. Do you have details on the error you're experiencing?
  • CU26110618-0 Profile Picture
    12 on at
    Unable to integrate Copilot bot into powerapps(canvas app)
    @KeithAtherton , thanks for your response.
     
    I am not getting any error but the chat response is not correct. Is there any other configuration we needd to do except the data source?
  • Verified answer
    ShaneMeisnerTH Profile Picture
    195 on at
    Unable to integrate Copilot bot into powerapps(canvas app)
    We opened a ticket with Microsoft about issues using the Copilot Component.
     
    After a month of meetings and discussions we were told "It is in preview and is not to be used in production. It won't be fully operational until May 2025"

    There was a Insert - ChatBot option previously which worked great.
    Unfortunately, Microsoft has removed that from the Insert menu.
     
    We luckily had captured the code for the Chatbot Component and Microsoft has told us that is the only work around for now.
    Here is how to use it.

    Make sure your Power App and your Copilot Agent are in the same Power Platform Environment.
     
    Here is the code that you will use( make sure to copy it all):

    - Chatbot:
        Control: Chatbot
        Properties:
          EnvironmentId: ="ADD YOUR ENVIRONMENT ID"
          SchemaName: ="Add your Copilot's Schema name"
          Height: =602
          Width: =555
          X: =372
          Y: =65

    In your Power App, click on the screen, then the ellipses - Paste - Paste Code:

    Which will add the Chatbot to your App.
     
    Next, add your Power Platform Environment ID


    Then, on the righthand side, click the "Schema Name" Link:


    Select your Agent from the List:

    And now your agent is in your Power App and you can customize the look as you'd like:

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard