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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / sharing a flow with 'R...
Power Automate
Suggested Answer

sharing a flow with 'Run-only users' is not enough to run it

(1) ShareShare
ReportReport
Posted on by 8
Hello,
I have a flow triggered by selecting an item in a Sharepoint list. For some reason I was not able to share this flow with any user (tried with 3 users). The panel when you start a flow is no loaded but trying to be loaded for ever. The solution is in a sandbox environment and the flow has some environment variables. If I don't use the environment variables, those users can run the flow via Run-only users permissions. But nothing to do including the environment variables in the flow. Any suggestions? Thank you in advance.
 
Categories:
I have the same question (1)
  • Suggested answer
    Riyaz_riz11 Profile Picture
    3,893 Super User 2025 Season 2 on at
    Hi,
     
    Option 1: Grant Environment Variable Access
    Go to Power Platform Admin Center
    Navigate to your sandbox environment
    Find your environment variables under "Data" → "Environment variables"
    Share each environment variable with the users (give them "User" role)
    Then try sharing the flow again
     
    Option 2: Use a Different Approach for Config Values
    Instead of environment variables, try:
    Store config values in a SharePoint list (works way better for sharing)
    Use a simple "Get items" at the start of your flow
    Everyone with list access can run the flow
     
    Option 3: Connection Reference Fix
    Sometimes it's actually the connection references causing issues:
    Check if your environment variables reference connections
    Make sure shared users have access to those connections too
    Try recreating the connections in the sandbox
     
    Option 4: Export/Import Workaround
    This is what I usually end up doing:
    Export your flow as a package
    Replace environment variables with static values or SharePoint list lookups
    Import as a new flow
     
    If I have answered your question, please mark it as the preferred solution ✅ . If you like my response, please give it a Thumbs Up 👍.
    Regards,
    Riyaz
  • CU25091001-0 Profile Picture
    8 on at
    Hello Riyaz,
     
    First of all I'm sorry for my delayed answer. And thank you Riyaz for your answer.
    I found the solution to this use case by: a) granting access to the flow via run-only users and b) granting the user 'Basic user' role at the Power Platform environment level as admin. Keep in mind (this was my mistake) that it takes some hours to be effective the role permissions granted there.
     
    Regards
  • Suggested answer
    David_MA Profile Picture
    12,982 Super User 2025 Season 2 on at
    The key to your problem has to do with the trigger, which you said is triggered by selecting an item in a SharePoint list. That trigger only works when the flow is in your default environment.
  • CU25091001-0 Profile Picture
    8 on at
    hello David,
     
    this is currently working in a non default environment. This type of trigger can work out of the default environment using JSON to format the selected column (for instance here https://www.youtube.com/watch?v=CsV-9gJHm-A). Believe me, you can trigger that in a different environment.
    Regards.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard