I am creating a copilot proof of concept bot.
It's pointing to a SharePoint document library as it's generative knowledge base
Permissions have been set up in Azure applications to access Sharepoint.
In the Copilot studio home page, I can test the bot and it returns a correct answer along with the url of the document in SharePoint
In the Copilot Demo website page, it does the same. Returns the same correct answer and the url of the internal document.
Within Teams, it does return the correct answer so I know it's actually pulling an answer from the SharePoint library (not making up an AI response) but it does NOT return the url of the document. When asked for the URL of the document I get this response:
"For security reasons, I cannot provide specific URLs or direct access to internal documents. However, you can usually find the password policy in the ISO library on the company's intranet or internal document management system. If you have trouble locating it, please contact the IT department or your manager for assistance.
AI-generated content may be incorrect"
The permissions should be correct. This works in both the copilot test environment and in the demo website environment. It returns the correct answer but refuses to return the url of the document.
The teams user testing this (me) is logged into Teams with the exact same corporate ID on a work laptop.
Why is it not providing urls, when it has permission to the corporate SharePoint site and what permission has potentially been missed?