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

Community site session details

Session Id :
Copilot Studio - Model Context Protocol
Unanswered

Copy of examples and copilot text for desktop

(1) ShareShare
ReportReport
Posted on by 6
The Copilot desktop application doesn't copy examples and text correctly, but if I use it in the Edge browser, it works fine. Any solution?
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    50,279 Super User 2025 Season 2 on at
    Copy of examples and copilot text for desktop
     
    please provide more details and pictures and details of what works versus does not means including messages, and what it does etc.
     
    Cheers
     
     
  • CU01101548-0 Profile Picture
    6 on at
    Copy of examples and copilot text for desktop
    I mean, when I want to copy something that Copilot wrote, it doesn't copy very well, but it doesn't matter.
  • CU01101548-0 Profile Picture
    6 on at
    Copy of examples and copilot text for desktop
    No, you didn't understand when I tell you to give me an example, for example an HTML code, you expand it like in a box, for example, and the copy button doesn't work well. You have to select the code from the box and copy it, whereas in the browser version the copy button works fine.
  • Suggested answer
    DAnny3211 Profile Picture
    132 on at
    Copy of examples and copilot text for desktop
    Hi,
    
    The issue you're encountering with OAuth2.0 in your custom MCP server setup seems to stem from how Copilot Studio handles token persistence after the initial authentication. While the OAuth "dance" completes and the `initialize` call includes a valid Bearer token, subsequent calls—such as `tools/list`—fail to include it, resulting in authentication errors.
    
    Here are a few points to consider:
    
    1. **Token Endpoint Correction**: In your Swagger definition, the `tokenUrl` is currently set to the authorization endpoint:
       ```yaml
       tokenUrl: https://login.windows.net/common/oauth2/authorize
       ```
       This should be:
       ```yaml
       tokenUrl: https://login.microsoftonline.com/common/oauth2/token
       ```
       The `authorize` endpoint is used for user consent, while the `token` endpoint is where the access token is actually retrieved.
    
    2. **Scope Configuration**: Ensure that the scope `https://graph.microsoft.com/.default` is correctly configured in Azure Entra ID and granted to the application. Also, verify that the token returned includes this scope.
    
    3. **Copilot Studio Token Handling**: According to [Microsoft's documentation](https://learn.microsoft.com/en-us/microsoft-copilot-studio/mcp-add-existing-server-to-agent), Copilot Studio should automatically attach the Bearer token to all subsequent MCP calls. If this doesn’t happen, it may be due to:
       - A misconfigured redirect URI.
       - The token not being stored or refreshed correctly.
       - A limitation in how Copilot Studio handles OAuth2.0 for streamable MCP connectors.
    
    4. **Connector Setup**: If you created the connector via UI rather than Swagger code, ensure that the security definitions are properly bound to the operations. Sometimes UI-generated connectors may not fully respect the OAuth2.0 flow unless manually adjusted.
    
    5. **Debugging**: Try inspecting the failing requests using a proxy or logging middleware to confirm whether the `Authorization: Bearer` header is present. If it's missing, Copilot Studio may not be binding the token correctly to the session.
    
    Please verify if this response was helpful.
    
    Thanks and best regards,  
    Daniele  
    *Note: This response was prepared with support from Copilot to ensure clarity and completeness.*
  • Michael E. Gernaey Profile Picture
    50,279 Super User 2025 Season 2 on at
    Copy of examples and copilot text for desktop
     
    Again, I will ask you to post pictures as my first request. If that's not possible, then I cannot help you, I am sorry.

    If these suggestions help resolve your issue, Please consider Marking the answer as such and also maybe a like.

    Thank you!
    Sincerely, Michael Gernaey

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Copilot Studio

#1
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 523 Super User 2025 Season 2

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 378 Super User 2025 Season 2

#3
DAnny3211 Profile Picture

DAnny3211 132

Last 30 days Overall leaderboard