Building and customizing solutions using Microsoft 365 Copilot APIs and tools
Hi Johnny,
I can see from your screenshot that your "NeoThink Coach" agent is giving the generic error response. This is a frustrating but common issue with Copilot agents. The fact that copying the instructions to a new agent works suggests this isn't a licensing or instruction problem, but rather an issue with the original agent's configuration or state.
Most Likely Causes:
Knowledge Base Issues:
- Files in your knowledge base may have been moved, deleted, or had permissions changed
- SharePoint/OneDrive sources might have lost access permissions
- Knowledge indexing may have failed or become corrupted
- The agent may be in a corrupted state after extended inactivity - Background processes might have failed during the 2-week period - Cache or session data could be stale Configuration Drift: - Connected data sources may have changed authentication - API connections might have expired or been modified - Security policies could have been updated ```**Troubleshooting Steps:**
- SharePoint/OneDrive sources might have lost access permissions
Check Knowledge Sources:
- Go to your agent's Knowledge section in Copilot Studio
- Verify all files/sources are still accessible
- Look for any error indicators or warning messages
- Try refreshing/re-indexing the knowledge base
```yaml- Check if all connections are still active
- Verify authentication tokens haven't expired
- Ensure data source permissions are intact
- Try a simple question that doesn't require knowledge base access
- Test with basic queries to isolate the issue
- Check if the problem occurs in all channels or just specific ones
- Look for any error indicators or warning messages
- Verify all files/sources are still accessible
Republish the Agent:
- Refresh Knowledge Base:
- Remove and re-add knowledge sources
- Force a re-indexing of your content
**Clear Agent Cache:**
- Try starting a new conversation session
- Test from a different browser/incognito mode
**Prevention for Future:**
- Regularly test agents even during inactive periods
- Document all connected services and their authentication methods
Since creating a new agent with the same instructions works, this confirms the issue is with the specific agent instance rather than your configuration or licensing.
Have you checked if the knowledge base files are still accessible, and have there been any recent changes to your organization's security policies or file permissions?
Hope this helps!
Thanks,
Karan Shewale.
*************************************************************************
If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.