Announcements
We have configured an MCP connection between Salesforce and Microsoft Copilot Studio to leverage Salesforce AI capabilities through MCP integration. The following configurations have been completed successfully:
Issue: Although the connection is successfully established and operates correctly, the connector does not remain stable after the session expires or times out. Once the session ends, the existing connector becomes unusable, and we are required to recreate the connector and re-establish the connection to continue using the Salesforce MCP capabilities. We would like assistance in understanding. 1. Why the connector is not persisting across sessions. 2. Whether there are any known limitations related to MCP authentication/token refresh. 3. If additional configuration is required to maintain a stable long-term connection. 4. Recommended best practices for preventing the connection from being revoked or requiring connector recreation after session timeout
Hi,
Based on the behavior you described, the fact that the MCP connection works initially but becomes unusable after the session expires suggests that the issue may be related to the authentication/token lifecycle between Salesforce and Copilot Studio, rather than the MCP configuration itself.
I would check the following:
I would avoid recreating the connector as a long-term workaround. If the connection is genuinely being invalidated after token expiry, recreating it only resets the authentication state and doesn't address the underlying issue.
If you can provide the exact error shown after the session expires, along with the authentication method being used (OAuth/client credentials/etc.) and whether the Salesforce Connected App is involved, it should be easier to determine whether this is an authentication configuration issue or a limitation/bug in the current MCP connector implementation.
Thank you all — @Mohsin Ali, @Manoj Annavajjala, @11manish, and the others — for the detailed responses. You've correctly identified this as a token-refresh / authentication-lifecycle issue rather than an MCP-configuration problem. Let me share the specifics you asked for.
Authentication method
mcp_api
api
refresh_token
openid
sfap_api
https://<domain>.sandbox.my.salesforce.com/services/oauth2/authorize
.../token
Salesforce side (confirmed healthy)
Exact behavior after expiry
HttpStatusCode: unauthorized
mcpMethod: initialize
errorResponse: [{"jsonrpc":"2.0"}]
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Mohsin Ali 356
Valantis 253 Super User 2026 Season 2
11manish 179 Super User 2026 Season 2