Dear PK,
Thank you for reaching out to the Microsoft Q&A.
The core of the issue lies in the distinction between what the "Knowledge" section is designed for and what your specific task requires.
The Knowledge section of a Copilot Agent is primarily built for Retrieval-Augmented Generation (RAG). This is a fancy way of saying it's designed to find and read textual information to answer questions. When you provide it a link (like your SharePoint file), it essentially does the following:
- Crawls the Document: It accesses the file and extracts the text and basic data content from it.
- Ignores the Structure: It does not understand the file as an Excel template with specific cell formatting, columns, rows, and layouts. It just sees the text inside.
- Answers Questions: When asked a question, it retrieves relevant snippets of that text to formulate an answer.
This is why your SharePoint link workaround failed. The agent "ignored the Excel template" because, for its purpose, the template's structure is meaningless. It only saw the content.
You are correct that direct file upload for this purpose is currently limited or non-existent in the basic agent creation interface, especially within a corporate environment. The conflicting information you see online is likely due to the rapid evolution of the feature and differences between personal, enterprise, and developer versions of Copilot.
To achieve your goal, you need to shift your thinking from giving the agent knowledge to giving it a tool or an action it can execute. The correct tool for this job in the Microsoft 365 ecosystem is Power Automate.
You can read more about Power Automate via Power Automate FAQ - Power Automate | Microsoft Learn.
I wish this could help. If you have any further issues, we are happy to assist.
To assist others who might have similar questions and to help us improve our support system, we kindly encourage you to "Accept the answer" if it successfully addressed your concern. Accepting an answer lets other users know that this solution worked for you, and it also helps us track the effectiveness of our support efforts.
Best regards,
Bryan Vu | Microsoft Q&A Support Specialist