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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Integration of CoPilot...
Copilot Studio
Suggested Answer

Integration of CoPilot Agent (built in CoPilot Studio) in PowerApps

(1) ShareShare
ReportReport
Posted on by 4
We created a CoPilot Agent with SharePoint Online site as data source in CoPilot Studio and published the agent successfully. 
This Agent is integrated in PowerApps - we are able to set up the connection but in Power Apps, we are seeing "connect to the data source"  and unable to use the agent in powerapps. 
 
CoPilot- Powerapps Issue.png
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,969 Moderator on at
     
    I would expect you to be prompted for permission to use the connection and or to have it create another, what I do not understand is what you mean it doesn't work.
     
    What exactly happens.
     
  • Suggested answer
    DAnny3211 Profile Picture
    138 on at
    Hi,
    
    When integrating a Copilot Agent built in Copilot Studio with Power Apps and using SharePoint Online as a data source, the error message *"connect to the data source"* typically points to an issue with **permissions or authentication** between the services.
    
    Here are a few steps to help troubleshoot the issue:
    
    1. **Verify SharePoint connection in Copilot Studio**: Ensure that the SharePoint data source is correctly added and authenticated within the Copilot Studio environment. You can do this by navigating to **Data > Connections** and confirming that the SharePoint connection is active and authorized.
    
    2. **Check environment consistency**: Make sure that both your Power Apps app and the Copilot Agent are operating within the **same environment**. Mismatched environments can prevent proper data source access.
    
    3. **User permissions**: Confirm that the user account running the Power App has the necessary permissions to access the SharePoint site and list being queried by the agent.
    
    4. **Agent deployment in Power Apps**: When embedding the Copilot Agent in Power Apps, ensure that the app has the correct **data permissions** and that the agent is published and accessible from the environment where the app is running.
    
    5. **Connector authentication**: If you're using a custom connector or a connector that requires OAuth2, double-check that the authentication flow is correctly configured and that consent has been granted.
    
    You may also find it helpful to review the following documentation:
    - Use Copilot in Power Apps
    - Connect to SharePoint from Power Apps
    - Copilot Studio data source configuration
    
    Thanks and best regards,  
    Daniele  
    **Note: This response was prepared with support from Copilot to ensure clarity and completeness.**
  • AI-03101940-0 Profile Picture
    4 on at
    Checked all the points mentioned and still unable to resolve. I am able to access and create agents in CoPilot through SSO. The same SSO is used to login to my PowerApps, Both Powerapps and copilot agent are in the same environment. I have followed all the checks. As noted in the screenshot I see that I get the error that powerapps is unable to have copilotstudio connector as before .. Can you suggest the required next steps? One thing to mention, when I was using trial license, I was able to do the PoC, able to integrate the copilot agent built in copilot studio in the current power apps 
    CoPilot-PowerApps Issue2.png
  • nbella1234 Profile Picture
    13 on at
    Hi 
     
    Can you try adding your Knowledge Base name as the Items Property. For example if your SharePoint Online knowledge source name inside Copilot Studio is "Copilot SharePoint Knowledge" then this should be added as the Items property in single quotes('Copilot SharePoint Knowledge').

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 599

#2
chiaraalina Profile Picture

chiaraalina 170 Super User 2026 Season 1

#3
deepakmehta13a Profile Picture

deepakmehta13a 118

Last 30 days Overall leaderboard