This issue is common when publishing Copilot Studio agents with external knowledge sources like ServiceNow to Teams.
Why does it happen?
- The error
ConnectorRequestFailureusually means the Teams channel cannot access the ServiceNow Knowledge connector due to authentication, permissions, or connector configuration differences between Copilot Studio test chat and Teams. - OAuth credentials may work in Copilot Studio’s test environment but fail in Teams due to different token scopes, user context, or missing consent for Teams users.
How to resolve:
- Check ServiceNow connector permissions: Ensure the ServiceNow connector is configured to allow access from Teams users, not just Copilot Studio test chat.
- Re-consent OAuth permissions: In Teams, users may need to grant consent for ServiceNow access. Try disconnecting and reconnecting the ServiceNow connector from Teams.
- Connector configuration: Verify that the ServiceNow connector is set up for the Teams channel in Copilot Studio, not just for web/test chat.
- Tenant and user context: Make sure the Teams user has the necessary ServiceNow permissions to access Knowledge articles.
- Check ServiceNow API logs: Look for failed requests or permission errors in ServiceNow’s logs for the affected user.