web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Salesforce Findings fo...
Copilot Studio
Unanswered

Salesforce Findings for Microsoft Support Escalation

(0) ShareShare
ReportReport
Posted on by
Copilot Studio’s MCP (Model Context Protocol) connector to Salesforce is dropping the active session once the OAuth/JWT token expires and is not automatically re-authenticating using the refresh token.

As a result, every token expiration causes the MCP connection to become permanently disconnected until the user manually re-authenticates the integration.
Environment

Integration: Salesforce External Client App (ECA) ↔ Microsoft Copilot Studio via MCP

Salesforce Org Type: Production (non-Hyperforce)
What has been validated successfully on the Salesforce side
ECA OAuth scopes configured correctly:
api, refresh_token, openid, sfap_api, mcp_api

“Issue JWT-based access tokens for named users” setting: Enabled
PKCE: Disabled
(Disabling PKCE resolved the original handshake/authentication failure)
Refresh Token Policy: “Refresh token is valid until revoked”

OAuth Connected App status: Active
Connected user present and tokens valid/not revoked
Session timeout configured to 24 hours
No IP restrictions configured

MCP V2 endpoint was also created and tested; behavior remained the same
Observed behavior / failure

Once the JWT/OAuth token expires, Copilot Studio terminates the MCP session entirely instead of silently using the refresh token to re-authenticate
The session does not recover automatically and requires manual user re-authentication each time
This behavior was reproduced and validated live during our troubleshooting session
We revoked and recreated credentials successfully, and the MCP connection was re-established; however, the session dropped again once the token lifecycle completed

Other MCP-compatible integrations such as Claude and Gemini appear to handle token expiration gracefully by automatically performing background re-authentication, whereas Copilot Studio currently does not demonstrate the same behavior
Specific questions/request for Microsoft

Why does Copilot Studio’s MCP client not attempt automatic re-authentication when the Salesforce OAuth token expires?
Is there a Copilot Studio configuration or setting available to enable automatic token refresh handling for MCP integrations?
Is this a known limitation/issue within Copilot Studio MCP integrations, and if so, is there an available fix or roadmap timeline?
I have the same question (0)
  • lbendlin Profile Picture
    8,711 Super User 2026 Season 1 on at
     

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 639

#2
Vish WR Profile Picture

Vish WR 293

#3
Haque Profile Picture

Haque 216

Last 30 days Overall leaderboard