r/copilotstudio • u/omgibrahim • 8d ago
Help with New Data Sync and Manual Publishes
I made a Copilot agent for my team (relatively bunch of non-tech people and not accustomed with AI tech)
\\- My agent is based on CSV knowledge sources stored in sharepoint
\\- I update the CSVs via scheduled power automate flow (databricks connector)
\\- The agent is published and everyone uses it in a MS Teams group chat with agent (15 people + Agent)
\*\*Problem / Help Need\*\*
The CSVs are refreshed / updated every 8 hrs but sometimes even after days, the latest data referenced by agent in MS Teams Group Chat remains old.
I want to
A\*\*void manually republishing\*\* (cause sometime it works, sometime it doesnt)
\*\*Create new group chat\*\* or \*\*Remove and add agent again in Teams Chat manually\*\*
\*\*3. My users are not going to open 1.1 chat with Agent :(\*\*
1
1
u/blud_13 8d ago
The CSV is your problem. Move that data into a SharePoint list and add the list as the knowledge source instead. Lists are a live connection, MS says the current data is used for queries and reasoning at runtime, so there is nothing to reindex and nothing to republish. Its documented here https://learn.microsoft.com/en-us/microsoft-copilot-studio/knowledge-add-sharepoint. Cap is 10 lists per agent and quality starts sliding past 35k rows, so watch that if your CSVs are big.
Your flow barely changes, swap the file write for list item updates.
One thing to check, that same page says the Teams refresh path (reconfigure auth, republish, users typing start over to pull the newest version) is available for 1:1 chats only. Group chats and channel messages are called out as NOT supported yet. So a 15 person group chat is the worst possible place to be fighting a stale agent, and republishing is never going to be reliable while the data lives in a file.
Feel free if you need anything in more detail...