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 / Dataverse table as kno...
Copilot Studio
Suggested Answer

Dataverse table as knowledge source and URL column as citation Issue

(1) ShareShare
ReportReport
Posted on by 31

I am trying to create an agent that answers user queries based on data stored in a Dataverse table. The table contains a column named Link (URL datatype), where each record includes a unique reference link to its supporting file. When providing an answer, the agent should always display the corresponding URL from the Link column as a citation along with the final response. Each record used in the response must include its own citation, shown in the format:

 

Citation:<URL>

The agent should ensure:


  • All answers are derived only from the Dataverse table.

  • Each response includes one or more citations, depending on the number of records referenced.

  • URLs are provided as clickable links wherever possible

  • No intermediate details, raw data, or backend logic should be shown — only the final answer plus citations.

 

I have added Dataverse table as knowledge source and also instructed agent to showcase Link column value that is URL as clickable citation along with every answer but the agent give entire table as citation. Attached is the screenshot for the same. Any solution or lead would be highly appreciated.




     
 
 

 

 
 
 
Citation Issue.PNG
Categories:
I have the same question (1)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,963 Moderator on at
     
    So what s confusing for me is, your instructions do essentially say use that as the Citation (which I am not going to say is going to work how you have it), but you also say don't use the link ( as a data source ), 
     
     

    If these suggestions help resolve your issue, Please consider Marking the answer as such and also maybe a like.

    Thank you!
    Sincerely, Michael Gernaey
  • AL-11110717-0 Profile Picture
    31 on at
    Hi @Michael E. Gernaey, Thank you for your response. Yes, i want the agent to use Dataverse table as knowledge source to ground answers and just give a citation as Link column having URL which is available in that Dataverse table itself but do not refer to it as knowledge source (Exclude only that column for knowledge source but give it as citation). The same logic works fine for Excel spreadsheet.
  • Suggested answer
    DAnny3211 Profile Picture
    138 on at
    Hi,
    
    This issue seems to stem from how Copilot Studio currently handles citations when using Dataverse tables as a knowledge source. While you've correctly added the table and instructed the agent to use the `Link` column for citations, the agent may default to citing the entire table or dataset instead of individual records.
    
    To achieve per-record citations with clickable URLs, consider the following:
    
    1. **Use a Generative Answers Node with Custom Formatting**  
       In your agent's topic, configure a generative answers node and explicitly define how the citation should be formatted. You can use Power Fx or post-processing logic to append the `Link` column value to each referenced record.
    
    2. **Exclude the Link Column from Knowledge Source**  
       As you mentioned, the Link column should not be used for grounding but only for citation. This can be done by customizing the knowledge source description and synonyms so the agent doesn’t treat it as content but still accesses it for citation.
    
    3. **Use a Custom Response Template**  
       You can format the agent’s response to include:
       ```
       Citation: View Source
       ```
       This ensures the URL is clickable and styled appropriately.
    
    4. **Reference Documentation**  
       Microsoft provides guidance on customizing citations and formatting responses:
       - [Add a Dataverse knowledge source](https://learn.microsoft.com/en-us/microsoft-copilot-studio/knowledge-add-dataverse)[1](https://learn.microsoft.com/en-us/microsoft-copilot-studio/knowledge-add-dataverse)  
       - [Knowledge sources overview](https://learn.microsoft.com/en-us/microsoft-copilot-studio/knowledge-copilot-studio)[2](https://learn.microsoft.com/en-us/microsoft-copilot-studio/knowledge-copilot-studio)  
       - [Dataverse Indexer sample](https://github.com/microsoft/CopilotStudioSamples/blob/master/DataverseIndexer/README.MD)[3](https://github.com/microsoft/CopilotStudioSamples/blob/master/DataverseIndexer/README.MD)
    
    If the agent still cites the entire table, you may need to adjust the YAML configuration or use a cloud flow to enrich the response dynamically.
    
    Thanks and best regards,  
    Daniele  
    **Note: This response was prepared with support from Copilot to ensure clarity and completeness.**
  • Michael E. Gernaey Profile Picture
    53,963 Moderator on at
     
    Does the link help you get what you need. Right now I am actually trying to make it happen (lol natural languagally) and haven't made it work exactly as well as the link.
     
    I will let you know if I do promise, but right now I would see what you can do with the link and then come back and I promise to answer as best I can if its close but not quite what you need.
     
    lets get this done :-)

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 787

#2
Vish WR Profile Picture

Vish WR 300

#3
Haque Profile Picture

Haque 262

Last 30 days Overall leaderboard