
Announcements
I have built a bot in Microsoft Copilot Studio that uses an Azure SQL Database table (connected via on prem gateway) as its knowledge source. The bot is fully functional in test mode when used within the Copilot Studio interface using the default Teams authentication (Authenticate with Microsoft). However, when I publish the bot externally on a website and set up manual authentication via Azure AD, the bot fails to retrieve responses from the SQL knowledge source and instead replies with:
"I am sorry, can you try rephrasing?"
This happens despite the fact that:
✅ The bot correctly authenticates using Azure AD on the external website.
✅ The same query works in test mode inside Copilot Studio (with Microsoft authentication).
✅ No authentication errors appear in the logs.
✅ The manual authentication settings include the necessary API permissions, including:
ExternalItem.Read.AllprofileopenidExternalItem.Read.All alongside profile and openid.