Using Integration Service Connectors as 'Tools' for Agents fails on OAuth token refresh

in our Agentic Framework setup, we are defining ‘Tools’ so our AI agents can interact with external applications. I have attached a Jira Integration Service connector as a Tool so the agent can autonomously create IT support tickets.
⁠When the agent triggers the process, it throws an OAuth token refresh error. However, this exact same connector works perfectly when run via standard Studio Web activities. Does the Agentic Orchestration layer handle Integration Service authentication differently when executing a tool?

Hi, since the same Jira connector works fine through Studio Web activities, it sounds like the issue may be related to how the Agent tool handles the OAuth connection/token refresh. I would check the Integration Service connection and permissions first, and try reconnecting the Jira account. Also check whether the connection is using the same account and authentication method in both cases.

Hello @anon2539286,

Yes, the Agentic Tool may be running with a different authentication/connection context than Studio Web.
Since the connector works in Studio Web, I’d first check the Jira OAuth connection and refresh-token configuration.
Reauthorizing the connection and testing the Tool again should help confirm the issue.