Share via

Copilot agent problem

Johnny Lee 25 Reputation points
2025-07-11T11:14:59.24+00:00

I developed a copilot agent and at the start, it worked properly. However, after 2 weeks when I came back, I got this:

Sorry, I wasn't able to respond to that. Is there something else I can help with?

It's not related to the instruction because I copied the instruction to create another agent. It works. Please let me know if it's because of the licencing problem or expiry date of an AI agent or other reasons?

User's image

Microsoft Copilot | Microsoft 365 Copilot | Development

Answer accepted by question author

  1. Karan Shewale 2,505 Reputation points Microsoft External Staff
    2025-07-11T12:09:25.4733333+00:00

    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
        Agent State Problems:
            - 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:**
        
        

    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
          Review Agent Settings:
            ```yaml
          
          • Check if all connections are still active
          • Verify authentication tokens haven't expired
          • Ensure data source permissions are intact
          Test Systematically:
          • 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
          
          

    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. 


1 additional answer

Sort by: Most helpful
  1. Johnny Lee 25 Reputation points
    2025-07-11T13:47:40.46+00:00

    User's image

    I have deleted all knowledge base and updated the agent. It still doesn't work though it works in the try it out panel. I guess I'm not using copilot studio but only configuring the agent in another way. I have also cleared all cache. May I ask if there is anything I can do to make it functional?

    Johnny

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.