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?
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.
Was this reply helpful?YesNo
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.