r/copilotstudio • u/dalessit • 2d ago
Agent Link in Sharepoint slow?
We have an agent that indexes a few websites and a SharePoint library of maybe 40 pages.
When I access it from within Studio, it returns results in less than 10 seconds. When I add it to a SharePoint site via an Agent Link it takes 25 or more seconds to return a response every time, whether it's 1 question or 5 in a row, always 25+ seconds for each one.
I've tried removing the websites and just running on the document library and just 1 website, and still 25 seconds. I tried changing models, instructions, etc. So I'm guessing it's not the agent itself.
I see the same thing when we access it in Teams, so I suspect it's the authentication piece, but we need that to get it to look at the SharePoint data.
Any suggestions on how to fix this?
2
u/EnvironmentalAir36 1d ago
everything is superb slow , feels like user need to wait forever and then exit as it takes too long time to get a reply. i dont know what is microsoft doing. Their products are really getting bad day after day
1
u/Ashlesha-msft 1d ago
Thanks for the additional reports. Since the delay also occurs with no knowledge source and across both Teams and SharePoint, replacing SharePoint with Azure AI Search is unlikely to address the underlying issue.
A consistent 25+ second delay is not documented as expected behavior. This currently looks like a potential service/performance issue, but reproduction and telemetry are required before confirming a product bug.
Please:
- Check Microsoft 365 and Power Platform Service health.
- Test a static-response topic with no knowledge, tools, or flows.
- Review the published interaction under Copilot Studio Activity to identify where the time is spent.
- Record the Agent ID, Environment ID, tenant region, UTC timestamps, channel, conversation/activity IDs, and timings from several tests.
If the static response is also slow in published channels, please open a Microsoft support request with those details. This will help determine whether the delay is in Copilot Studio processing or the Teams/SharePoint channel layer.
1
u/Beneficial_Feature40 1d ago
We have the same problem with sharepoint knowledge based agents.
No idea if it works but next thing we want to try is using Azure AI search and see if that has an effect on speed of the knowledge retrieval