Skip to main content

Notifications

Community site session details

Community site session details

Session Id : p5rW63DpvJcaOl7JxlPavS
Copilot Studio - Building Copilot Studio Chatbo...
Answered

Citations for SharePoint links not working for Teams bot but works in Open AI Studio

Like (0) ShareShare
ReportReport
Posted on 13 Dec 2023 16:13:32 by 8

In Open AI Studio, I have added SharePoint library using Azure AI Search following this documentation: https://learn.microsoft.com/en-us/azure/search/search-howto-index-sharepoint-online

 

If I ask the both within the Chat Playground in Open AI studio, the citation is a direct link to the SharePoint URL. I can also see this same URL if I run a search within the Index, so I know it is pulling the correct URL.

 

When I deploy this bot to Copilot Studio as a bot, the citations no longer work. In the Copilot studio, if I click the citation reference, it pops open a box with the text only. When I publish and open the bot in Teams, I ask it the same question, get the same answer, but the link for the citation is not working. I tried using the Adaptive cards as @HenryJammes  had posted in a closed topic. The difference is that when I use a public site as a source, that citation works perfectly normal. It seems on only be the URL from the SharePoint data source in OpenAI source.

 

Reference topic of adaptive cards: https://powerusers.microsoft.com/t5/Building-Copilot-Studio-Chatbots/Citations-references-not-showing-in-the-chat-in-Teams-but/td-p/2445958/page/2

Categories:
  • bdiflumeri Profile Picture
    8 on 15 Dec 2023 at 11:53:30
    Re: Citations for SharePoint links not working for Teams bot but works in Open AI Studio

    That worked perfectly! I had originally tried that in the creation of the indexer, but it looks like it didn't populate. After looking at the indexer settings, I did another PUT as you mentioned and now this links work flawlessly. Thanks for the help! 

  • Verified answer
    HenryJammes Profile Picture
    on 13 Dec 2023 at 20:04:12
    Re: Citations for SharePoint links not working for Teams bot but works in Open AI Studio

    Hi @bdiflumeri, I could be wrong, but I think the Azure OpenAI on your data integration in Generative Answers expect the url field to be named "url". I remember, when creating my index / indexer, that I created a specific field for url -- even though it already existed with a different name.

     

    HenryJammes_0-1702497838437.png

     

     

     

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,700 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard

Featured topics