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 / Issues Accessing Copil...
Copilot Studio
Suggested Answer

Issues Accessing Copilot Studio Agent via API and SharePoint Integration

(3) ShareShare
ReportReport
Posted on by 6
I’ve created an agent using Microsoft Copilot Studio and am currently facing multiple issues:

1. Accessing the Agent via Direct Line API

I’m trying to access the agent using Direct Line Bot Framework APIs, but it’s not working as expected. The API connection is either failing or not responding correctly.

2. Error When Accessing via API (with SharePoint connected)

When the SharePoint knowledge base is connected and I try accessing the bot via API, I receive the following error:

Sorry, something unexpected happened. We’re looking into it.  
Error code: IntegratedAuthenticationNotSupportedInChannel  
Conversation ID: 4OhY5TWQbtccdfsxsTV88ir0x-in  
Time (UTC): 6/10/2025 1:31:38 PM


3. SharePoint Knowledge Integration and Teams Deployment

I’ve connected the agent to a SharePoint site for knowledge and deployed it on Microsoft Teams.

When other users try to interact with the bot in Teams, they are prompted to connect their SharePoint access. It appears that the bot functionality is tied to the user’s SharePoint permissions. Is this expected behavior?
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,960 Moderator on at
     
    Yes, the connection should be tied to them, so that the bots permissions are tied to them in SharePoint, as I am assuming you don't have a bot that you just gave admin access to do whatever on behalf of whomever. If you did that everything would saved as if the Bot did it, (Bot authorization) not the person who is actually doing something.
     
    What did you select for permissions when you built the bot and on the Connection itself? How are you accessing SharePoint, via Action/Connector I am assuming.
     
    Check what security auth you selected for the connection.

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!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 600

#2
chiaraalina Profile Picture

chiaraalina 126 Super User 2026 Season 1

#3
deepakmehta13a Profile Picture

deepakmehta13a 116

Last 30 days Overall leaderboard