Forum Discussion
AuthentificationNotConfigured (Copilot agent)
Update: I had a call with Microsoft support and have a solution.
The issue is caused by having the agent set to No Authentication and having a Knowledge Sources that includes a SharePoint. An anonymous user can't connect to an authenticated SharePoint and therefore it returns the error.
To resolve, remove all SharePoint sites and instead:
- Upload the files directly to the agent
- Using Power Automate to synchronise the files between the Agent's storage (Dataverse) and SharePoint - video here: https://www.youtube.com/watch?v=4ni6YYPL5uo
- Using SharePointSSOComponent https://github.com/microsoft/CopilotStudioSamples/tree/main/SSOSamples/SharePointSSOComponent
Edit: Updated to remove option of using an Action to connect to SharePoint (unconfirmed if working), and added Power Automate and SharePointSSOComponent.
I want to use SharePoint, hence I tried using an Action yet after publishing the agent still the authentication error occurs.
- Chris4Jun 03, 2025Copper Contributor
Okay, thanks for the update. The other options I'm aware of which do work as confirmed by Microsoft Support are:
- Using Power Automate to synchronise the files between the Agent's storage (Dataverse) and SharePoint - video here: https://www.youtube.com/watch?v=4ni6YYPL5uo
- Using SharePointSSOComponent https://github.com/microsoft/CopilotStudioSamples/tree/main/SSOSamples/SharePointSSOComponent
I've updated my answer above to reflect this.