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 / Required permissions f...
Copilot Studio
Answered

Required permissions for run only user to run flow with their creds

(1) ShareShare
ReportReport
Posted on by 2
I have an agent that calls a flow, and asks for permissions to use the run as user account
It successfully creates a connection for the user
 
 
The connection then Fails
 
 
When trying link the user to the flow in connection manager it fails out with insufficent permissions 
 
I assume this is Enviroment level permissions that are required, but im not having any luck figuring out what those permissions are. Does anyone know the base permission requirements here?
This is a managed enviroment where we put IT only created agents\apps\flows so i dont want to give more rights then they need to just execute the flow as themselvs and be able to connect to outlook\sharepoint as their user account.
Categories:
I have the same question (0)
  • Verified answer
    Vish WR Profile Picture
    3,270 on at
     
    For the "Insufficient Permissions" error for run-only users in a managed environment, apply these three core requirements:

    1. Environment Level
     
    Users need the Environment User security role. This provides the base permission to access the environment.
     
    Note: If you use a custom role instead, ensure it has Read access to the Process, Connection Reference, and Environment Variable tables.
     
    2. Flow Level
     
    On the Flow's details page, click Edit in the Run-only users tile:
     
    Add the specific users or security groups.
     
    Set the connections (SharePoint, Outlook, etc.) to "Provided by run-only user". This forces the flow to use their credentials rather than the creator's.
     
    3. Data Access Level
     
    The user must have independent access to the data the flow touches:
     
    SharePoint/Outlook: Proper O365 licensing and site/folder permissions.
     
    Dataverse: A security role with Read, Append, and AppendTo permissions for any tables the flow interacts with.

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 660

#2
Vish WR Profile Picture

Vish WR 301

#3
Haque Profile Picture

Haque 228

Last 30 days Overall leaderboard