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 / Access issues for shar...
Copilot Studio
Suggested Answer

Access issues for shared Copilot Studio agent using Power Automate + SQL connector

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I’ve built a Copilot Studio agent that uses Power Automate flows, and the flows in turn connect to a SQL connector to fetch data.
When I publish the agent to Microsoft Teams and share it with other users by adding them as viewers (and sharing the Teams channel link), they are able to access and interact with the agent. However, when the agent triggers a flow, those users are prompted to“Manage connections”. When they try to do so, they get an error indicating that they don’t have access to the environment.
My question is:

  • Is sharing the agent in Teams sufficient, or
  • Do users also need some level of access to the Power Platform environment where the flows and SQL connections reside (even if they are only consuming the agent and not editing anything)?
 

I’d like to understand the minimum required environment / connection access for end users when an agent uses Power Automate flows with SQL connectors.

I have the same question (0)
  • Suggested answer
    Sayali-MSFT Profile Picture
    Microsoft Employee on at
    Hello,

    Q.1 No — sharing the Copilot agent in Teams is not enough.
    Q.2 Yes — users must have access to the Power Platform environment AND to the SQL connection used by the flows.

    This is why your users are seeing “Manage connections” → “You do not have access to this environment”.

    This is expected behavior when:
    • A flow runs in an environment the user cannot access
    • The SQL connector is using a user‑based or shared connection
    • The Copilot agent triggers a flow that requires authentication

     

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 277

#2
11manish Profile Picture

11manish 206

#3
sannavajjala87 Profile Picture

sannavajjala87 156 Super User 2026 Season 1

Last 30 days Overall leaderboard