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 / Power BI MCP connector...
Copilot Studio
Suggested Answer

Power BI MCP connector disconnects in Copilot Studio

(1) ShareShare
ReportReport
Posted on by 42
Created a Power BI MCP connector in Copilot Studio, but the connection keeps getting disconnected. The child agent reports it was not able to retrieve data from the Power BI semantic model. I keep checking if it is connected before running my queries.
I have the same question (0)
  • Suggested answer
    sannavajjala87 Profile Picture
    522 Super User 2026 Season 1 on at
    Hi,
    This sounds like one of three common issues: authentication, permissions, or the fact that the Power BI MCP connector is still in preview.
    A few things to check:
    Reconnect the connector
    Remove the existing Power BI MCP connection.
    Create a new connection.
    Save and republish the agent before testing again.
    Verify permissions
    Ensure the account used by the connection has access to the Power BI workspace, semantic model, and underlying dataset.
    Confirm the semantic model can be queried directly in Power BI.
    Check if the connection is expiring
    If it disconnects shortly after being created, it may be an authentication/token issue rather than a problem with your prompt.
    Test with a simple query
    Instead of a complex prompt, ask for something simple (for example, retrieve a small number of rows or a basic aggregation) to confirm the connector is working.
    Review agent diagnostics
    Check the agent run history and connection details for any authentication or authorization errors.
    Since the Power BI MCP connector is currently in preview, intermittent connection issues and unexpected disconnects can occur. If everything is configured correctly and the connection continues to disconnect, it may be a platform issue rather than a configuration problem.
    A couple of questions that may help narrow it down:
    Does the connection disconnect after a certain period, or immediately after you run a query?
    Is the semantic model in a Power BI workspace that you own, or is it shared with you?
  • Suggested answer
    11manish Profile Picture
    3,345 on at
    Since the connection repeatedly disconnects despite being reconnected, and the child agent reports it cannot retrieve data from the semantic model, this is likely due to one of the following:
    • Expired or invalid authentication tokens.
    • Missing Build permission on the semantic model.
    • A temporary issue or limitation with the Power BI MCP connector.
    • A bug in the current Copilot Studio MCP implementation.
    If you've already confirmed permissions, licensing, and recreated the connection, I'd recommend opening a Microsoft Support ticket.
  • YJ-02010636-0 Profile Picture
    42 on at

    Thanks for the suggestions. A Microsoft Support ticket has already been raised for further investigation.

    To answer your questions:


    • The connection does not disconnect immediately after a query. It remains connected initially, but disconnects after a few hours.

    • The semantic model is hosted in a Power BI workspace that I own.

    •  

    For authentication, I created an Azure App Registration and configured Power BI delegated permissions. App-only permissions are not an option in our environment, as tenant-level permissions are not permitted. I followed this tutorial and also have my refresh URL in place: https://www.youtube.com/watch?v=oc4bFzL4p3s

    Given that the connection consistently drops after a period of time, I'm wondering whether this could be related to token refresh/expiration handling in the current Power BI MCP connector implementation.

  • Suggested answer
    Valantis Profile Picture
    6,748 on at
     
    Your diagnosis is right. OAuth access tokens typically expire after 1 hour (Entra ID default). If the Power BI MCP connector doesn't handle token refresh automatically, the connection drops silently after expiry.

    For the custom connector with delegated permissions, the connector needs a refresh token flow configured. Check your connector definition: in the Security tab, make sure Refresh URL is set and the scope includes offline_access (this is what grants refresh token issuance). Without offline_access in the scope, Entra ID won't issue a refresh token and the connection has no way to extend itself after the access token expires.

    If offline_access is already in scope and the refresh URL is set but it still drops, the token refresh itself may be failing silently. Check the connector's connection details in Power Automate for any auth errors logged after the drop.

    Since you already have a support ticket open, include the exact time the connection drops and confirm whether offline_access is in your connector's OAuth scope. That's the most actionable piece of info for the support team.
     
      Best regards,

    Valantis   ✅ If this helped solve your issue, please Accept as Solution so others can find it quickly.

    ❤️ If it didn’t fully solve it but was still useful, please click “Yes” on “Was this reply helpful?” or leave a Like :).

    🏷️ For follow-ups  @Valantis.

    📝 https://valantisond365.com

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 249

#2
11manish Profile Picture

11manish 208

#3
sannavajjala87 Profile Picture

sannavajjala87 168 Super User 2026 Season 1

Last 30 days Overall leaderboard