web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Citations not showing ...
Copilot Studio
Suggested Answer

Citations not showing in teams application when using generative orchestration.

(3) ShareShare
ReportReport
Posted on by 42
This is only in the teams application
I have turned on generative ochestration and at first the knowledge sources used in the answer where linked great (picture 1).
After a few days the sources are not linked properly and the users can't give feedback if used sources are correct(Picture 2).

Is there any way to get the sources correctly in the message while keeping gen orchestration turned on? 

EDIT:
This Issue only happens when I trigger a topic to wait for the generated response and sends a adaptive card after it.

TOPICScreenshot:
Categories:
I have the same question (0)
  • Suggested answer
    Romain The Low-Code Bearded Bear Profile Picture
    2,272 Super User 2025 Season 2 on at
    hello : and yes ! :)

    First : but you already try probably : add to the prompt the instruction to do it. It work most of the time but you will notice that the citation link are not really cool looking
     
    second : enable the official source tag , it will add a prompt in the general prompt wich could inspire you on how to write
     
    Third : the hard but beautiful way : Microsoft Power Cat team is providing an answer with little code for this situation :) link below
     
  • EW-20120954-0 Profile Picture
    42 on at
    Thanks for your response!

    Does this work with with uploaded files only or also with sharepoint knowledge sources?
  • Suggested answer
    Romain The Low-Code Bearded Bear Profile Picture
    2,272 Super User 2025 Season 2 on at
    o the new screenshot, change some things :D when you set continue response to false : it stop everything. So you must do you'r logic before.
     
    Then i will not recommand to use this special action without a deep understanding of copilot stuiod, it's quiet new and complicated to make it work,properly.
     
    you could try easy way, with this action :
     
    Take the code frome the sample i give you in precedend post, and remove everything complicated, jsute keep the concatenation of the text and citation. It will insert citation.
     
    The rest ask good code understanding :( it too much complicated, don't use this action and use the general prompt to force the presentaiton of the citation, it use to work very well :)

    when you think the answer is ok, feel free to check answered it's important :)
  • Jelle de Haas Profile Picture
    42 on at

    Same issue, ContinueResponse = false and then sending System.Response.FormattedText

    I’ve implemented a quick workaround until we find a better solution:

    If(
    IsEmpty(System.Response.Citations),
    System.Response.FormattedText,
    System.Response.FormattedText
    & Char(10) & Char(10)
    & “**Sources:**” & Char(10)
    & Concat(
    System.Response.Citations As c,
    “1. [” & c.Name & “](” & c.Url & “)” & Char(10)
    )
    )

  • EW-20120954-0 Profile Picture
    42 on at
    Thanks for you Help @Romain The Low-Code Bearded Bear,

    We will probably use this workaround and keep my eye open for any other solutions.
    It is important that we use generative orchestration, have citations in teams and have a adaptive card to give feedback.

     
  • Suggested answer
    Romain The Low-Code Bearded Bear Profile Picture
    2,272 Super User 2025 Season 2 on at
    @Jelle de Haas the ContinueResponse = false must be the only and last thing you do, just try one hour ago : it work if the last thing you do. The send message just before work very well.
  • Jelle de Haas Profile Picture
    42 on at
     
    I attempted your method, but it didn’t produce the desired result.
     
     
     
    Is this what you tried as well? Note: in Copilot Studio this is not an issue:

  • Suggested answer
    Jelle de Haas Profile Picture
    42 on at

    Solution found: use the OnPlanComplete topic trigger to collect feedback after the AI response

    Topic: Capture AI Response
    Trigger: OnGeneratedResponse

    Nodes:
    – Set variable value Global.isAIGeneratedResponse = true
    – Set variable value Global.FormattedText = System.Response.FormattedText
    – Set variable value Global.Citations = System.Response.Citations (optional, I’m tracking which sources receive positive and negative feedback)
    Don’t cancel the response (so don’t set System.ContinueResponse to false)

    Topic: “Plan complete – ask for feedback”
    Trigger: OnPlanComplete
    Add condition to the trigger: Global.isAIGeneratedResponse = true

    Nodes:
    – Send message (or Ask with adaptive card): send an Adaptive Card to request feedback. Pass Global.FormattedText (and optionally Global.Citations) into the card data.
    – Set variable value Global.isAIGeneratedResponse = false

  • GB-07051355-0 Profile Picture
    on at
     
    Thanks for your response, it was helpful. I'm trying to just swap the citations out on my response without sending another survey message. However, I can't figure out how to:
    1. Adjust the initial response (e.g. swap out the citations)
    2. Keep the nice "AI generated" pill and "1" citation pill in the response
     
    I've tried following/tweaking CopilotStudioSamples/OnGeneratedResponse at main · microsoft/CopilotStudioSamples and Copilot/Agents/Copilot Studio/Custom Citations at master · alexusa75/Copilot, but can't figure it out. Any ideas you have would be appreciated! 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 255 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 248 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 94 Moderator

Last 30 days Overall leaderboard